diff --git a/Justfile b/Justfile index c58d80b..f9625f5 100755 --- a/Justfile +++ b/Justfile @@ -298,6 +298,7 @@ switch-gpg-card: # export pubkey and ownertrust gpg2 --output "${KEY_ID}".pubkey --export "${KEY_ID}" + # if this fails the trust in the key is missing and can be fixed with `gpg --edit-key ${KEY_ID}` gpg2 --export-ownertrust | rg "${KEY_ID}" > "${KEY_ID}".ownertrust # delete the key