-
Notifications
You must be signed in to change notification settings - Fork 14
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
Adds a "Securing Mechanisms" section to the directory #30
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
424c297
Add section on "Securing Mechanisms".
msporny 79a9ebb
Move vc-jose-cose into "Securing Mechanisms" section.
msporny fbd6c63
Rename status-list-2021.json -> bitstring-status-list.json.
msporny 9dece38
Add CR-ready draft for VC Specifications Directory.
msporny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
specifications/status-list-2021.json → specifications/bitstring-status-list.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "Status List (v2021)", | ||
"name": "Bitstring Status List", | ||
"summary": "A credential status list with herd privacy characteristics.", | ||
"specification": "https://w3c.github.io/vc-status-list-2021/", | ||
"specification": "https://www.w3.org/TR/vc-bitstring-status-list/", | ||
"category": "credentialStatus", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "BBS Cryptosuite (v2023)", | ||
"summary": "Securing Verifiable Credentials with Selective Disclosure using BBS Signatures.", | ||
"specification": "https://www.w3.org/TR/vc-di-bbs/", | ||
"category": "proof", | ||
"category": "securing", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
"maintainerWebsite": "https://www.w3.org/groups/wg/vc", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "The Data Integrity ECDSA Cryptosuites v1.0", | ||
"summary": "Achieving Data Integrity using ECDSA with NIST-compliant curves.", | ||
"specification": "https://www.w3.org/TR/vc-di-ecdsa/", | ||
"category": "proof", | ||
"category": "securing", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
"maintainerWebsite": "https://www.w3.org/groups/wg/vc", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "The Data Integrity EdDSA Cryptosuites v1.0", | ||
"summary": "Achieving Data Integrity using EdDSA with twisted Edwards elliptic curves.", | ||
"specification": "https://www.w3.org/TR/vc-di-eddsa/", | ||
"category": "proof", | ||
"category": "securing", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
"maintainerWebsite": "https://www.w3.org/groups/wg/vc", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "JSON Web Signatures for Data Integrity Proofs", | ||
"summary": "This document has been withdrawn due to resolutions from the working group.", | ||
"specification": "https://www.w3.org/TR/vc-jws-2020", | ||
"category": "proof", | ||
"category": "securing", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
"maintainerWebsite": "https://www.w3.org/groups/wg/vc", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Securing Verifiable Credentials using JOSE and COSE", | ||
"summary": "This specification defines how to secure credentials and presentations conforming to the Verifiable Credentials Data Model, with JSON Object Signing and Encryption (JOSE), and CBOR Object Signing and Encryption (COSE).", | ||
"specification": "https://www.w3.org/TR/vc-jose-cose/", | ||
"category": "securing", | ||
"maintainerEmail": "[email protected]", | ||
"maintainerName": "W3C Verifiable Credentials Working Group", | ||
"maintainerWebsite": "https://www.w3.org/groups/wg/vc" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It seems like it would be useful for this table to list the media types,
proof.type
s andproof.cryptosuite
s that each securing mechanism handles. Otherwise, if you get a VC you don't understand, you have to read all of the specifications to figure out where it's defined.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 vc-jose-cose securing mechanism doesn't use proof at all, so at least, I wouldn't phrase it this way.
When using JOSE, the algorithms registered at https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms apply. When using COSE, the algorithms registered at https://www.iana.org/assignments/cose/cose.xhtml#algorithms apply.
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.
Related to the question of "what version" and "what securing mechanism"... this issue on media types: w3c/vc-data-model#1363 (comment)
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.
For JOSE/COSE, the
type
andcryptosuite
columns would be "N/A". I'd probably use two separate tables (media type and then JSON-LD proof types) if I were dictator, to avoid needing those "N/A" values, but if the WG wants to use a single table, you can make it work.Re the "profile" field of the media type, https://mimesniff.spec.whatwg.org/#mime-type-miscellaneous has the notion of the "essence" of the mime type--just the group/type pair without parameters--which seems appropriate to use here. I don't remember the IETF version of that notion.
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 is https://datatracker.ietf.org/doc/html/rfc7252#section-12.3
media type parameters can come from the top level or the subtype....
text
withcharset
for example.Since W3C is living under
application/
as a top level, and between+json
as a structured suffix, the media type parameter considerations we have for our requested registration are impacted by every possible factor that you can have in a media type... top level, sub type 1, sub type n, and structured suffixes.