w3c / vc-data-integrity

W3C Data Integrity Specification
https://w3c.github.io/vc-data-integrity/
Other
41 stars 18 forks source link

Add sec:cryptosuiteString data type to vocabulary #161

Closed msporny closed 1 year ago

msporny commented 1 year ago

It seems like we have consensus on the naming pattern that will be used for cryptosuites: https://github.com/w3c/vc-di-ecdsa/pull/23

The one downside for this naming pattern is the number of characters that are used (around of 15 characters) and how they interact w/ semantic compression mechanisms like CBOR-LD (badly, not easy to compress non-repeating text strings). This is a problem for small payload sizes, such as VCs sent over NFC and QR Codes, where the byte payload has to stay under around 395 bytes for a QR Code payload to be read on an average retail optical scanner.

Adding a sec:cryptosuite datatype will allow us to compress the 15 characters down to single byte values for the cryptosuite type. This issue is to track adding the data type to the specification and the vocabulary.

msporny commented 1 year ago

PR #162 has been raised to address this issue. This issue will be closed if PR #162 is merged.

msporny commented 1 year ago

PR #162 has been merged, closing.