Skip to content

v2.7.1

Choose a tag to compare

@github-actions github-actions released this 21 Mar 23:42
· 3273 commits to main since this release

Bug fix

Ed25519 encrypted key authentication (issue #11)

Fixed auth failure when connecting with an imported encrypted Ed25519 key. The root cause was that JSch's internal prv_array for Ed25519 contains the clamped scalar, not the original seed. The previous code used BouncyCastle to derive a public key from those bytes, which produced a wrong key pair — auth always failed silently.

Fix: Extract both private and public key bytes from JSch (64 bytes) and construct the OpenSSH key file using the original public key. Also fixed the auth path producing PKCS#8 format (which JSch can't parse for Ed25519) — now uses OpenSSH format.

After updating: Delete your Ed25519 key in the Keys tab and re-import it.

Full Changelog: v2.7.0...v2.7.1