Skip to content
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

Contexts need updated to produce valid JSON-LD DID Documents #217

Open
kdenhartog opened this issue Jul 14, 2021 · 1 comment
Open

Contexts need updated to produce valid JSON-LD DID Documents #217

kdenhartog opened this issue Jul 14, 2021 · 1 comment

Comments

@kdenhartog
Copy link

Not sure if this should be filed here or in https://github.com/decentralized-identity/sidetree/ so going to post in both and cross link.

Due to recent changes in the DID Core context file, we now need to make sure that the key suite contexts are getting added to the outputted DID Document on resolution. In ION specifically, DID Documents are limited to JWKs so I believe we should be able to add the URL https://w3id.org/security/suites/jws-2020/v1 for LDS-JWS2020 which includes the context definition for JsonWebKey2020.

For service endpoints, we may need to allow the service endpoint to pass a context URL in as well in the internal sidetree data model so that the contexts are properly working. However, this introduces some difficulties on preventing garbage-in-garbage-out scenarios and more thought will be needed on it.

Cross post link: decentralized-identity/sidetree#1144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants