v0.44.0-beta.3
Pre-release
Pre-release
·
386 commits
to main
since this release
Preferred algorithms config changes
-
77cc2f7: algorithm names QoL changes
-
The fields specifying cipher algorithms in
Preferredare nowCow<&'static, [Name]>instead of&'static [Name], allowing you to dynamically construct the lists. If you're using custom algorithm lists, you'll need to update your code:
config.preferred = Preferred {
- kex: &[CURVE25519],
+ kex: Cow::Borrowed(&[CURVE25519]),
..<_>::default()
}- The type of
Preferred::compressionitems is nowrussh::compression::Nameinstead ofString. - All
Namestructs now implementTryFrom<&'static str>which will validate that the named algorithm is actually implemented in the library. - There are now companion algorithm lists to choose from dynamically:
russh_keys::key::ALL_KEY_TYPES,russh::kex::ALL_KEX_ALGORITHMS,russh::cipher::ALL_CIPHERS,russh::compression::ALL_COMPRESSION_ALGORITHMSandrussh::mac::ALL_MAC_ALGORITHMS.
Changes
- 3bfd99f:
ecdh-sha2-nistp{256,384,521}kex support (#282) (Michael Gleason) #282 - 800969b: Implement
-cbcciphers. (#297) (Pierre Barre) #297 - 1eaadfb: Add support for glob pattern matching in Host directives (#306) (Adam Chappell) #306
- 88196a7: allow converting
ChannelIdintou32
Fixes
- 643be05: Fix block ciphers + HMAC_SHA1_ETM (#298) (Pierre Barre) #298
- 2bfe426: Fix hardcoded public key auth negotiation (#294) (Tom König) #294
- 9cce48c: Allow ssh-rsa keys to be used for rsa-sha2-* auth (#290) (Ana Gelez) #290
- Fix a segmentation fault (#288) #288 (Ana Gelez)
- 9e1ed09: Overachiever host key checking (#302) (Jean-Baptiste Skutnik) #302
- 3f4646a: removed use of unstable Option::inspect