From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61922 Path: news.gmane.org!not-for-mail From: "Mark D. Baushke" Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.gnus.general Subject: Re: Gnus 5.10.6 problems with PGP/MIME (test cases) Date: Wed, 08 Feb 2006 22:40:11 -0800 Message-ID: <82735.1139467211@juniper.net> References: <19643.1137028354@juniper.net> <25107.1137439020@olgas.newt.com> <73630.1137440939@juniper.net> <31430.1137488443@juniper.net> <85906.1137521874@juniper.net> <53032.1137578648@juniper.net> <8b63142a-b090-4783-a3a5-0832d7289f38@well-done.deisui.org> <26653.1139305204@juniper.net> <9bda6607-510b-468c-bd1e-ec9b8865cdd2@well-done.deisui.org> <15566.1139355525@juniper.net> <7334ab51-5c86-4d97-92cb-21f2e7debd8d@well-done.deisui.org> <086fafe1-6999-41f0-8a3d-cf042757aeef@well-done.deisui.org> <89375.1139412469@juniper.net> <82f83936-8fb8-44a4-bb15-949ca44b6e72@well-done.deisui.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="==-=-=" X-Trace: sea.gmane.org 1139467270 11019 80.91.229.2 (9 Feb 2006 06:41:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 06:41:10 +0000 (UTC) Cc: Daiki Ueno , ding@gnus.org, mh-e-devel@lists.sourceforge.net Original-X-From: mh-e-devel-admin@lists.sourceforge.net Thu Feb 09 07:41:07 2006 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F75UH-0000xw-2O for gmmd-mh-e-devel@m.gmane.org; Thu, 09 Feb 2006 07:41:05 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 50C4D12895; Wed, 8 Feb 2006 22:41:04 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F75Tg-000388-Of for mh-e-devel@lists.sourceforge.net; Wed, 08 Feb 2006 22:40:28 -0800 Original-Received: from colo-dns-ext2.juniper.net ([207.17.137.64]) by mail.sourceforge.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.44) id 1F75Tf-0004Sw-KW for mh-e-devel@lists.sourceforge.net; Wed, 08 Feb 2006 22:40:28 -0800 Original-Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id k196eC1Z095080; Wed, 8 Feb 2006 22:40:12 -0800 (PST) (envelope-from mdb@juniper.net) Original-Received: from juniper.net (sapphire.juniper.net [172.17.28.108]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id k196eB530303; Wed, 8 Feb 2006 22:40:11 -0800 (PST) (envelope-from mdb@juniper.net) Original-To: Katsumi Yamaoka In-Reply-To: X-Mailer: MH-E 7.91+cvs; nmh 1.0.4; GNU Emacs 21.3.1 X-Face: #8D_6URD2G%vC.hzU, List-Id: Forum for the MH-E developers List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Wed, 08 Feb 2006 22:40:11 -0800 Xref: news.gmane.org gmane.mail.mh-e.devel:11612 gmane.emacs.gnus.general:61922 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --==-=-= Content-Transfer-Encoding: quoted-printable Well, the patch didn't work cleanly in my gnus-5.10.6 tree, so I did this: cvs -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot co -r v5-10 gnus cd gnus ./configure --prefix=3D~/elisp/gnus-5.10.6+cvs make make install and then added the new directory to my load-path and re-compiled my MH-E. It may be due to the new version, but I am now seeing that mixing a '#secure method=3Dpgp mode=3Dsignencrypt' section along with a '#part type=3D"text/plain "filename=3D"~msg1.txt" disposition=3Dattachment description=3D"a copy of the message as an attachment"' '#/part' (all inside angle brackets where appropraite) somehow only does a mode=3Dencrypt on the message.) I also notice that if I have a message with a 0x0D character in it or full \r\n line endings and I just send a encrypted text message with method=3Dpgp, that the resulting decoded message uses \n line endings on my FreeBSD box and all 0x0D characters have been removed. However, if I attach a DOS format file with \r\n line endings to a message that has \r\n line endings, that the resulting decoded message has a '=3D0xD' on the end of all of the lines that were originally \r\n line endings. Thanks, -- Mark The really odd thing about this mesage was that I secified | <#secure method=3Dpgp mode=3Dsignencrypt sender=3D0x6B039C51> | abc=0D | efg=0D | hij=0D | =0D | This file has control-M characters at the end of each line.=0D |=20 - --==-=-= Content-Disposition: attachment; filename=msg1.txt Content-Transfer-Encoding: quoted-printable Content-Description: a copy of the message as an attachment abc=0D efg=0D hij=0D =0D This file has control-M characters at the end of each line.=0D - --==-=-= the 'method=pgp mode=signencrypt' should have generated a signed and encrypted message, but instead it only generated an encrypted message. To: mdb@gnu.org From: "Mark D. Baushke" Subject: test message X-Mailer: MH-E 7.91+cvs; nmh 1.0.4; GNU Emacs 21.3.1 Date: Wed, 08 Feb 2006 22:33:40 -0800 [[PGP Encrypted Part:OK]] - --=-=-= Content-Transfer-Encoding: quoted-printable abc=0D efg=0D hij=0D =0D This file has control-M characters at the end of each line.=0D - --=-=-= Content-Disposition: attachment; filename=msg1.txt Content-Transfer-Encoding: quoted-printable Content-Description: a copy of the message as an attachment abc=0D efg=0D hij=0D =0D This file has control-M characters at the end of each line.=0D - --=-=-=-- [[End of PGP Encrypted Part]] For completeness, here is the MH-E version I am using: M-x mh-version RET MH-E 7.91+cvs MH-E compilation details: Byte compiled: yes Gnus (compile-time): Gnus v5.10.7 Gnus (run-time): Gnus v5.10.7 GNU Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars) of 2003-07-11 on rat48.juniper.net nmh 1.0.4 mh-progs: /usr/local/bin mh-lib: /usr/local/etc/nmh mh-lib-progs: /usr/local/libexec/nmh FreeBSD sapphire.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Wed Sep 15 14:24:39 PDT 2004 root@mailspare2.juniper.net:/usr/obj/usr/src/sys/mailspare2 i386 - --==-=-=-- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFD6uPLCg7APGsDnFERAvrCAJwLYYwapxKZqBh110oYfHbmU1r65wCfQETf hT8RO4C1zf1kC3itgVapRSg= =mU3E -----END PGP SIGNATURE----- --==-=-=-- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642