diff options
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 | ||