-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service from create_peer_did_numalgo_2 serde to UnknownService #60
Comments
Here is a sample script demonstrating my issue. I'm looking into making an appropriate change that will resolve it.
OUTPUT
|
Updating pydid to the current
|
By providing an empty Success!
|
What
After providing this dictionary as the
service
parameter tocreate_peer_did_numalgo_2()
, the DIDDocument that is returned has an object of typeService
.After that returned DIDDocument is serialized and deserialized, the
Service
object becomes aUnknownService
object, when it should become aDIDCommService
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.The text was updated successfully, but these errors were encountered: