-
Notifications
You must be signed in to change notification settings - Fork 61
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
W3 DID context omiting 'www.' is rejected #345
Comments
For context, the NZ Covid Pass specification omits this. If this is believed to be a violation of the DID spec let me know and I'll reach out to them. Otherwise, I'm quite happy to make a PR to fix - should be fairly straight forward (trying to release asap). |
Hi @oeed, Nice work on the nzcp-rust implementation. The requirement for the DID document
I don't see that the did:web method specification specifies whether a resolved did:web DID document is in JSON or JSON-LD representation (or whether that may be based on the returned HTTP header). But it does refer to the DID document file as a JSON-LD file in 2.5.1 Create (Register). Anyway, |
Thanks for the fix @clehner! |
A context of
https://w3.org/ns/did/v1
is rejected because current it only expects the context be prefixed with 'www.'.https://w3.org/ns/did/v1
redirects tohttps://www.w3.org/ns/did/v1
, so it'd be good to have both accepted.The text was updated successfully, but these errors were encountered: