<<< Date Index >>>     <<< Thread Index >>>

mutt+gpg: signature verification reports 'PGP signature could NOT be verified'



I am using mutt 1.4.1i under Mandrake Linux 9.2 (full version info is
below).  I have followed the instructions in gpg.rc on making mutt
compatible with gpg.  

When verifying a well-signed message, mutt will present the successful
gpg output, e.g.,

   [-- Attachment #1 --]
   [-- Type: multipart/signed, Encoding: 7bit, Size: 1.1K --]
   
   [-- PGP output follows (current time: Thu 29 Jan 2004 03:36:43 PM EST) --]
   gpg: Signature made Thu 29 Jan 2004 02:28:29 PM EST using DSA key ID 6490CC10
   gpg: Good signature from "Peter Møller Neergaard <peter@xxxxxxxxxxxxxxxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxxxxxxxxxxx>"
   gpg:                 aka "Peter M\xf8\x6cler Neergaard <turtle@xxxxxxxxx>"
   gpg:                 aka "Peter M\xf8\x6cler Neergaard <turtle@xxxxxx>"
   gpg:                 aka "[jpeg image of size 5212]"
   [-- End of PGP output --]
   
   [-- The following data is signed --]
   
   ...

   [-- End of signed data --]

but in the message area at the bottom it will report:

   PGP signature could NOT be verified.

I have in vain tried running

  mutt -F /usr/share/doc/mutt-1.4.1i/samples/gpg.rc

to ensure that it was not something else in my setup conflicting with
the gpg.rc setup.  (That was the best advise I could get from the
following 3 year old thread:
http://monkey.org/openbsd/archive/ports/0108/msg00392.html.)

I have also tested that the error codes are correct when run from a
command line:

   pan:~ > /usr/bin/gpg   --no-verbose --quiet  --batch  --output - --verify 
sign2.txt msg.txt 
   gpg: Signature made Thu 29 Jan 2004 03:11:34 PM EST using DSA key ID 6490CC10
   gpg: Good signature from "Peter Møller Neergaard <peter@xxxxxxxxxxxxxxxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxx>"
   gpg:                 aka "Peter Møller Neergaard <turtle@xxxxxxxxxxxxxxx>"
   gpg:                 aka "Peter M\xf8\x6cler Neergaard <turtle@xxxxxxxxx>"
   gpg:                 aka "Peter M\xf8\x6cler Neergaard <turtle@xxxxxx>"
   gpg:                 aka "[jpeg image of size 5212]"
   pan:~ > echo $?
   0

I would appreciate suggestions on how to fix the problem.  

Best 

/Peter

My version info is here:

pan:~ > mutt -v
Mutt 1.4.1i (2003-03-19)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.22-26mdk (i686) [using ncurses 5.3]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.4.1.rr.compressed.1

-- 
http://www.linearity.org/turtle/contact.html 
``If we're an arrogant nation, they'll resent us.
If we're a humble nation but strong, they'll welcome us.''--George W. Bush