Sunset 0.6.0 - 2026-08-02
Changed
-
Updated all crypto crate dependencies. Most are new major versions,
RSA is a release candidate. RSA now has a 8192 bit limit. -
Update to getrandom 0.4. This has a new API for custom backends,
see getrandom docs or picow demo. No changes needed forstd. -
Fingerprint no longer has a hash argument, it's always SHA-256.
-
Error::bug()now returns aResultrather thansunset::Error. -
sshwire::UnknownVariantnow is used to indicate decoding
an unknown variant.sshwire::EncodeUnknownis the old meaning.
packets::Unknowntype is now moved tosshwire::Unknown.
Fixed
ssh-keyfeature is properly optional, previously it would always
be enabled by various other features.
Added
-
Re-export API crates such as public key types,
embedded_io_async,
sunset,sunset_async. -
SSHEncode/SSHDecodeare implemented forstd::String. -
Document
ServEventusername fields, and guarantee it
will be unchanging. -
Allow ECDSA-256 for
SignKey::generate. -
SSHEncode/SSHDecodeimplemented forSignKey.
Removed
&[u8]no longer implementsSSHEncode/SSHDecode.
UseBinStringinstead which is more explicit.
sunset-sftp 0.2.0 - 2026-08-02
Changed
-
SftpHandlernow takesREQ_BUFandRESP_BUFsize parameters
and allocates the buffer internally. Constructors areconstto allow
static allocations. -
SftpHandler::process_loophas been renamed toSftpHandler::run.
That now takes aSftpServerargument. -
Changed
SftpServertrait, replacedOpaqueFileHandleparameter.
NowFileHandleorDirHandletypes are used as handles by
the application, wrapping au32. -
Generic parameters on
SftpServertrait methods have changed. -
SftpErrorvariants have changed.
Fixed
- Packet decoding is better at handling unknown packet types. Previously
the stream could get into an unrecoverable state if unknown packets
were received across buffer boundaries.
sunset-async 0.6.0 - 2026-08-02
Added
-
run_tokio()andrun_futures_io()methods onSSHServer
andSSHClienttakeAsyncReadandAsyncWrite.
These require tokio or futures-io features. -
From<ChanInOut>conversion forChanInandChanOut. -
Re-export
sunsetandembedded_io_async.
sunset-stdasync 0.6.0 - 2026-08-02
Changed
- Update for new sunset release
Added
- Re-export
sunsetandsunset_async
sunset-sshwire-derive 0.3.0 - 2026-08-02
Added
-
Allow enum struct and tuple variants.
-
Allow
#[sshwire(unknown)]on unit variants, discarding the name. -
Add
#[sshwire(decode_unknown_fail)]to return an error instead
of storing unknown variants.
Changed
- Encoding an enum returns
WireError::EncodeUnknown
Fixed
- Don't warn about
.finish()when derive fails.