Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions ssh-protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,40 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.4.0 (2026-12-05)
### 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])

[#236]: https://github.com/RustCrypto/SSH/pull/236
[#354]: https://github.com/RustCrypto/SSH/pull/354
[#362]: https://github.com/RustCrypto/SSH/pull/362
[#610]: https://github.com/RustCrypto/SSH/pull/610
[#618]: https://github.com/RustCrypto/SSH/pull/618
[#663]: https://github.com/RustCrypto/SSH/pull/663
[#668]: https://github.com/RustCrypto/SSH/pull/668
[#669]: https://github.com/RustCrypto/SSH/pull/669
[#670]: https://github.com/RustCrypto/SSH/pull/670
[#675]: https://github.com/RustCrypto/SSH/pull/675
[#676]: https://github.com/RustCrypto/SSH/pull/676
[#678]: https://github.com/RustCrypto/SSH/pull/678
2 changes: 1 addition & 1 deletion ssh-protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ssh-protocol"
version = "0.3.0-rc.1"
version = "0.4.0"
description = """
Pure Rust implementation of the SSH protocol as described in RFC4251/RFC4253 as well as
OpenSSH-specific extensions (WIP)
Expand Down
4 changes: 2 additions & 2 deletions ssh-protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
Pure Rust implementation of the SSH protocol as described in [RFC4251]/[RFC4253] as well as
OpenSSH-specific extensions (WIP).

Includes support for `mlkem768x25519-sha256` key exchange, the post-quantum hybrid method'
described in [RFC 10042].
Enable the `mlkem768x25519-sha256` feature for the hybrid ML-KEM-768 and X25519 key exchange
described in [RFC 10042]. It works with default features disabled and requires no allocator.

## License

Expand Down