aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar steering72532026-05-18 07:13:16 -0600
committerGravatar steering72532026-05-18 07:13:16 -0600
commit64ef681284d28b5df70f09202d042916c28d6ab4 (patch)
tree43feb4fb772c2de96b709caecefd138e49809d03
parentuse gpgv betterer (diff)
use the primary key not the subkey
-rwxr-xr-xgpg-verify2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpg-verify b/gpg-verify
index 358b1c9..81669b8 100755
--- a/gpg-verify
+++ b/gpg-verify
@@ -28,7 +28,7 @@ if ! echo "$gpgv_out" | grep -qP '^\[GNUPG:\] VALIDSIG '; then
exit 3
fi
-verified_key="$(echo "$gpgv_out" | grep -P '^\[GNUPG:\] VALIDSIG ' | cut -d' ' -f3)"
+verified_key="$(echo "$gpgv_out" | grep -P '^\[GNUPG:\] VALIDSIG ' | cut -d' ' -f12)"
if [ -z "$verified_key" ]; then
exit 4