1
0
mirror of https://github.com/drduh/YubiKey-Guide.git synced 2024-11-25 16:58:38 +00:00

Renew expired subkeys, fix #442

This commit is contained in:
drduh 2024-06-30 16:41:16 -07:00
parent b7baf0cbd0
commit 778b292917

View File

@ -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: