Skip to content

Verify API returning valid for a tampered verifiable credential #58

Closed Answered by waltkb
rukshanfonseka asked this question in Help
Discussion options

You must be logged in to vote
"@context" : [ "https://www.w3.org/2018/credentials/v1", "https://w3id.org/security/suites/jws-2020/v1" ]

Hi, your context is just for the base credential (https://www.w3.org/2018/credentials/v1) and the proof attribute (https://w3id.org/security/suites/jws-2020/v1), you have to specify a @context that includes the required attributes of the credentialSubject. Right now, credentialSubject is not being used for the signature.

You can also use the JWT signature format instead of LD-Signature. This signature format works on the whole JSON of the credential.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by taminobaumann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants