Package: mutt
Version: 1.5.13-3

I'm using mutt 1.5.13-3 and gnupg 1.4.6-2, with the default crypto
options from /etc/Muttrc.  I have set the following additional
options in my muttrc:

set crypt_verify_sig=yes
set crypt_autosign=yes
set crypt_replysign=yes
set crypt_replyencrypt=yes
set crypt_replysignencrypted=yes
set pgp_use_gpg_agent=yes

When I send a test message to myself without any attachments, the
signature validates correctly.  However, if I attach anything to the
message, my signature does not validate; instead, it gives me a BAD
signature message.

I've attached 2 sample messages saved in mbox format from mutt; the
sig in "goodtest" worked, while the one in "badtest" didn't.

JMC
-- 
John-Marc Chandonia ([EMAIL PROTECTED])
http://www.dolorespark.org/
>From [EMAIL PROTECTED]  Tue Apr 24 18:29:38 2007
Return-Path: <[EMAIL PROTECTED]>
Received: from dolorespark.org (localhost [127.0.0.1])
        by dolorespark.org (8.13.8/8.13.8/Debian-3) with ESMTP id l3P1TZTN006251
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
        for <[EMAIL PROTECTED]>; Tue, 24 Apr 2007 18:29:35 -0700
Received: (from [EMAIL PROTECTED])
        by dolorespark.org (8.13.8/8.13.8/Submit) id l3P1TZ9t006248
        for jmc; Tue, 24 Apr 2007 18:29:35 -0700
Date: Tue, 24 Apr 2007 18:29:35 -0700
From: John-Marc Chandonia <[EMAIL PROTECTED]>
To: John-Marc Chandonia <[EMAIL PROTECTED]>
Subject: good test
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="DrWhICOqskFTAXiy"
Content-Disposition: inline
X-PGP-Key: http://dolorespark.org/jmc_pubkey.asc
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=ham 
        version=3.1.7-deb
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on 
        gateway.dolorespark.org
Status: RO
Content-Length: 605
Lines: 24

--DrWhICOqskFTAXiy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

this one validates as a good sig
--=20
John-Marc Chandonia ([EMAIL PROTECTED])
http://www.dolorespark.org/

--DrWhICOqskFTAXiy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGLq7/M4r+H0Gl7qwRAuJSAJ9faCjF5jo7fsJqAirQczv3+zw4KQCg8Ne6
r1n3+sKXWutVaHYdjh5siXE=
=yb2p
-----END PGP SIGNATURE-----

--DrWhICOqskFTAXiy--

>From [EMAIL PROTECTED]  Tue Apr 24 18:31:31 2007
Return-Path: <[EMAIL PROTECTED]>
Received: from dolorespark.org (localhost [127.0.0.1])
        by dolorespark.org (8.13.8/8.13.8/Debian-3) with ESMTP id l3P1VUHZ006344
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
        for <[EMAIL PROTECTED]>; Tue, 24 Apr 2007 18:31:30 -0700
Received: (from [EMAIL PROTECTED])
        by dolorespark.org (8.13.8/8.13.8/Submit) id l3P1VUZe006341
        for jmc; Tue, 24 Apr 2007 18:31:30 -0700
Date: Tue, 24 Apr 2007 18:31:30 -0700
From: John-Marc Chandonia <[EMAIL PROTECTED]>
To: John-Marc Chandonia <[EMAIL PROTECTED]>
Subject: bad test
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx"
Content-Disposition: inline
X-PGP-Key: http://dolorespark.org/jmc_pubkey.asc
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=ham 
        version=3.1.7-deb
X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on 
        gateway.dolorespark.org
Status: RO
Content-Length: 926
Lines: 38

--aM3YZ0Iwxop3KEKx
Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5"
Content-Disposition: inline

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This one will give a "BAD signature" error, after I attach something
and send it.

JMC
--=20
John-Marc Chandonia ([EMAIL PROTECTED])
http://www.dolorespark.org/

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="test.txt"

short text attachment

--FL5UXtIhxfXey3p5--
--aM3YZ0Iwxop3KEKx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGLq9xM4r+H0Gl7qwRAigBAJ47Dvmqn19B853RI55FAO8cBjLsCgCg1i1y
ns/Rg5iNMYZ1u/KTSH6EP+g=
=7XoZ
-----END PGP SIGNATURE-----

--aM3YZ0Iwxop3KEKx--

Reply via email to