-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add vocab definitions for secretKeyJwk and secretKeyMultibase #148
Conversation
dmitrizagidulin
commented
Aug 4, 2023
- Addresses issue privateKeyMultibase vc-di-eddsa#4
- Addresses @OR13's comment https://github.com/w3c/vc-data-integrity/pull/135/files#r1279821900
See also the comments on #135 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor range fix, otherwise LGTM.
vocab/security/vocabulary.yml
Outdated
- id: secretKeyMultibase | ||
label: Secret key multibase | ||
domain: sec:Multikey | ||
range: sec:multibase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sec:multibase
class does not exist in the current vocabulary (unless I miss it in the maze of PR-s). Note that, for a class, it should be sec:Multibase
(ie, capital 'M')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/w3c/vc-data-model/blob/main/contexts/credentials/v2#L245
^ related (and in the vocabulary already).
I agree regarding the capitalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sec:multibase
isn't a class, it's a datatype, like xsd:string
. This needs the same consideration as sec:cryptosuiteString
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sec:multibase
isn't a class, it's a datatype, likexsd:string
. This needs the same consideration assec:cryptosuiteString
.
Then the capitalization makes sense as is, here is another reference to data types in the v2 context for comparison:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sec:multibase
isn't a class, it's a datatype, likexsd:string
. This needs the same consideration assec:cryptosuiteString
.
Ah! O.k., understood; the missing capitalization is fine then. However, just as for cryptosuite, the datatype must be properly defined in the spec and then the vocabulary yml file must be updated.
I would propose that this PR would include the datatype definitions in the spec and when all these types of PRs are merged I will take care of incorporating the datatype definitions into the vocabulary specification itself in a separate PR.
0350381
to
af001fe
Compare
Normative, multiple reviews, changes requested and made, objections clarified until there were no objections remaining, merging. |