-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cryptographic Key "Support" vs Key "Validation" #37
Comments
You raise a good point, but in seeking the clarification itself you've raised an interesting statement that could be interpreted in two ways (which I think reinforces the point).
That's not true. :) did:cheqd does validate if they are valid keys, but only in some scenarios and not others. Here's an explainer:
So the point you're making is if the kind of validation a DID method does is like Scenario 1 above is that "support" or "validation" vs Scenario 2. I would propose the following:
The reason for having a distinction between 1 and 2 above is that some DID methods might not even allow for publishing anything besides actively validated keys (e.g., in Scenario 2, the developer would not be able to publish a definition of a BBS+ in a DIDDoc section, because the DID method doesn't allow it.) |
Hi all! Wanted to raise an issue regarding the classification of "supporting" a particular key / cryptographic primitive.
Taking a look at the "non-ledger" DID Traits (
did:web
,did:webvh
, etc), it shows that they support all of the cryptographic curves/algorithms. I guess I have a bit on an issue with this, because what this is saying is that you can insert any arbitrary key into these DID Documents, but there is not any additional validation against those keys.With something like
did:cheqd
, we also support all the key types in the same way as did:web, did:webvh (as they can be added into a DID Document arbitrarily), but then there's a subsection of key types that are additionally validated against by the ledger, ensuring consensus on whether the verificationMethod is valid.I didn't want to write that
did:cheqd
supports all of the different cryptographic primitives/curves, because although it can facilitate the key types, it doesn't natively validate against them. But then equally, I don't think that did:web, did:webvh should be shown as supporting all of these keys as they don't natively provide any validation mechanism.So maybe there is an additional qualification we can add here, to differentiate between keys "supported" and keys that the infrastructure of the method conducts "validation" on? Would be keen to get people's thoughts here.
@peacekeeper @jceb @ottomorac
The text was updated successfully, but these errors were encountered: