-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add ES256 to JWT.ts #254
Add ES256 to JWT.ts #254
Conversation
…p into files by curve
…les as suggested by linter
…ithms, add a not for secp256r1 support of in src/VerifierAlgorithm.common.ts
…ted for u8a, temporarily commiting for now
… with secp256k1 not secp256r1
…token in package.json
@mirceanis , at least this seems reasonable. I did not have all of the tests that ES256K had since I did not have a recoverySigner and some tests seemed a bit more general like testing for multiple publicKeys so I did not include them. |
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.
Generally looks good. Thanks for this submission.
Please see my comment about EcdsaSecp256r1VerificationKey2022 and remove package-lock.json
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.
This PR looks good, the last thing to be done is to remove the package-lock.json file as we already use yarn.lock and having 2 such files can lead to undefined behavior.
I think package-lock.json should be gone now. |
# [6.9.0](6.8.0...6.9.0) (2022-10-15) ### Features * add ES256 to JWT verifier ([#254](#254)) ([86a4d23](86a4d23))
🎉 This PR is included in version 6.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is a work in progress. This should look like the final form. (ignore VerifierAlgorithm.ts and VerifierAlgorithm.test.ts because it was modified in the previous PR). I'm on the road, so I will update this when I find better internet