diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-05 19:31:56 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-05 19:31:56 -0400 |
commit | d91e09564b72cddd9d74ccb6fc43d15a9f38286b (patch) | |
tree | 80ad60636c349ff31840992ab003b975e9ee5fa1 /src/keygen.sh | |
parent | 0163371aeead1b3fbd2e0b4b5c2d3ef5a303ae9f (diff) |
call "gpg2" not "gpg"
Diffstat (limited to 'src/keygen.sh')
-rwxr-xr-x | src/keygen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keygen.sh b/src/keygen.sh index 1259b64..c51e268 100755 --- a/src/keygen.sh +++ b/src/keygen.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | gpg_set_ultimate_trust() | 2 | gpg_set_ultimate_trust() |
3 | { | 3 | { |
4 | local keygrip | 4 | local keygrip |
5 | keygrip=$(gpg -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) | 5 | keygrip=$(gpg2 -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) |
6 | printf '%s:6:\n' "$keygrip" | gpg2 --import-ownertrust | 6 | printf '%s:6:\n' "$keygrip" | gpg2 --import-ownertrust |
7 | } | 7 | } |
8 | 8 | ||