w3c / vc-data-integrity

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

Include `digestMultibase` in data integrity context #317

Open PatStLouis opened 6 days ago

PatStLouis commented 6 days ago

The resource integrity section refers to the digestMultibase property and its usage, however this property is not present in the data integrity context. It is, however, present in the vcdm 2.0 context, as described by the following text:

JSON-LD context authors are expected to add digestMultibase to contexts that will be used in documents that refer to other resources and to include an associated cryptographic digest. For example, the Verifiable Credentials Data Model v2.0 base context (https://www.w3.org/ns/credentials/v2) includes the digestMultibase property.

I want to suggest adding the digestMultibase to the data integrity context, keeping the same definition as is in the vcdm 2.0 context.

"digestMultibase": {
  "@id": "https://w3id.org/security#digestMultibase",
  "@type": "https://w3id.org/security#multibase"
}

Any particular reason it was not included?

dlongley commented 6 days ago

This was discussed in #241 with a resolution via #264. I recommend we close this as a duplicate; please see the discussion on #241.