You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to decode EdDSA private key using KeyUtils.decodePrivateKey(privateKeyPemEncoded, SignatureAlgorithm.EDDSA). However, the following exception is raised:
java.security.NoSuchAlgorithmException: SRJWT00001: Unsupported key type EDDSA
at io.smallrye.jwt.util.KeyUtils.keyFactoryAlgorithm(KeyUtils.java:341)
at io.smallrye.jwt.util.KeyUtils.decodePrivateKey(KeyUtils.java:170)
It seems that KeyUtils.keyFactoryAlgorithm() does not recognize EdDSA.
I am trying to decode EdDSA private key using
KeyUtils.decodePrivateKey(privateKeyPemEncoded, SignatureAlgorithm.EDDSA)
. However, the following exception is raised:It seems that
KeyUtils.keyFactoryAlgorithm()
does not recognize EdDSA.smallrye-jwt/implementation/common/src/main/java/io/smallrye/jwt/util/KeyUtils.java
Lines 334 to 342 in 6dd836a
The text was updated successfully, but these errors were encountered: