Skip to content
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 opened this issue Aug 29, 2023 · 0 comments
Open

Generate and validate SRI hashes #456

decentralgabe opened this issue Aug 29, 2023 · 0 comments

Comments

@decentralgabe
Copy link
Member

          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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant