-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
problem: retrieve_matching_jwk breaks when multiple keys are returned
When looping over the keys in retrieve_matching_jwk it needs to first skip over any key whose kid does not match BEFORE it checks if the alg matches. Otherwise at least one of the keys will not match and SuspiciousOperation will be raised for every response.
- Loading branch information
1 parent
32fecfe
commit bc94dd8
Showing
2 changed files
with
8 additions
and
3 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