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

Cannot read PKCS#8 encoded RSA private keys #206

Closed
kelvinmo opened this issue Sep 20, 2024 · 0 comments · Fixed by #207
Closed

Cannot read PKCS#8 encoded RSA private keys #206

kelvinmo opened this issue Sep 20, 2024 · 0 comments · Fixed by #207
Labels

Comments

@kelvinmo
Copy link
Owner

Description

KeyFactory recognises PKCS#8 encoded RSA private keys and passes them on to RSAKey. However, unlike ECKey, RSAKey is missing code to parse PKCS#8 encoded keys

Reported by @fluffy-critter as part of kelvinmo/jwkstool#20

Steps to reproduce

See kelvinmo/jwkstool#20

@kelvinmo kelvinmo added the bug label Sep 20, 2024
@kelvinmo kelvinmo linked a pull request Sep 20, 2024 that will close this issue
kelvinmo added a commit that referenced this issue Sep 21, 2024
Add PKCS#8 parsing code to RSAKey
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 a pull request may close this issue.

1 participant