Repository navigation
docs: plan moving the SSH client config - #107
Merged
Merged
Conversation
11 of 18 tasks
junjuny0227
force-pushed
the
docs/plan-16-ssh-config
branch
from
November 5, 2026 04:24
54a4f9b to
3edf6be
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.
Summary
Plan 16 (
docs/plans/2026-11-05-16-ssh-config.md): stage 1 moves the SSH client config~/.ssh/configand the files itIncludes from inside~/.ssh. Keys,known_hostsandauthorized_keysstay out. The export README and the restore summary list theIdentityFilepaths the config points to, so the user copies those keys by hand. Stage 2 (keys with encrypted export) is a short future section with no tasks. The spec is updated in the same PR. Not for merge until the user has reviewed the plan.Type
Changes
known_hosts), theIncluderules (only inside~/.ssh, so OrbStack/colima includes are not followed), comment-out instead ofIgnoreUnknownforUseKeychainand, on Windows,Control*,0600/0700permissions on bash and inherited ACLs on Windows, key path notes,SetEnvsecret masking, a.ssh/target check when openingrepot.json, and a worked example (sample config, scan item, exported file, bash and PowerShell lines).ItemDetails::ConfigFile+TargetPath::Home+Step::CopyFile, so there is no new step type. Additive v1 values:Category::SshandFindingKind::KeyFile.Checks
cargo fmt --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspacepnpm --filter @repot/desktop typecheck/test/build--example scan/--example export, ortauri dev)Docs only.
pnpm exec biome ci .passed (exit 0). OpenSSH behavior that the plan relies on was checked with macOS OpenSSH 10.5 (ssh -G): a missingIncludeis ignored, an unknown option makes ssh exit with 255,IgnoreUnknownworks, and CRLF lines parse. Linux and Windows OpenSSH behavior was not checked locally. Plan Task 3 adds CI checks for it.Spec and generated files
scan.json,snapshots/,icons/) (not touched)Boundaries
repot-coredoes not depend on Tauri and does no network callsEnv; tests useFakeEnvand fixtures, not real tools