Add export to Java KeyPair from OctetKeyPair
Issue #359
new
Currently the export from OKP to public/private/key pair throws an exception.
In my case this blocks using the JWTProcessor
to perform JWT processing (via JWSKeySelector
) because key matching fails. Workarounds are available using SignedJWT.verify()
and extracting claim values to check manually, so this is non-blocking but inconvenient.
I assume this is due to lack of native Java support for the Edwards-curve algorithms, but this should be completed when possible.
Comments (2)
-
-
@Vladimir Dzhuvinov the JEP is in status “delivered”. Is it now possible to resolve the issue?
I’ve just spend some time trying to use JWTProcessor and after quite some debuggin figured that this was the problem.
- Log in to comment
EdDSA should (hopefully) make appearance in Java 15.
https://openjdk.java.net/jeps/339
Amen :)