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

JWK import/export for the ECDH & ECDSA #74

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

olegbespalov
Copy link
Contributor

@olegbespalov olegbespalov commented Apr 16, 2024

What?

This PR supports the JWK format for the ECDH and ECDSA.

It also migrates existing JWK usages from the third party (github.com/lestrrat-go/jwx) to SDK usage only.

Note: Initially, I had different commits for the EC JWK and Symmetric JWK, but unfortunately, I squashed them 😢
Hopefully, that's still fine, keeping in mind the size of the PR.

Based on: #69

Why?

  • JWK is part of the specification
  • Using SDK only is better from the maintenance and security perspective

@olegbespalov olegbespalov self-assigned this Apr 16, 2024
@olegbespalov olegbespalov marked this pull request as ready for review April 17, 2024 10:59
@olegbespalov olegbespalov requested a review from a team as a code owner April 17, 2024 10:59
@olegbespalov olegbespalov requested review from mstoykov and oleiade and removed request for a team April 17, 2024 10:59
Base automatically changed from feat/ecdsa to main April 17, 2024 14:20
Copy link
Member

@oleiade oleiade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call on the JWK dependency drop 🙇🏻 🚀

@olegbespalov olegbespalov merged commit aa03d58 into main Apr 17, 2024
10 checks passed
@olegbespalov olegbespalov deleted the feat/ecdh-ecdsa-jwk branch April 17, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants