Justfile/switch-gpg-card: add comment about missing trust
This commit is contained in:
parent
fbbeba15ff
commit
3a417cec64
1 changed files with 1 additions and 0 deletions
1
Justfile
1
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue