-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for JWK Sets #29
Conversation
raise JWSSignatureError() | ||
|
||
except JWSSignatureError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hesitant to change this, but why were you catching JWSSignatureError
here, and then re-raising a generic JWSError
with text explaining it's a signature failure? Since JWSSignatureError
is already a subclass of JWSError
, why not just let the JWSSignatureError
propagate up?
Current coverage is 95.51%@@ master #29 diff @@
==========================================
Files 7 7
Lines 454 468 +14
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 433 447 +14
Misses 21 21
Partials 0 0
|
@mpdavis Does this look okay? Any changes you'd like to see? |
@bjmc My apologies for taking so long to get to these. lgtm. |
Allows passing multiple possible keys in the form of a JWK set to
jws.verify()