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

fix: convert RSA private key to JWK #4055

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

This PR allows to convert a RSA key -> JWK if only the private portion of the key is specified by restoring the
public key from the modulus and the exponent.

Why it does that

Using RSA keys in LDP-VPs is impossible otherwise

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 #4054

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

@paullatzelsperger paullatzelsperger force-pushed the fix/convert_rsa-private-key_to_jwk branch from 21c46c5 to 0ba817e Compare March 27, 2024 13:54
@paullatzelsperger paullatzelsperger merged commit e372688 into eclipse-edc:main Mar 27, 2024
16 checks passed
@paullatzelsperger paullatzelsperger deleted the fix/convert_rsa-private-key_to_jwk branch March 27, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Signing presentation is not working for RSA keys
3 participants