From 3a417cec64b25517c33f0211ba3688d6790147e4 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 24 Nov 2020 22:59:33 +0100 Subject: [PATCH] Justfile/switch-gpg-card: add comment about missing trust --- Justfile | 1 + 1 file changed, 1 insertion(+) 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