Repository navigation
chore: gitignore pkgs/id .ssh-host-key SSH host private key (#443) - #444
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Fixes #443
One line: root
.gitignoregains.ssh-host-keybeside the otherpkgs/identries (.identity.redb/events.redb), so the SSH host private key thatid servecreates CWD-relative (world_ssh.rs:31SSH_HOST_KEY_FILE, persisted byload_or_create_host_keyviawrite_private_file) is ignored at any depth.Verified on this branch with
git check-ignore:.ssh-host-keynow IGNORED at the repo root, inpkgs/id/, and insub/deep/— on main every one of those probes was NOT IGNORED.*_FILE/*_PATH/FILE_NAMEconstant inpkgs/id/src— all covered after this change:.iroh-key,.iroh-key-client,.iroh-store/…,.iroh-serve.lock,.iroh-allowed,.iroh-meta/registry.json(via.iroh*),.identity.db,.identity.redb,.ssh-host-key(new),events.redb,events.redb.tmp,groups.jsonl, and the world files under.id-worlds/(journal.jsonl,modules/*.wasm, …). This was the last gap.git ls-filesshows no tracked.ssh-host-key, so nothing needsgit rm --cached;git ls-files -ci --exclude-standardreturns only the pre-existing intentional fixtures (thetest.*set), unchanged by this PR..ssh-host-keycreated at the root leavesgit statusclean (only the.gitignoreedit shows).Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit