Skip to content

fix(deps): update rust crate russh to 0.66.0 - #502

Merged
fenio merged 1 commit into
mainfrom
renovate/russh-monorepo
Dec 5, 2026
Merged

fenio merged 1 commit into
mainfrom
renovate/russh-monorepo

Conversation

@renovate

@renovate renovate Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
russh dependencies minor 0.65.0 → 0.66.0

Release Notes

warp-tech/russh (russh)

v0.66.0

Compare Source

Breaking changes

  • a2490e5: feat: feature-gate optional algorithms, key encryption, and tokio rt-multi-thread (#​849) (@​Eugeny, @​any-victor) #​849
    • Optional algorithms are now behind crate features. On by default: cipher-aes-cbc, cipher-aes-ctr, cipher-aes-gcm, kex-dh, kex-ecdh, kex-mlkem, kex-mlkem-nistp, key-ecdsa, key-mldsa, key-rsa, key-encryption and hash-sha1. Opt in: cipher-3des, kex-sntrup and key-dsa. The old des, dsa, rsa and sntrup features still work as aliases.
    • With default-features = false plus ring or aws-lc-rs, you now get a minimal Ed25519 + Curve25519 + ChaCha20-Poly1305 build.
    • russh and russh-util no longer turn on Tokio's rt-multi-thread. If you use #[tokio::main] or Runtime::new(), enable it in your own tokio dependency.
  • 197c086: Let authenticate_openssh_cert do cert authentication with hash algo specified (#​830) (@​Eugeny) #​830
    • Handle::authenticate_openssh_cert now takes a PrivateKeyWithHashAlg instead of Arc<PrivateKey>. For RSA keys, the hash sets both the certificate type in the request and the signature. Use Handle::best_supported_rsa_hash to pick one.
  • 8311440: fix: negotiate the cipher separately for each direction (#​827) (@​fornwall) #​827
    • Names.cipher is replaced by client_cipher and server_cipher. Negotiation now follows RFC 4253 section 7.1, so russh connects to peers that offer different cipher lists per direction.

Security fixes

GHSA-x27v-4rm5-89m6 - russh accepts CertType::Host certificates for user login and CertType::User certificates for server host authentication

  • 56299d6 - a host certificate signed by a trusted CA could be used to log in as a user, and a client could accept a user certificate as the server's host key

GHSA-x28r-6p66-v6mv - russh agent server: LOCK with an empty passphrase reports SUCCESS but never locks, and failed UNLOCK attempts are not throttled

  • a2a907e - locking with an empty passphrase is now refused, and failed unlock attempts are delayed more with each failure

Features

  • fc15a67: feat(kex): add SNTRUP761 X25519 hybrid key exchange (#​800) (@​kmodexc) #​800
    • sntrup761x25519-sha512 and sntrup761x25519-sha512@openssh.com, behind the opt-in kex-sntrup feature because sntrup-kem is a pre-release.
  • b0747ee: feat(kex): mlkem768nistp256-sha256 and mlkem1024nistp384-sha384 (RFC 10042) (#​843) (@​daveman1010221) #​843
    • Not in the default preference order. The new Preferred::POST_QUANTUM allows only the post-quantum hybrids, with no classical fallback.
  • f25e2db: enable mldsa44-ed25519, mldsa87-p384
    • Adds ssh-mldsa44-ed25519 and ssh-mldsa87-p384 post-quantum hybrid host and user keys.
  • ba6e2c1: Add direct public key authentication (#​741) (@​k-bx) #​741
    • Handle::authenticate_publickey_direct sends a signed public-key request without the unsigned probe first, for servers that reject the probe.

Fixes

Dependencies

  • 06fe933: bump ssh-key & ssh-encoding
    • ssh-key 0.7.0-rc.13, ssh-encoding 0.4.0-rc.2

New Contributors

Full Changelog: Eugeny/russh@v0.65.4...v0.66.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@fenio
fenio merged commit 58d7d9d into main Dec 5, 2026
8 checks passed
@fenio
fenio deleted the renovate/russh-monorepo branch December 5, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant