From d91e09564b72cddd9d74ccb6fc43d15a9f38286b Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 5 May 2020 19:31:56 -0400 Subject: call "gpg2" not "gpg" --- src/keygen.sh | 2 +- src/kiki-export-stdout | 2 +- 2 files changed, 2 insertions(+), 2 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 @@ gpg_set_ultimate_trust() { local keygrip - keygrip=$(gpg -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) + keygrip=$(gpg2 -K --with-colons --with-fingerprint --with-fingerprint|sed -ne '/^sec/{n;p;q}'|cut -d: -f10) printf '%s:6:\n' "$keygrip" | gpg2 --import-ownertrust } diff --git a/src/kiki-export-stdout b/src/kiki-export-stdout index e508a61..76b315d 100755 --- a/src/kiki-export-stdout +++ b/src/kiki-export-stdout @@ -14,7 +14,7 @@ key=$($sudo kiki | sed -n -e 's/^master-key \([A-Fa-f0-9]*\) -/\1/p') if [ "$USE_GPG" ] then - $sudo gpg --export "$key" + $sudo gpg2 --export "$key" else $sudo kiki merge \ --flow=spill,match="$key" \ -- cgit v1.2.3