ED25519 keys with passphrase generated by Juice SSH cannot be decrypted to create SSH connection #2976
Labels
Area-Ssh/Scp/Sftp
From-telegram
Issue reported through telegram channel
Issue-Bug
Related unexpected behavior or something worth investigating.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The key should decrypt, hence create the SSH connection without problem
Smartphone (please complete the following information):
Additional context
The key pair generated above can be used in Solid Explorer without problems.
And when the key went through
PemToKeyPairTask
, such exception was seenwhich looks quite true.
https://github.com/hierynomus/sshj/blob/3256f5336d46afd9a2524b12e8e4a9480a604b22/src/main/java/com/hierynomus/sshj/userauth/keyprovider/OpenSSHKeyV1KeyFile.java#L191-L198
Not sure if we should override it and add the cipher back though (if this is really the culprit).
The text was updated successfully, but these errors were encountered: