From 48c0cec43233cfbad40b9667f9afa4ed3580aed0 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sun, 10 May 2026 17:03:23 -0400 Subject: [PATCH 1/2] Deprecate `digestSri`. --- index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d6d8e47db..c90f20814 100644 --- a/index.html +++ b/index.html @@ -3143,12 +3143,19 @@

Integrity of Related Resources

- `digestSRI` + `digestSRI` (deprecated) One or more cryptographic digests, as defined by the `hash-expression` ABNF grammar defined in the [[[SRI]]] specification, Section 3.5: The `integrity` attribute. +
+Document authors are warned that `digestSRI` is deprecated and will likely be +removed in the next version of this specification. Authors are urged to use +`digestMultibase` instead because it supports a greater variety of cryptographic +hash formats, compresses well when transformed to binary formats such as +CBOR-LD, and has a more flexible extensibility model than `digestSRI`. +
From d1f6da490da1dec2cd0910d998156d4ed322484e Mon Sep 17 00:00:00 2001 From: Ivan Herman Date: Tue, 12 May 2026 05:52:53 +0200 Subject: [PATCH 2/2] Deprecate digest sri datatype vocab item (#1630) --- .gitignore | 6 +++- vocab/credentials/v2/template.html | 50 ++++++++++++++--------------- vocab/credentials/v2/vocabulary.yml | 1 + 3 files changed, 31 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 07d3b4f54..0d46bc579 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,8 @@ **/.DS_Store **/.vscode **/package-lock.json -out.html \ No newline at end of file +out.html + +vocab/credentials/v2/vocabulary.html +vocab/credentials/v2/vocabulary.jsonld +vocab/credentials/v2/vocabulary.ttl diff --git a/vocab/credentials/v2/template.html b/vocab/credentials/v2/template.html index f2075a071..109fe9357 100644 --- a/vocab/credentials/v2/template.html +++ b/vocab/credentials/v2/template.html @@ -237,8 +237,8 @@

Deprecated properties

Deprecated classes

-
-

Deprecated properties

+
+

Deprecated datatypes

@@ -252,36 +252,36 @@

Diagram description

Overview diagram of the vocabulary (without the deprecated items).

The diagram uses boxes, ellipses, and connecting lines with different "styles" (border color, end - marker, line type) to differentiate their semantic meaning; these styles identify + marker, line type) to differentiate their semantic meaning; these styles identify Property, Class, or Datatype, via the shapes used for the graph nodes, and Superclass, Domain Of, - Range, or Contains, via the styles of the connecting lines. - These style names are used in the explanation text in what follows. + Range, or Contains, via the styles of the connecting lines. + These style names are used in the explanation text in what follows.

-

- In the middle of the diagram there is a column of labeled boxes, all styled as Property. - The labels, from top to bottom, are: "credentialSchema", "credentialStatus", "credentialSubject", +

+ In the middle of the diagram there is a column of labeled boxes, all styled as Property. + The labels, from top to bottom, are: "credentialSchema", "credentialStatus", "credentialSubject", "issuer", "evidence", "refreshService", "renderMethod", "confidenceMethod", "termsOfUse", "validFrom", - "validUntil", and "holder". - On the left side of this column, there are five labeled ellipses, styled as Class. + "validUntil", and "holder". + On the left side of this column, there are five labeled ellipses, styled as Class. These are, from top to bottom, "VerifiableCredential", "JsonSchemaCredential", - "EnvelopedVerifiableCredential", "VerifiableCredentialGraph", and "VerifiablePresentation". + "EnvelopedVerifiableCredential", "VerifiableCredentialGraph", and "VerifiablePresentation". There is also a small, unlabeled circle, which serves as an intersection point for connector lines, with two pointing in, and four pointing out.

The "VerifiableCredential" ellipse is connected to the "credentialSchema", "credentialStatus", - "credentialSubject", "issuer", "relatedResource", "evidence", "refreshService", "renderMethod", - and "confidenceMethod" boxes, through connecting lines styled as Domain Of. + "credentialSubject", "issuer", "relatedResource", "evidence", "refreshService", "renderMethod", + and "confidenceMethod" boxes, through connecting lines styled as Domain Of. It is also connected to the crossing point circle with a similar connecting line, styled as Domain Of. - The "VerifiablePresentation" ellipse is connected to the crossing point circle, as well as the "holder" and - "verifiableCredential" boxes, with a similar connecting line styled as Domain Of. - The crossing point circle is connected to the "termsOfUse", "validFrom", and "validUntil" boxes with a + The "VerifiablePresentation" ellipse is connected to the crossing point circle, as well as the "holder" and + "verifiableCredential" boxes, with a similar connecting line styled as Domain Of. + The crossing point circle is connected to the "termsOfUse", "validFrom", and "validUntil" boxes with a connecting line styled as Domain Of. The "verifiableCredential" box is connected to the "VerifiableCredentialGraph" ellipse with a connecting - line styled as Range. - The "JsonSchemaCredential" ellipse is connected to the "VerifiableCredential" ellipse with a - connecting line styled as Superclass. + line styled as Range. + The "JsonSchemaCredential" ellipse is connected to the "VerifiableCredential" ellipse with a + connecting line styled as Superclass. Finally, the "VerifiableCredentialGraph" ellipse is connected to the "VerifiableCredential" and "EnvelopedVerifiableCredential" ellipses with connector lines styled as Contains.

@@ -290,19 +290,19 @@

Diagram description

"CredentialStatus", "CredentialEvidence", "RefreshService", "RenderMethod", "ConfidenceMethod", and "TermsOfUse". The Property boxes labeled as "credentialSchema", "credentialStatus", "credentialEvidence, "refreshService", "renderMethod", "confidenceMethod", and "termsOfUse" are respectively - connected to those Class ellipses, with connecting lines styled as Range. + connected to those Class ellipses, with connecting lines styled as Range.

The "CredentialSchema" ellipse is connected to one more ellipse, on the far right side of the diagram, styled as Class and labeled as "JsonSchema", with a connecting line - styled as Superclass. - This "JsonSchema" ellipse is also connected to a Property box labeled as "jsonSchema", + styled as Superclass. + This "JsonSchema" ellipse is also connected to a Property box labeled as "jsonSchema", through a connector line styled as Domain Of, and to a Datatype shape - labeled as "rdf:JSON", through a connecting line styled as Range. + labeled as "rdf:JSON", through a connecting line styled as Range.

- Finally, on the lower far right side of the diagram, there is a separate Property box labeled as - "digestSRI", connected to a Datatype shape labeled as "sriString", with a connecting line + Finally, on the lower far right side of the diagram, there is a separate Property box labeled as + "digestSRI", connected to a Datatype shape labeled as "sriString", with a connecting line styled as Range.

diff --git a/vocab/credentials/v2/vocabulary.yml b/vocab/credentials/v2/vocabulary.yml index bb7e9c57e..57b15d86b 100644 --- a/vocab/credentials/v2/vocabulary.yml +++ b/vocab/credentials/v2/vocabulary.yml @@ -201,6 +201,7 @@ datatype: label: Datatype for digest SRI values upper_value: xsd:string defined_by: https://www.w3.org/TR/vc-data-model-2.0/#the-sristring-datatype + deprecated: true see_also: - label: Subresource Integrity Metadata url: https://www.w3.org/TR/SRI/#the-integrity-attribute