Verify a Verifiable Presentation
⚠️ Before you begin...
The cryptographic verification in this tutorial will be based on JWT proof of a previously-created Verifiable Presentation.
If you have the generated Verifiable Presentation stored, pass it to the
cat pres.txt | veramo presentation verify
If the verification is successful, you'll receive this response:
Presentation verified successfully
If you belive you did everything right(created a verifiable presentation and you did not tamper it), and for some reason you're getting
Presentation could not be verified
- First, make sure you are using a
- Second, Change veramo cli version to
@veramo/[email protected] -gas previous versions cause few issues in verification. This will override the previous version you have installed.
- Run command below to verify your JWT presentation.
veramo presentation verify -r <enter-the-JWT-here>