-
Notifications
You must be signed in to change notification settings - Fork 11
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
Consider use of "DID method enum" spec #72
Comments
I think this is a good idea and I love the fact it's borrowing from prior art. I will prepare a PR with this suggestion in mind. |
I have a version of this but it comes along with substantial larger changes to the openapi yaml spec. Will reference this with the larger changes. |
@peacekeeper what should answer Trust Registries that support ANY DID method? |
Good question, at the moment the DID method enum spec doesn't seem to mention this case. I suppose it would work like this:
I.e. any DID that starts with |
how does |
@darrellodonnell Sorry I meant to write I fixed it now in my comment. |
At DIF, we have a mini-spec for a data structure that can enumerate which DID methods are supported. The idea is that in addition to just listing the method names themselves, there could be a need to express support for certain "features", e.g. which networks in
did:indy
are supported, which key types indid:key
, etc.See example here:
https://github.com/decentralized-identity/did-method-enum/blob/main/spec.md#combined-example
This "DID method enum" data structure could potentially be returned by the endpoint here that expresses support for DID methods:
tswg-trust-registry-protocol/api/toip-tswg-trustregistryprotocol-v2.yaml
Line 305 in a703e4c
The text was updated successfully, but these errors were encountered: