ed25519-java icon indicating copy to clipboard operation
ed25519-java copied to clipboard

Non-standard JCA algorithm names

Open emlun opened this issue 3 years ago • 0 comments

Hi! I recently looked into testing the compatibility between Yubico/java-webauthn-server and ed25519-java, and I quickly ran into a small issue: the JCA provider algorithm names differ from those used in OpenJDK 15. Specifically, OpenJDK does not include the hash algorithm in Signature names, while ed25519-java does. See: Java Security Standard Algorithm Names (Java SE 15)

I found that a similar topic was discussed in issue #33, but it seems like the JCA standard decided to not continue the same naming pattern - presumably because, as noted in #33, EdDSA instantiations already include a choice of a particular hash algorithm.

Anyway, it might be worth considering to align with the standard JCA names to improve interoperability.

emlun avatar Mar 15 '21 19:03 emlun