Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/interpret-mail
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-29 15:06:31 +0200
committerErich Eckner <git@eckner.net>2017-08-29 15:06:31 +0200
commit7bdbbbc17bd2c93d112a372fa4871f86ccd79957 (patch)
tree685c73b8a3e5473980446811664be6d97a9f212c /bin/interpret-mail
parent4e94e05559de5776207d14fa2cf1ce5f61d3ee3f (diff)
bin/interpret-mail: print found signatures
Diffstat (limited to 'bin/interpret-mail')
-rwxr-xr-xbin/interpret-mail3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index 12b0520..9c33ff9 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -44,6 +44,9 @@ if [ -z "$(
uniq -d
)" ]; then
>&2 echo 'No valid signature found.'
+ grep '^\[GNUPG:] VALIDSIG ' "${tmp_dir}/gpg-status" | \
+ cut -d' ' -f3 | \
+ sort -u >&2
exit
fi