From 778b292917e4c921fa8d1282c77da48d3d3db90f Mon Sep 17 00:00:00 2001 From: drduh Date: Sun, 30 Jun 2024 16:41:16 -0700 Subject: [PATCH] Renew expired subkeys, fix #442 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a60f40..96cd06c 100644 --- a/README.md +++ b/README.md @@ -1814,7 +1814,8 @@ Renew the Subkeys: ```console gpg --batch --pinentry-mode=loopback \ - --passphrase "$CERTIFY_PASS" --quick-set-expire "$KEYFP" "$EXPIRATION" "*" + --passphrase "$CERTIFY_PASS" --quick-set-expire "$KEYFP" "$EXPIRATION" \ + $(gpg -k --with-colons $IDENTITY | awk -F: '/^fpr:/ { print $10 }' | tail -n "+2" | tr "\n" " ") ``` Export the updated public key: