Skip to content
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

Add support for JDK 22-native edec key support #585

Open
mattrpav opened this issue Aug 20, 2024 · 1 comment
Open

Add support for JDK 22-native edec key support #585

mattrpav opened this issue Aug 20, 2024 · 1 comment

Comments

@mattrpav
Copy link

mattrpav commented Aug 20, 2024

Description

Currently, elliptical curve key support is available through a 3rd party library that is seemingly unmaintained (latest release 2018).

JDK 22 add support for edec keys natively

Motivation

Remove reliance on 3rd-party library, use JDK-default key for up-and-comming ssh key format

Alternatives considered

No response

Additional context

No response

JDK 22 support:
ref: https://javaalmanac.io/jdk/22/apidiff/21/

3rd party library:

<dependency>
  <groupId>net.i2p.crypto</groupId>
  <artifactId>eddsa</artifactId>
  <optional>true</optional>
  <scope>provided</scope>
</dependency>
@tomaswolf
Copy link
Member

Actually ed25519 is supported as of Java 15. Bouncy Castle also supports it.

Unfortunately, changing the current implementation so that it would work with any of these is not possible without API breaks. It's also a lot of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants