Skip to content

Example of JsonSchemaCredential v2 has incorrect digestSRI #257

@lotharking

Description

@lotharking

According to the spec, the digestSRI for https://www.w3.org/ns/credentials/json-schema/v2.json should be sha384-S57yQDg1MTzF56Oi9DbSQ14u7jBy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCrW.
However, when recalculating the hash directly from the fetched resource using the commando:

curl -s https://www.w3.org/ns/credentials/json-schema/v2.json | openssl dgst -sha384 -binary | openssl base64 -A

I consistently get sha384-FdPKzKLFNWo+3ZqV9vjuY8aNQk+636lvGRKKNzAfy93Q9jf+lNHD8j91g/KHWCBX.
This suggests the value in the spec may be based on an older version of the resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions