Update Rust crate russh-keys to 0.49.2#8393
Open
oxide-renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
c18bc7d to
ed05446
Compare
ee696b0 to
28d35cc
Compare
e8be74a to
a920ec3
Compare
9fc7497 to
7e2e656
Compare
4426c78 to
1933609
Compare
3bb648e to
e380e4a
Compare
b3a15d4 to
382bfc4
Compare
382bfc4 to
937d273
Compare
3f6d2ce to
398a222
Compare
ea3817d to
8a82ce8
Compare
c252fcf to
6ccde25
Compare
702b8d7 to
8d8e552
Compare
27eed84 to
fb766a3
Compare
319df22 to
faafffa
Compare
a938510 to
e644207
Compare
e644207 to
4678212
Compare
98b4d64 to
088149c
Compare
088149c to
07e6b1e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.45.0→0.49.2Release Notes
warp-tech/russh (russh-keys)
v0.49.2Compare Source
Fixes
cb5d3ba: fixed #418 - client - incorrect kex signature verification for RSA-SHA297ec468: Remove calls to dbg!() (#414) (Eric Rodrigues Pires)v0.49.1Compare Source
v0.49.0Compare Source
Changes
This release fixes the regression in v0.48 which made it impossible to choose the hash algorithm when using RSA keys for authentication. Unfortunately, the fix is a breaking API change, hence the version bump.
client::Handle::authenticate_publickeynow takes arussh_keys::key::PrivateKeyWithHashAlgwhich you can construct from anArc<russh_keys::PrivateKey>+Option<russh_keys::HashAlg>.The latter lets you choose between SHA1, SHA256 and SHA512 for RSA keys, and must be
Nonefor all other key types.Example:
v0.48.1Compare Source
Breaking changes
russhv0.48 drops its own data parsing and key handling code in favor of the RustCrypto project'sssh-key(#368) andssh-encoding(#371) crates. This means there are some breaking changes, which are listed here:Important for library users
russh_keys::key::PublicKeyis replaced withrussh_keys::PublicKey(ssh_key::PublicKey)russh_keys::key::KeyPairis replaced withrussh_keys::PrivateKey(ssh_key::PrivateKey)russh_keys::key::parse_public_keyno longer takes a hash algorithm argument as RSA keys are no longer locked down to a specific algorithm internally. RSA key specific hash algorithms are only used inPreferred::key.Key type constants in
russh_keys::keyandrussh_keys::key::Nameare removed - use therussh_keys::Algorithmenum instead.Config::preferred::keynow also takesrussh_keys::Algorithms instead ofrussh_key::key::Names.russh::client::Handle::authenticate_futureis renamed torussh::client::Handle::authenticate_publickey_withLess important
new
russh::Errorenum variants:Error:SignatureError:SshKeyError:SshEncodingnew
russh_keys::Errorenum variants:Error::RsaError::Utf8russh::auth::Signeris now anasync_traitrussh_keys::ecis removedrussh_keys::encodingis removed (userussh_keys::ssh_encoding)russh_keys::signatureis removedrussh_keys::protocolis removedrussh_keys::key::SignatureHashis replaced withrussh_keys::HashAlg(ssh_key::HashAlg)russh_keys::key::SignatureBytesis removedrussh_keys::key::RsaPrivateis removed (userussh_keys::ssh_key::private::RsaPrivateKey)russh_keys::key::RsaPublicis removed (userussh_keys::ssh_key::public::RsaPublicKey)russh_keys::key::RsaCrtExtrais removedrussh_keys::key::Signatureis replaced withrussh_keys::signature::Signature(signature::Signature)Features
aa9bdb4: added support for <sk-ecdsa-sha2-nistp256-cert-v01@openssh.com> and <sk-ssh-ed25519-cert-v01@openssh.com> keys in client68fff93: Add support for StrictHostKeyChecking and UserKnownHostsFile (#386) (Mattias Eriksson) #386981cf7b: Derive Debug where possible (#374) (Quentin Santos) #374c328558: Implement From<&str> and From<&[u8]> for CryptoVec (#391) (Josh McKinney) #391Fixes
47ca41d: Send proper algorithm for certificates (#378) (Jerome Gravel-Niquet) #3782d8c08a: ratatui examples fixed. (#388) (André Almeida) #388bd6dc3a: impl Drop for server examples (#376) (Eric Rodrigues Pires) #376ac441a6: fix:remove unused memcpy function (#406) (irvingouj @ Devolutions) #406a5c4adc: #401 - removing TX busywait (#408) #408Docs
2dca3c6: Document how to reply to channel requests (#381) (Quentin Santos) #381v0.48.0Compare Source
v0.46.0Compare Source
Changes
97dc08b: Support Pageant as agent (#326) #32626aae26: added named pipe support forAgentClientandAgentClient::dynamic()8b88465: addedAgentClient::into_inner67a6ba8: Implementstreamlocal-forwardfor remote => local UDS forwarding (#312) (kanpov) #312b9759d4: client channel handling changes -server_channel_open_direct_tcpip,server_channel_open_agent_forwardandserver_channel_open_sessionnow receive aChannelinstead of aChannelId. Also addedshould_accept_unknown_server_channelandserver_channel_open_unknowncallbacks.d6ee97a: new richNoCommonAlgoerrorcb8d9e9: fixed #338 - makeKeyPair::generate_ed25519infallible9444608: Add a way to open an agent forwarding channel (#344) (Thomas Rampelberg) #344ee59e07: Added25519to ALL_KEY_TYPES (#360) (Toni Peter) #3603f7271b: fixed #358 - relax strict kex checks to match OpenSSH72aa097: Update deps (#363) (Lucas Kent) #363Fixes
b704f4c: Remove leftover extraneous debugging in host globbing function (#328) (Adam Chappell) #328c99f49c: fixedError::Disconnectgetting returned fromconnectinstead of the more specific error type when connection fails during kex phase73fa3e5: Improve echoserver example, bump Rust toolchain to 1.81 (#339) (Julian) #339f587d13: Reject unsupported key types instead of failing (#352) (Gary Guo) #3526df962d: Minor accuracy improvements to server documentation (#346) (Kaleb Elwert) #346cd84f4d: Update sftp examples (#357) (Roman) #357Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.