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 801010a..f952cec 100755 --- a/src/keygen.sh +++ b/src/keygen.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | gpg_set_ultimate_trust() | 3 | gpg_set_ultimate_trust() |
4 | { | 4 | { |
5 | local keygrip d | 5 | local keygrip |
6 | keygrip=$(gpg -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) | 6 | keygrip=$(gpg -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) |
7 | printf '%s:6:\n' "$keygrip" | gpg2 --import-ownertrust | 7 | printf '%s:6:\n' "$keygrip" | gpg2 --import-ownertrust |
8 | } | 8 | } |