Repository navigation
update: upgrade dependencies (russh-sftp 4, windows-sys 0.101) - #374
Merged
Merged
Conversation
Replace the yanked pin-project-lite 0.2.18 with 0.2.19, apply all semver-compatible lockfile updates, and raise declared requirements to the resolved versions. russh-sftp 4.0.0 changes file and directory handles from String to the opaque byte type SftpHandle. The client, the server handler, and the test mock handlers now use it, so non-UTF-8 handles are kept byte-exact and handles are logged with escaping Debug formatting. The local sftp_loop copied the old upstream server loop and kept reading after a framing error. An over-limit packet length left its body unread and desynced the session (upstream russh-sftp issue #104). Any read error now ends the session after already-queued requests are answered, covered by the new oversized_packet_ends_session test. windows-sys 0.101 needs no code change. ssh-key stays at =0.7.0-rc.12 to match russh 0.65.4, and generic-array stays at 0.14.7 because crypto-common 0.1.7 pins it. fmt, clippy, lib and integration tests, and the MSRV check on 1.97 pass locally.
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.
Replace the yanked pin-project-lite 0.2.18 with 0.2.19 (transitive via tokio, hyper, reqwest, tracing), apply all semver-compatible lockfile updates, and raise declared requirements to the resolved versions (russh 0.65.4, clap 4.6.10, jiff 1.1.0, serde-saphyr 2.2.0, hickory-resolver 0.26.4, and others).
Major bumps
SftpHandleinstead ofString. Migrated the client (RemoteFilekeeps non-UTF-8 handles from third-party servers byte-exact), the server handler (handle map keyed bySftpHandle; handles logged with Debug formatting, which escapes client-controlled bytes), and the test mock handlers.sftp_loop, which copied the old upstream loop: an over-limit packet length left its body unread, desyncing the session and emitting one warning per 4 bytes. Any read error now ends the session after already-queued requests are answered. New test:oversized_packet_ends_session.Held back
=0.7.0-rc.12, and our pin matches it.=0.14.7(via ratatui -> termwiz -> sha2 0.10).Verification
-D warnings, all targets), lib and integration tests pass (4698 tests), andcargo +1.97.1 check --workspace --lockedpasses.owo-colorsas an unused dependency.