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

check-traditional-pgp oddity



Hi,

I just noticed something strange with mutt 1.5.4's handling of an inline pgp
message.  A message on the gnupg-users list began like this (indented so as
to hopefully not induce the same odd behavior I'm trying to explain):

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
      
    for x in *
    do
       cat ./passphrase | ./gpg --batch --passphrase-fd 0 --no-tty --out
    ${x#.*}.txt --decrypt $x
    done
      
      
    Isn't the Korn shell nice!

When I ran the check-traditional-pgp function on it (or, more accurately,
when it ran automatically thanks to Derek's auto_decode patch), The entire
for loop was missing.  Turning off the auto_decode option and calling
check-traditional-pgp manually produced the same results.

I do have a few pgp related patches installed, but none that I think should
cause this.  Anyone have any ideas about why this might happen and how it
could be fixed?  It seems rather strange that the check-traditional-pgp
function would strip out message text.

Here's the mutt -v output, in case anyone notices a patch that they think
might cause this:

Mutt 1.5.4i (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.20-19.7 (i686) [using slang 10405]
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  -USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +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="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.5.4.ddm.pgp-auto-decode.1
patch-1.5.4.dw.pgp-menu-traditional.2
patch-1.5.4.dw.crypt-autoselectkey.1
patch-1.5.4.dw.confirm-crypt-hook.1

-- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
When a man says he approves of something in principle, it means he hasn't
the slightest intention of carrying it out in practice.
    -- Prince Otto

Attachment: pgpw0nWl8MZyO.pgp
Description: PGP signature