Skip to content

ssh-cipher v0.4.0 - #669

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

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

Conversation

@tarcieri

@tarcieri tarcieri commented Dec 5, 2026

Copy link
Copy Markdown
Member

Changed

  • Raise the minimum supported Rust version from 1.85 to 1.87 (#610)
  • Update the optional encoding feature to ssh-encoding v0.4. When decoding a Cipher, pass a &mut Decoder<impl Reader> to Decode::decode (#618, #668)

Fixed

  • Implement BlockModeDecrypt::decrypt_with_backend for Decryptor. Both CBC and CTR now support decrypting from one buffer into another without panicking (#640)
  • Check key and IV lengths against the selected cipher in Encryptor::new and Decryptor::new. A mismatched key returns Error::KeySize and a mismatched IV returns Error::IvSize (#642)
  • Correct the key order in the ChaCha20Poly1305 packet encryption documentation and example. The first 32 bytes encrypt the body and derive the Poly1305 key. The last 32 bytes encrypt the packet length (#649)

Security

  • Require ctutils v0.4.8 for the chacha20poly1305 feature, including upstream constant-time fixes for mask generation and u128 comparisons (#610, RUSTSEC-2026-0385)

@tarcieri
tarcieri merged commit 13fcde7 into master Dec 5, 2026
23 checks passed
@tarcieri
tarcieri deleted the ssh-cipher/v0.4.0 branch December 5, 2026 03:19
This was referenced Dec 5, 2026
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