-
Notifications
You must be signed in to change notification settings - Fork 13
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
Error in resolving service in pydid.deserialize_document() #76
Comments
I sympathize with the issue and will continue to work to address it from ACA-Py and the mediator service. However, this is the wrong place to fix this issue. PyDID is designed to adhere to spec as closely as possible, with the occasional minor concession. According to Aries RFC 67,
I'll amend that for clarity by using the updated terms and correcting "did key references" to "verification method references." A fix is necessary downstream rather than in this library. If, for the sake of backwards compatibility, we decide to accept Given the above, I'm going to close this issue -- I will continue the conversation in the ACA-Py and mediator service repos. If you feel my response hasn't adequately addressed your concerns, feel free to reopen this issue to discuss further. |
@dbluhm I understand. How does Indicio Public mediator address the issue? It returns I am including the patch as an image as this might not be the right place to apply the patch. However, If developers are stuck (isn't our goal to make things work for developers?), they can apply this patch, while the issue is resolved in the correct place. I know this is a hacky fix, but it might unblock some developers while we await the proper fix. What is the version of How does it work for that mediator? |
Protocol level differences between |
Given the following document:
Current Behaviour:
The service is
UnknownService
.Expected Behaviour, service should be:
The above causes a problem in Aries Mediator Service, see:
openwallet-foundation/didcomm-mediator-service#79
The following document works:
The difference is the part after the
#
in theroutingKeys
:I manually patched
pydid
to add#z6MkghJ8qgeLgKTNDpyMuzAk28736HzUhkQffNMriAjyLExk
to theroutingKeys
(before callingreturn super(DIDDocument, cls).deserialize(value)
inpydid/pydid/doc/doc.py
and it works.The Indicio Public Mediator returns routingKeys with
did:key:val#val
format. However,aca-py
returns keys asdid:key:val
@dbluhm request a fix for this to ensure the mediation is not broken for aca-py version
0.10.3
(and possibly other versions).The text was updated successfully, but these errors were encountered: