-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor challenge verification (#580)
* Break up token parsing and proof of possession verification Signed-off-by: Nathan Smith <[email protected]> * Group proof of possession logic by challenge type There are two challenges a caller can use to prove they possess their private key: - Submit a CSR - Sign the subject or email from their ID token Previously the logic to verify these two types of challenges was interweaved. This work splits the verification into two different branches and groups the logic of each type of verification together. Signed-off-by: Nathan Smith <[email protected]>
- Loading branch information
Showing
4 changed files
with
62 additions
and
71 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