summaryrefslogtreecommitdiff
path: root/src/keygen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/keygen.sh')
-rwxr-xr-xsrc/keygen.sh2
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 @@
2gpg_set_ultimate_trust() 2gpg_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