aboutsummaryrefslogtreecommitdiff
path: root/bin/gpg-check
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 15:53:55 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 15:53:55 -0500
commitd87bd3ddaa696c6a60528d99783aa33db6e8f214 (patch)
tree7c665bef4e2da83e1e9f51419284c7907195732c /bin/gpg-check
parentSwitch to powerline10k prompt after god knows how many years of wunjo (diff)
Drop a bunch of old config files
Diffstat (limited to 'bin/gpg-check')
-rwxr-xr-xbin/gpg-check17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/gpg-check b/bin/gpg-check
deleted file mode 100755
index 79948c9..0000000
--- a/bin/gpg-check
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-MSG=$(cat)
-
-echo "${MSG}" | grep 'BEGIN PGP SIGNATURE' > /dev/null 2>&1;
-SIGNED=$?
-
-if [ ${SIGNED} = 0 ]; then
- echo "${MSG}" | \
- sed -e '/^-\+BEGIN PGP SIGNED MESSAGE-\+/,/^Hash:.*/d' \
- -e '/^-\+BEGIN PGP SIGNATURE-\+/,$d' | \
- mutt-autoalias
- echo '\n'
- echo "${MSG}" | gpg --verify - 2>&1;
-else
- echo "${MSG}" | mutt-autoalias
-fi