-
Notifications
You must be signed in to change notification settings - Fork 72
Fix HMAC JWK import key "use" check #413
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
Conversation
|
Just out of curiosity, if usages are empty, what do we do? Sorry :) |
The language reads as don't throw to me. Does it make sense? No, but I probably lack the original context and idea behind these checks. |
|
not only don't throw, but also don't check for the use field of JWK IIUC I think I opened Pandora's Box with the JWK use field discussion. Oh well. |
Yeah. |
|
I'd have put something in the lines "the use field of jwk should be consistent with the usage field" |
twiss
left a comment
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.
👍 Thanks for the PR!
The language reads as don't throw to me. Does it make sense? No, but I probably lack the original context and idea behind these checks.
I also don't think it makes sense but I'll open a separate issue for that.
SHA: a4cd8e0 Reason: push, by twiss Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Refs #412
Preview | Diff