diff options
author | drduh <github@duh.to> | 2024-06-30 16:41:16 -0700 |
---|---|---|
committer | drduh <github@duh.to> | 2024-06-30 16:41:16 -0700 |
commit | 778b292917e4c921fa8d1282c77da48d3d3db90f (patch) | |
tree | 8626c49081429e05b1ea280f3bce25192d6510a2 | |
parent | Fix secret function (diff) | |
download | YubiKey-Guide-778b292917e4c921fa8d1282c77da48d3d3db90f.tar.gz |
Renew expired subkeys, fix #442
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |