Files
nix-config/home/base/tui/password-store/README.md
T
2026-11-11 13:42:14 +08:00

922 B

Password Manager

Changing the GPG key

Change the key every two or three years. python3 scripts/gpg_canokey.py pass switches the store: it decrypts every entry with the old key before changing anything, runs pass init, then checks that each entry opens with the new key alone and kept its content. The whole procedure, from generating the key to retiring the old one, is in hardware security keys.

Once the old key is deleted, older revisions in the store's git history can no longer be decrypted.