From 3a5e7617c0040eccdf3935c9ec5a31a95c970cef Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 24 Jul 2026 14:33:53 +0200 Subject: Rotate gpg key --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 98dc7dd..d482696 100644 --- a/README.md +++ b/README.md @@ -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 `. +- Get the new gpg key grip with `gpg --list-keys --with-keygrip ` +- Update the `.gitconfig` signing key: +- Update the GPG key in the password store `.gpg-id` file with +- Update the sshcontrol config file with the authentication key of +- Update git-crypt with the new key: `git-crypt add-gpg-user ` -- cgit v1.2.3