-
Notifications
You must be signed in to change notification settings - Fork 208
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
Define sidetree context #19
Comments
Add support for |
Defined here: https://identity.foundation/sidetree/docs/spec/#context @msporny I would like to set an example for external definitions that are included in the registry, whats the best way for me to do that? use |
Yeah, that would probably be a good place to start -- "DIF Context" sounds a bit iffy... do you mean DIF Vocabulary? In either case "DIF Context" or "DIF Vocabulary", I suggest DIF doesn't have just one of those, but multiple... in the event that DIF expands its scope of work/WGs greatly, you don't want to be stuck with just one JSON-LD Context or Vocabulary at DIF. Let me know when there is a PR to look at, happy to do a review. |
Per the decisions on the key representation calls, there's not a need for publicKeyHex in the DID specification or registries, as it semantically duplicates both JWK and publicKeyBase58. Please don't create PRs to reintroduce publicKeyHex when it is unnecessary and hinders interop. |
My recollection of the key format calls is NOT that we agreed that JWK and publicKeyBase58 would be the two supported formats, but that in fact we agreed that for each key type we would support JWK and one additional format (whichever is most popular/common for the given key type). Currently the DID Core spec says in 7.3. Public Keys:
We have NOT made a final decision what the two supported formats for each key type would be. See the following note in the spec:
I am under the impression that in the communities that use secp256k1-koblitz and secp256r1, hex encoding is more common than Base58 encoding. I have argued this during one of the key formats calls (see minutes here). Therefore I would be in favor of adding |
Given the heavy use of |
irrelevant |
Related: decentralized-identity/sidetree#362
I propose we create sidetree json-ld context defintions, and host them here... similar to the discussion regaring BTCR contexts...
We should make a single sidetree context, to encourage sidetree method implementers to help eachother... For properties like
recoveryKey
which might be useful to other methods, we should define them first in the sidetree context, and then move them to to did core, only if requested.recoveryKey
is not needed for interop.... but defining a sidetree context will be a good way to show the community how to handle extensions correctly.Examples:
https://docs.element-did.com/contexts/sidetree/sidetree-v0.1.jsonld
https://docs.element-did.com/contexts/sidetree/sidetree-v0.1
The text was updated successfully, but these errors were encountered: