Repository navigation
docs(audit): evaluate ssh_config parsers for SSC-3 double-compression detection - #4674
Merged
Merged
Conversation
… detection Compares four candidate crates (ssh2-config, ssh2-config-rs, ssh_config, russh-config) against a roll-our-own option and the status quo of argv-only detection plus README guidance. Recommends SKIP: upstream rsync does not parse ssh_config either, the missed case is rare (OpenSSH Compression defaults off), and SSC-1 (#4667) + SSC-2 (#4655) already cover the explicit and educated paths. Lists the conditions that would reverse the decision.
5 tasks
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
… detection (#4674) Compares four candidate crates (ssh2-config, ssh2-config-rs, ssh_config, russh-config) against a roll-our-own option and the status quo of argv-only detection plus README guidance. Recommends SKIP: upstream rsync does not parse ssh_config either, the missed case is rare (OpenSSH Compression defaults off), and SSC-1 (#4667) + SSC-2 (#4655) already cover the explicit and educated paths. Lists the conditions that would reverse the decision.
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.
Summary
docs/audits/ssc-3-ssh-config-parser-evaluation-2026-05-21.mdevaluating whetheroc-rsyncshould parse~/.ssh/configto extend SSC-1's argv-onlyhas_ssh_compression()detection.ssh_config, the missed case is rare (OpenSSHCompressiondefaults off; users who flip it know they did), and SSC-1 (PR feat(core): warn on double-compression when rsync --compress meets SSH -C (SSC-1) #4667) + SSC-2 (PR docs: warn users about SSH+rsync double-compression in README (SSC-2) #4655) already cover the explicitly-configured and educated-user paths. False-positive risk on a warning-only feature would degrade trust in the SSC-1 message.Test plan
cargo fmt --all -- --check(no Rust files touched)Cargo.tomlchanges.