aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2024-06-30 16:41:16 -0700
committerdrduh <github@duh.to>2024-06-30 16:41:16 -0700
commit778b292917e4c921fa8d1282c77da48d3d3db90f (patch)
tree8626c49081429e05b1ea280f3bce25192d6510a2 /README.md
parentFix secret function (diff)
downloadYubiKey-Guide-778b292917e4c921fa8d1282c77da48d3d3db90f.tar.gz
Renew expired subkeys, fix #442
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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: