Re: New thread about PGP sigs, part 1: Mutt disagrees with g…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Author: Claus Assmann
Date:  
To: mutt-users
Subject: Re: New thread about PGP sigs, part 1: Mutt disagrees with gpg
On Thu, Sep 22, 2016, Ian Zimmerman wrote:

> ... and I still get BAD sig from mutt.


You can debug what mutt does:

set pgp_verify_command="/tmp/v %s %f"

where /tmp/v is some simple script like:

cat "$1" >/tmp/sig
cat "$2" >/tmp/body

so now you have what mutt considers the body and the signature and
you can invoke gpg on it yourself, e.g.,

gpg --verify /tmp/sig /tmp/body

and you can compare these files with those that you used as input
for your gpg check.