-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: fetch attestation as part of verifyCredential (#708)
* feat: credential attestation verification helper * feat: report attestation <> credential mismatching attributes in error message * refactor!: call verifyAttested from verifyCredential * refactor!: return VerifiedCredential from verify{Credential,Presenation} * fix: verifyAgainstCredential didn't check delegation * chore: add {} to all ifs * chore: improve docstrings * test: add tests for attestation recheck
- Loading branch information
1 parent
e10398f
commit f8b54cd
Showing
6 changed files
with
324 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.