Hello Rocco,

 On Monday, April 22, 2002 at 9:47:28 PM +0200, Rocco Rutte wrote:

> When I look at mails which verify okay with gpg, mutt sometimes says
> the signature could not be verified.

 -1) set pgp_good_sign="^gpg: Good signature from" (or your real
localized GnuPG output string)

 -2) If point 1 doesn't help, set this wrapper script:

-------- >8 -------- /tmp/gpg-test-wrapper -------- >8 --------
#!/bin/sh

gpg $*
ret=$?
echo " GPG RETURN VALUE = $ret" >&2
# echo "gpg: Good signature from somebody" >&2
exit $ret
-------- >8 -------- >8 --------------- >8 -------- >8 --------

    Then type in shell:

chmod 755 /tmp/gpg-test-wrapper

    In gpg.rc modify $pgp_decode_command and $pgp_verify_command to
replace "gpg" by the wrapper, not touching the parameters. The first
command is used to verify traditional sigs, the second for PGP/MIME sigs
only. Something as:

set pgp_decode_command="/tmp/gpg-test-wrapper %?p?--passphrase-fd 0? --no-verbose 
--quiet --batch --output - %f"
set pgp_verify_command="/tmp/gpg-test-wrapper --no-verbose --quiet --batch --output - 
--verify %s %f"

    Then verify a problem mail, and send me a screen dump.


Bye!    Alain.

Reply via email to