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 VerifierAlgorithm for ES256 #249

Merged
merged 60 commits into from
Sep 6, 2022

Conversation

bshambaugh
Copy link
Contributor

@bshambaugh bshambaugh commented Sep 2, 2022

This is the answer to:
#248 (review)

Update VerifierAlgorithm.ts for ES256.

Update VerifierAlgorithm.test.ts for ES256.

I had to re-declare some variables locally for ES256. Is it appropriate to move some globally declared variables for ES256K and ed25519 or just leave them?

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

I should note that I am making progress with JWT.ts and JWT.test.ts. This may be relevant to the VerifierAlgorithm.ts. Maybe we should wait for that?

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 looks great, thanks for the contribution!

@mirceanis
Copy link
Member

I had to re-declare some variables locally for ES256. Is it appropriate to move some globally declared variables for ES256K and ed25519 or just leave them?

Don't concern yourself too much with refactoring. While that is very important, I'd like to separate any refactoring changes from feature implementations.

If you do want to contribute refactoring PRs, please separate code-refactoring-PRs from test-refactoring-PRs to ease the review.

Thank you for coming back with small PRs, it makes this process so much easier!

@mirceanis mirceanis merged commit 05283ac into decentralized-identity:master Sep 6, 2022
uport-automation-bot pushed a commit that referenced this pull request Sep 6, 2022
# [6.8.0](6.7.0...6.8.0) (2022-09-06)

### Features

* add VerifierAlgorithm for ES256 ([#249](#249)) ([05283ac](05283ac))
@uport-automation-bot
Copy link
Collaborator

🎉 This PR is included in version 6.8.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