Skip to content

docs(audit): evaluate ssh_config parsers for SSC-3 double-compression detection - #4674

Merged
oferchen merged 1 commit into
masterfrom
docs/audit-ssc-3-ssh-config-parser-eval
May 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/audit-ssc-3-ssh-config-parser-eval

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/audits/ssc-3-ssh-config-parser-evaluation-2026-05-21.md evaluating whether oc-rsync should parse ~/.ssh/config to extend SSC-1's argv-only has_ssh_compression() detection.
  • Compares four candidate crates (ssh2-config, ssh2-config-rs, ssh_config, russh-config) with metadata (version, downloads, license, dep closure, maintenance, Match/Host/Include coverage) plus a roll-our-own option (~200-400 LoC).
  • Recommendation: SKIP. Upstream rsync does not parse ssh_config, the missed case is rare (OpenSSH Compression defaults 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.
  • Documents the conditions that would reverse the decision (community evidence, default russh adoption, or upstream rsync starting to parse the file).

Test plan

… 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.
@oferchen
oferchen merged commit 71a4e1e into master May 21, 2026
10 checks passed
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 21, 2026
@oferchen
oferchen deleted the docs/audit-ssc-3-ssh-config-parser-eval branch May 22, 2026 06:41
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant