aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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