Skip to content

Commit

Permalink
Fix eddsa support for java 11.
Browse files Browse the repository at this point in the history
Signed-off-by: Achim Kraus <achim.kraus@cloudcoap.net>
  • Loading branch information
boaks committed Mar 18, 2024
1 parent 4cef09e commit b02535c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ private static void setupJce() {
} else if (isNetI2PEdDsa(provider)) {
// i2p EdDSA support: add Ed25519 to KeyFactory
configure(provider, "Alg.Alias.KeyFactory." + JceNames.ED25519, JceNames.EDDSA);
configure(provider, "Alg.Alias.Signature." + JceNames.ED25519, "NONEwithEdDSA");
}
try {
KeyFactory.getInstance(JceNames.ED25519);
Expand Down

0 comments on commit b02535c

Please sign in to comment.