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

Add vocab definitions for secretKeyJwk and secretKeyMultibase #148

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

dmitrizagidulin
Copy link
Contributor

@OR13
Copy link
Contributor

OR13 commented Aug 4, 2023

See also the comments on #135

Copy link
Member

@msporny msporny left a 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.

- id: secretKeyMultibase
label: Secret key multibase
domain: sec:Multikey
range: sec:multibase
Copy link
Member

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')

Copy link
Contributor

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

Copy link
Contributor

@dlongley dlongley Aug 8, 2023

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iherman @dlongley so, do I need to do anything in this PR, with respect to sec:multibase data type?

Copy link
Contributor

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.

Then the capitalization makes sense as is, here is another reference to data types in the v2 context for comparison:

Copy link
Member

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.

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.

@msporny
Copy link
Member

msporny commented Aug 10, 2023

Normative, multiple reviews, changes requested and made, objections clarified until there were no objections remaining, merging.

@msporny msporny merged commit 1c1547e into w3c:main Aug 10, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

6 participants