Skip to content

ssh-protocol v0.4.0 - #679

Merged
tarcieri merged 1 commit into
masterfrom
ssh-protocol/v0.4.0
Dec 6, 2026
Merged

tarcieri merged 1 commit into
masterfrom
ssh-protocol/v0.4.0

Conversation

@tarcieri

@tarcieri tarcieri commented Dec 6, 2026

Copy link
Copy Markdown
Member

Added

  • Re-export ssh-cipher, ssh-encoding, and ssh-key as cipher, encoding, and key, with common types and traits such as Cipher, Encode, Decode, PrivateKey, and PublicKey at the crate root. Disable default features for no_std builds and enable alloc separately when an allocator is available (#236)
  • Re-export Decoder at the crate root (#618)
  • Add kex::Kex for two-message key exchange methods and kex::Transcript for computing the SSH exchange hash incrementally (#675)
  • Add the optional mlkem768x25519-sha256 feature for the RFC 10042 hybrid key exchange. Both client and server work without std or alloc (#675)

Changed

  • Switch to the Rust 2024 edition (#354)
  • Gate the crate-root Certificate and Signature re-exports on alloc, which the default std feature enables (#362)
  • Raise the minimum supported Rust version to 1.87 (#610)
  • Decode::decode now takes &mut Decoder<impl Reader>. Use Decoder::from_bytes to decode a byte slice (#618, #663)
  • Use ssh-encoding 0.4, ssh-cipher 0.4, and ssh-key 0.7. For composite signatures through key, enable mldsa44-ed25519 or mldsa87-p384 on ssh-key (#668, #669, #670)
  • Require ssh-encoding 0.4.1 for the #[ssh(crate = encoding)] derives on the KEX wire types (#676, #678)

@tarcieri
tarcieri force-pushed the ssh-protocol/v0.4.0 branch from db1353d to ee3e077 Compare December 6, 2026 00:40
@codecov

codecov Bot commented Dec 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.48%. Comparing base (12de936) to head (ee3e077).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #679   +/-   ##
=======================================
  Coverage   83.48%   83.48%           
=======================================
  Files          71       71           
  Lines        7338     7338           
=======================================
  Hits         6126     6126           
  Misses       1212     1212           
Components Coverage Δ
ssh-cipher 81.95% <ø> (ø)
ssh-derive 94.09% <ø> (ø)
ssh-encoding 91.26% <ø> (ø)
ssh-key 81.13% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri
tarcieri merged commit e3afb9b into master Dec 6, 2026
26 checks passed
@tarcieri
tarcieri deleted the ssh-protocol/v0.4.0 branch December 6, 2026 01:18
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