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

chore: add BouncyCastle provider to JWSSigner and JWSVerifier #3804

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

Adds the BouncyCastleProvider to the JCA context when creating JWS signers and JWS verifiers.

Why it does that

Some curves (e.g. secp256k1) are not supported natively in the JDK, check https://connect2id.com/products/nimbus-jose-jwt/examples/jwt-with-es256k-signature

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Jan 25, 2024
@paullatzelsperger paullatzelsperger merged commit b23d1bc into eclipse-edc:main Jan 25, 2024
@paullatzelsperger paullatzelsperger deleted the chore/add_bouncycastle_provider branch January 25, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants