github GlassHaven/Haven v2.7.1

latest releases: v5.94.92, v5.94.91, v5.94.90...
8 months ago

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

Don't miss a new Haven release

NewReleases is sending notifications on new releases.