secrets: Name host keys for slop-broker approvals
Update docs / update (push) Failing after 1m44s
CI / Check, build and cache nixfiles (push) Canceled after 8m38s

Approvals list host keys abbreviated, which says little about which box
a secret goes to. Write each system's name after its key as the key's
comment, which age ignores and slop-broker shows as the name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #14.
This commit is contained in:
jackos1998andClaude Opus 5.5 authored and Jack O'Sullivan committed 2026-11-27 16:09:08 +00:00
1 parent 44f0358fef
commit 68de43b467
2 files changed
+10 -8

No files matched your search

+3 -2
View File
@@ -79,8 +79,9 @@ collects garbage in that store on every run, which the roots survive until they
`master`'s `secrets.nix`. The approval says which file the content really is and whether the
recipients match `master`'s rules for it (see the
[design](https://git.nul.ie/dev/slop-broker/src/branch/main/docs/design.md#secrets)).
- `secrets.names` labels `dev` and `slop-broker` in approvals (`lib.my.c.ageKeyFiles`); host keys
are shown abbreviated.
- Approvals label recipients by name: `dev` and `slop-broker` through `secrets.names`
(`lib.my.c.ageKeyFiles`), and host keys through the system name `secrets.nix` writes after each
key as its comment.
### `master` is protected