Complete the SSH transport compatibility, security, and release audit #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Prove the milestone delivers complete, secure, pure-Rust Git-over-SSH rather than URL acceptance or a partial transport stub.
Scope
~userpaths and prevent command/option injection.std::process::Command, localgit/ssh/shell/helper execution,ProxyCommand, unsafe Rust, accept-all host keys, plaintext key/passphrase persistence, unbounded remote output, weak algorithms, accidental Apple enablement, and transport logic outsidecrates/storage.passrepositories and Gitea SSH endpoints using synthetic credentials only. Real-server checks may be a separately documented manual smoke test and must not expose private material.russhrelease and transitive crypto/runtime dependencies for licenses, target support, active security advisories, and release-size impact. Pin or upgrade to a patched version and document the chosen crypto/algorithm policy.AGENTS.md, README, configuration, Git synchronization, secure-secret-storage, CLI parity, desktop audit, and Apple testing/distribution documentation to state the final verified contract and limitations.Validation
cargo fmt --all -- --check.RUSTFLAGS="-D warnings" cargo check --workspace --all-targets.cargo clippy --workspace --all-targets -- -D warnings.cargo test --workspace.ssh, inspectcargo tree -e features, and build normal release/package targets.xcodegen generateand the affected warnings-as-errors simulator builds without destructive simulator reset.Acceptance criteria
ProxyCommand, arbitrary OpenSSH config execution, password/keyboard-interactive authentication, and local helper transports.Depends on every other issue in milestone 07.
Implemented and verified in commit
a3da9fd(Complete SSH transport release audit).Implementation:
Verification on the committed tree:
Dependency and target evidence:
Audit and artifact evidence:
Final review found no unexplained matrix gap, process/helper/proxy/unsafe/host-bypass escape hatch, Apple feature leak, or transport policy outside crates/storage. A real Gitea smoke is deliberately optional; the synthetic in-process server validates the exact upload-pack/receive-pack exec and packet-line behavior without private credentials or external Git/OpenSSH processes.