Skip to content
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

Merged
merged 71 commits into from
Oct 15, 2022
Merged

Conversation

bshambaugh
Copy link
Contributor

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

…ithms, add a not for secp256r1 support of in src/VerifierAlgorithm.common.ts
@bshambaugh
Copy link
Contributor Author

@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.

Copy link
Member

@mirceanis mirceanis left a 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

src/JWT.ts Outdated Show resolved Hide resolved
Copy link
Member

@mirceanis mirceanis left a 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.

@bshambaugh
Copy link
Contributor Author

bshambaugh commented Oct 14, 2022

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.

@mirceanis mirceanis merged commit 86a4d23 into decentralized-identity:master Oct 15, 2022
uport-automation-bot pushed a commit that referenced this pull request Oct 15, 2022
# [6.9.0](6.8.0...6.9.0) (2022-10-15)

### Features

* add ES256 to JWT verifier ([#254](#254)) ([86a4d23](86a4d23))
@uport-automation-bot
Copy link
Collaborator

🎉 This PR is included in version 6.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants