Skip to content

docs: correct the gandalf node-key record and self-SSH - #1711

Merged
Gerrrt merged 3 commits into
mainfrom
gerrrt/correct-gandalf-node-key-doc
Nov 24, 2026
Merged

Gerrrt merged 3 commits into
mainfrom
gerrrt/correct-gandalf-node-key-doc

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 24, 2026

Copy link
Copy Markdown
Owner

What changed

Corrects the record for gandalf's §4 tooling removal. A changelog dated correction (records are not rewritten) and a security.md current-state update.

Why

The 2026-11-24 changelog entry and security.md described the removed /root/.ssh/id_rsa as a "GitHub-capable root SSH key". It was Proxmox's own node key (its pubkey is the root@gandalf line in /etc/pve/priv/authorized_keys; the github.com in root's known_hosts was a trace of root reaching github over SSH). Deleting it broke root self-SSH (ssh root@localhost → Permission denied (publickey)). It was restored with pvecm updatecerts; the stale orphaned authorized_keys entry and the github known_hosts line were cleaned. Self-SSH works again, and the fresh key is not registered with github.

Blast radius

Documentation only. The host change (key regeneration) was applied and verified live; this PR only records it accurately.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • python3 scripts/check_docs.py passes
  • ssh root@localhost on gandalf succeeds (rc=0); authorized_keys has the operator keys + one fresh root@gandalf
  • Docs updated (docs/security.md, docs/changelog.md)

🤖 Generated with Claude Code

The 2026-11-24 changelog entry and security.md called the gandalf §4 tooling
removal a "GitHub-capable root SSH key". That key was Proxmox's own node key;
deleting it broke root self-SSH (ssh root@localhost -> Permission denied). It
was restored with pvecm updatecerts, and the stale authorized_keys entry and
the github known_hosts trace were cleaned.

Records are not rewritten, so the changelog gets a dated correction naming the
entry it corrects; security.md (current-state) is updated to the accurate
state. The fresh node key is not registered with github, so no host credential
reaches the repository; revoking any old github-side key is off-host.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 04:58
@Gerrrt
Gerrrt enabled auto-merge (squash) November 24, 2026 04:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The changelog’s “Restored the same day” wording incorrectly implies restoration on the deletion date, 2026-11-23, rather than the documented regeneration date, 2026-11-24.

1 open issue
What changed in this PR

This documentation-only PR corrects gandalf’s SSH-key cleanup record, distinguishing Proxmox’s node identity from GitHub credentials and recording the restoration of root self-SSH.

Changes:

  • Adds a dated changelog correction without rewriting the original entry.
  • Updates the security threat model to describe the regenerated node key and its lack of GitHub access.
File Description
docs/​security.md Clarifies the node key’s purpose, regeneration, and current GitHub-access status.
docs/​changelog.md Records the mistaken deletion, self-SSH failure, and subsequent restoration.

Review effort: Balanced

Comment thread docs/changelog.md Resolved
Gerrrt and others added 2 commits November 23, 2026 21:03
Copilot: the correction read "restored the same day" and security.md said
2026-11-24, which conflicts with the 2026-11-23 deletion. Both the deletion and
the pvecm updatecerts restoration were on 2026-11-23 (the regenerated key mtime
is Nov 23 20:54 PST), minutes apart. State 2026-11-23 explicitly in both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…f-node-key-doc

# Conflicts:
#	docs/changelog.md
@Gerrrt
Gerrrt merged commit 201563d into main Nov 24, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/correct-gandalf-node-key-doc branch November 24, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants