-
Notifications
You must be signed in to change notification settings - Fork 206
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
Fix the Service's structure of DIDCommMessaging #548
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1697,17 +1697,12 @@ <h4>DIDCommMessaging</h4> | |
"https://www.w3.org/ns/did/v1", | ||
"https://didcomm.org/messaging/contexts/v2" | ||
], | ||
... | ||
"type":"DIDCommMessaging", | ||
"serviceEndpoint":"http://example.com/path", | ||
"accept":[ | ||
"didcomm/v2", | ||
"didcomm/aip2;env=rfc587" | ||
], | ||
"routingKeys":[ | ||
"did:example:somemediator#somekey" | ||
] | ||
... | ||
"serviceEndpoint": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Current DIDComm V2 spec says that However, in this example (and also Peer DID method specification), There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry, I was looking at DIDComm v2.0 but the latest stable version is v2.1, which allows for the encoding of an object. That explains why all other specs were 'wrong' :D |
||
"uri": "http://example.com/path", | ||
"accept":[ "didcomm/v2", "didcomm/aip2;env=rfc587" ], | ||
"routingKeys":[ "did:example:somemediator#somekey" ] | ||
} | ||
} | ||
</pre> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not exactly related to this PR, but I think it's worth noting that this URL returns 404. It seems this issue was addressed some time ago (see decentralized-identity/didcomm.org#9) but somehow the link is broken again.
BTW the context file located at https://github.com/decentralized-identity/didcomm.org/blob/main/docs/messaging/contexts/v2/index.json seems to be using the old format.