From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44560 Path: main.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.gnus.general Subject: Re: mml1991.el patch (was gpg.el) Date: Wed, 01 May 2002 12:37:15 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87r8kw17dw.fsf@deneb.enyo.de> References: <87wuuupjhi.fsf@deneb.enyo.de> <7kmqjt4d.fsf@mail.ru> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020249634 4167 127.0.0.1 (1 May 2002 10:40:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 1 May 2002 10:40:34 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 172rXF-000156-00 for ; Wed, 01 May 2002 12:40:34 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 172rUa-0007cJ-00; Wed, 01 May 2002 05:37:48 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 May 2002 05:38:01 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA07084 for ; Wed, 1 May 2002 05:37:48 -0500 (CDT) Original-Received: (qmail 26704 invoked by alias); 1 May 2002 10:37:30 -0000 Original-Received: (qmail 26699 invoked from network); 1 May 2002 10:37:29 -0000 Original-Received: from cygnus-ext.enyo.de (HELO mail.enyo.de) (212.9.189.162) by gnus.org with SMTP; 1 May 2002 10:37:29 -0000 Original-Received: from [212.9.189.171] (helo=deneb.enyo.de) by mail.enyo.de with esmtp (Exim 3.34 #2) id 172rU9-0005AH-00 for ding@gnus.org; Wed, 01 May 2002 12:37:21 +0200 Original-Received: from fw by deneb.enyo.de with local (Exim 3.34 #4) id 172rU3-0000X0-00 for ding@gnus.org; Wed, 01 May 2002 12:37:15 +0200 Original-To: ding@gnus.org In-Reply-To: <7kmqjt4d.fsf@mail.ru> (Dmitry Bely's message of "Mon, 29 Apr 2002 21:45:54 +0400") Original-Lines: 26 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44560 Dmitry Bely writes: > OK, that's not the gpg.el bug. The problem is that > > (1) (mm-body-encoding) does not allow 8bit encodings for PGP-signed > messages and returns base64 for some code pages (e.g. for Russian > koi8r) For clearsigned messages (that's the stuff mml1991.el is for), or for OpenPGP/MIME-signed messages? It should be necessary only in the latter case. > (2) (mml1991-gpg-sign) always assumes that it gets qp-encoded text, so it > fails if base64-encoded one is supplied. > > Here is the patch that fixes this issue (I am neither the very experienced > Lisp programmer nor Gnus hacker, so if you feel that I did something the > wrong, please correct me) IMHO, your change is wrong from an architectural point of view. mml1991.el signatures should be applied *after* we have generate the octet stream which is to be sent, but *before* Content-Transfer-Encoding is applied. But I'll check with OpenPGP WG to be sure that this is the right approach to clearsigned messages and MIME.