Skip to content

Karaf client does not support EdDSA (ed25519) keys #2925

Description

@holgerfriedrich

When bin/client runs and an ed25519 key is picked up from ~/.ssh, it fails with:

[ssh-connection]: Failed (IllegalStateException) to execute: Failed (NoSuchAlgorithmException)
to load key from /home/<user>/.ssh/id_ed25519: Unsupported key type (ssh-ed25519) in /home/<user>/.ssh/id_ed25519

No command is executed and the client exits with status 1, even when username and password are given on the command line, because publickey authentication is attempted before password and the key load error aborts the connection.

ed25519 is OpenSSH's default key type since 7.8, so this hits any user whose ~/.ssh contains a default key. RSA keys work fine, which is probably why it went unnoticed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions