Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Generate and validate SRI hashes #456

Open
@decentralgabe

Description

          We will also need to validate that a VC that's setting the `credentialSchema.digestSRI` property, has a value which matches against the locally calculated digestSRI. This typically involves dereferencing `credentialSchema.id`, and then following the spec of SubResource Integrity. 

I would prefer that we do that in this PR, so that the same mechanism is used for every VC (instead of special casing VCs who's type property is JsonSchemaCredential). That said, I'd understand leaving that for another PR. Up to you.

Originally posted by @andresuribe87 in #455 (review)

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