-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
PrivateKeyParser doesn't support ed448, XDH and RSA-PSS keys #37237
Comments
Now that we have a |
Java 17 has added EdDSA and XDH support. On Java 17, we can support Ed448 and Ed25519 even in Boot 2.7.x. XDH support is completely missing. We can support X448 and X25519 in Boot 2.7.x and up on Java 17. |
There's also RSA-PSS, which we don't support. |
I've added support for XDH (Java 17+), EdDSA (Java17+) and RSS-PSS. And i've improved the tests. I've not implemented it on top of the |
Here's such a ed448 key:
(it has been generated with
openssl genpkey -algorithm ed448 -out ed448.key
and then converted to PKCS#8 withopenssl pkcs8 -topk8 -in ed448.key -nocrypt -out ed448_2.key
).I guess the only change needed is to include
Ed448
in these lines:and add tests for it.
The text was updated successfully, but these errors were encountered: