Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant