Skip to content

ed25519 support for PuTTyKeyFile #659

@chr1syy

Description

@chr1syy

Hello,

i'm trying to connect to a server with a .ppk (putty file format) that contains a ed25519-key.

Whenever i'm trying to load the key, the exception breaks down into:

 Caused by: java.io.IOException: Unknown key type ssh-ed25519
	at net.schmizz.sshj.userauth.keyprovider.PuTTYKeyFile.readKeyPair(PuTTYKeyFile.java:158)
	at net.schmizz.sshj.userauth.keyprovider.BaseFileKeyProvider.getPublic(BaseFileKeyProvider.java:81)

As far as i read the code only RSA and DSA are supported. So i'm requesting to add ed25519 support for a PuTTy Key File aswell.

Thanks in Advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions