Skip to content

secrets: replace the technical second on the estate's files - #1744

Merged
Gerrrt merged 2 commits into
mainfrom
gerrrt/replace-second-recipient
Nov 25, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
gerrrt/replace-second-recipient

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 25, 2026

Copy link
Copy Markdown
Owner

What changed

secrets/observability.sops.yaml and secrets/tofu.sops.yaml are now encrypted to the live key and a new technical second, age1egznz…, in place of age19mkg76…. The catch-all rule in .sops.yaml says the same. The lab and sensitive rules are unchanged for now.

Why

The medium holding age19mkg76…'s private half is misplaced. It is not known to be exposed, so nothing it opens is rotated. The new key and a fresh copy of the CA key are on a new USB stick.

Blast radius

Decryption of the two estate secrets files on prometheus. The live key age1yrdu996… is unchanged and still opens both files, so converge and every service decrypt exactly as before.

  • 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

  • make secrets-verify-backup STACK=observability KEY=<stick> passed with exit 0, before and after the old key was removed. tofu was decrypted silently with the new key, both times. (The script needs a compose file, and tofu has none.)

  • key-recipients.sh --list on both files shows age1egznz… and age1yrdu996… only.

  • make certs-verify-backup KEY=<stick>/ca-key.pem shows that the copy is the private key behind certificates/ca.pem.

  • check_sops_rules.py, check_docs.py and lint.sh pass. I did not run the full make validate; CI does.

  • make validate passes

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

@Gerrrt
Gerrrt enabled auto-merge (squash) November 25, 2026 05:19
Gerrrt and others added 2 commits November 25, 2026 05:24
The medium holding age19mkg76's private half is misplaced. A new key,
age1egznz..., generated onto a fresh stick, now opens observability and
tofu, proven before the old key came off the catch-all rule. The lab and
sensitive rules keep age19mkg76 until they are re-keyed on their hosts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt force-pushed the gerrrt/replace-second-recipient branch from 88ab468 to c7f8b72 Compare November 25, 2026 05:24
@Gerrrt
Gerrrt merged commit 5b8e9b8 into main Nov 25, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/replace-second-recipient branch November 25, 2026 05:39
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.

1 participant