diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -42,3 +42,14 @@ brew install git-crypt cd ~/.rc git-crypt unlock ``` + +### GPG + +To rotate the GPG keys, after generating and backing up. + +- Get the new gpg key ID with `gpg --list-keys <GPG_KEY_ID>`. +- Get the new gpg key grip with `gpg --list-keys --with-keygrip <GPG_KEY_ID>` +- Update the `.gitconfig` signing key: <GPG_KEY_ID> +- Update the GPG key in the password store `.gpg-id` file with <GPG_KEY_ID> +- Update the sshcontrol config file with the authentication key of <GPG_KEY_GRIP> +- Update git-crypt with the new key: `git-crypt add-gpg-user <GPG_KEY_ID>` |
