-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
related to: codeSomething related to the code baseSomething related to the code basestatus: accepted ✅Issue or PR is acceptedIssue or PR is acceptedtype: improvement 👍Improving existing functionality or featuresImproving existing functionality or features
Description
What
After providing this dictionary as the service parameter to create_peer_did_numalgo_2(), the DIDDocument that is returned has an object of type Service.
service = {
"type": "DIDCommMessaging",
"serviceEndpoint": self.profile.settings.get("default_endpoint"),
"accept": ["didcomm/v2", "didcomm/aip2;env=rfc587"],
}
After that returned DIDDocument is serialized and deserialized, the Service object becomes a UnknownService object, when it should become a DIDCommService object.
Why
This is needed to create a did:peer:2 did and the corresponding did_doc in way that can be encoded into secure messages (like acapy).
Success Criteria
the type string should result in the appropriate pydid.service Class to be instantiated.
Metadata
Metadata
Assignees
Labels
related to: codeSomething related to the code baseSomething related to the code basestatus: accepted ✅Issue or PR is acceptedIssue or PR is acceptedtype: improvement 👍Improving existing functionality or featuresImproving existing functionality or features