-
Notifications
You must be signed in to change notification settings - Fork 239
feat: upgrade jose dependency to v6 #486
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,8 +14,6 @@ function resolveAlg(jwk) { | |
| switch (jwk.crv) { | ||
| case 'P-256': | ||
| return 'ES256'; | ||
| case 'secp256k1': | ||
| return 'ES256K'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add test coverage for this removal ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was reluctant to add a spec for this specific unsupported algo (also there was no file for utils spec). |
||
| case 'P-384': | ||
| return 'ES384'; | ||
| case 'P-521': | ||
|
|
||
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.
ES256Kis still allowed in config.js.So
ES256Kis allowed first, but fail later when the signing key is resolved.Is this expected ?
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.
No, this is not expected.
I've removed the
ES256Kfrom the list of supported algorithms inconfig.js.