From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61891 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: Gnus 5.10.6 problems with PGP/MIME (test cases) Date: Wed, 08 Feb 2006 08:40:01 +0900 Message-ID: <69db08f1-ce38-4798-9ae9-dda603b2d59a@well-done.deisui.org> References: <19643.1137028354@juniper.net> <26554.1137393402@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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1139355672 25244 80.91.229.2 (7 Feb 2006 23:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2006 23:41:12 +0000 (UTC) Cc: mdb@gnu.org, mh-e-devel@lists.sourceforge.net, ding@gnus.org Original-X-From: ding-owner+m10420@lists.math.uh.edu Wed Feb 08 00:41:01 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6cS7-0005bK-Rv for ding-account@gmane.org; Wed, 08 Feb 2006 00:40:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6cS3-00064E-00; Tue, 07 Feb 2006 17:40:51 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6cRJ-000649-00 for ding@lists.math.uh.edu; Tue, 07 Feb 2006 17:40:05 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F6cRG-0005Q9-Lw for ding@lists.math.uh.edu; Tue, 07 Feb 2006 17:40:05 -0600 Original-Received: from 221x255x76x220.ap221.ftth.ucom.ne.jp ([221.255.76.220] helo=localhost) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6cRF-0000NJ-00 for ; Wed, 08 Feb 2006 00:40:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=well-done.deisui.org ident=ueno) by localhost with esmtp (Exim 4.60) (envelope-from ) id 1F6cRF-0000Aq-9S; Wed, 08 Feb 2006 08:40:01 +0900 Original-To: Katsumi Yamaoka X-Attribution: DU In-Reply-To: (Katsumi Yamaoka's message of "Tue, 07 Feb 2006 19:02:02 +0900") User-Agent: T-gnus/6.17.3 (based on No Gnus v0.3) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.2 XEmacs/21.4.16 (i686-pc-linux) MULE X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61891 gmane.mail.mh-e.devel:11600 Archived-At: >>>>> In >>>>> Katsumi Yamaoka wrote: > >>>>> In <8b63142a-b090-4783-a3a5-0832d7289f38@well-done.deisui.org> Daiki Ueno wrote: > >> In addition, do you have an idea to solve the ^Ms problem that I > >> mentioned above? > > Is it not enough that we simply omit pgg-as-lbt from > > pgg-gpg-encrypt-region? > > For MIME encryption, it is MUA (not PGP libraries) that should be > > responsible for converting LF to CRLF in encrypted messages since MIME > > encryption is only applicable to messages in MIME canonical format. > I agree all MUAs should do it, though I'm not sure whether all > of them do so. > > For non-MIME encryption, line-ending conversion is not needed at all. > Hm, I need to consider it further. Probably I don't have enough > understanding of gpg. I suspect you are confused with the distinction between the MUA (Gnus) and the PGP library (PGG). PGG provides a general facility to use PGP commands from Emacs and is now used by a program other than Gnus. What I suggested was to make all input to pgg-encrypt-region (for PGP/MIME encryption) MIME canonical format with CRLF line-endings by Gnus and remove line-end conversion code from PGG. BTW, would you please revert the the --textmode patch until the real problem is clear to us? FYI, I found that two major MUA (Mozilla Thunderbird with Enigmail, and Mew) which call gpg command internally do NOT use --textmode even when non-MIME encryption. Regards, -- Daiki Ueno