feat(secrets): stop deploying the retired OpenPGP key (#526)

* feat(secrets): stop deploying the retired OpenPGP key
* chore(flake): bump mysecrets past the move to legacy/

Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-11-11 13:51:24 +08:00
1 parent c909b1340f
commit d5ee0b1699
6 files changed
+9 -48

No files matched your search

+3 -4
View File
@@ -312,10 +312,9 @@ is then retired.
**Switch**, in one sitting:
1. `python3 scripts/gpg_canokey.py pass --backup <drive>/gpg-<fingerprint>.tar.age`. It decrypts
every entry with the old key from `/etc/agenix/ryan4yin-gpg-subkeys.priv.age` before changing
anything, re-encrypts with `pass init`, then checks that every entry opens with the new key alone
and kept its content.
1. `python3 scripts/gpg_canokey.py pass --backup <drive>/gpg-<fingerprint>.tar.age --old-backup <old-subkeys.age>`.
It decrypts every entry with the old key before changing anything, re-encrypts with `pass init`,
then checks that every entry opens with the new key alone and kept its content.
2. Deploy the configuration change to every host that uses pass. Until a host is deployed it cannot
read the store, and `pass insert` there still encrypts to the old key.
3. On each host, with a CanoKey plugged in, point the daily keyring's stubs at it: