From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69823 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: Accepting x-pkcs7-signature Date: Fri, 23 Jul 2010 17:53:16 +0900 Message-ID: References: <87y6d3z0f4.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279875209 7956 80.91.229.12 (23 Jul 2010 08:53:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 08:53:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18213@lists.math.uh.edu Fri Jul 23 10:53:26 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcE0T-0002Qg-MW for ding-account@gmane.org; Fri, 23 Jul 2010 10:53:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OcE0L-0000Ry-Ol; Fri, 23 Jul 2010 03:53:17 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OcE0K-0000Rj-3Z for ding@lists.math.uh.edu; Fri, 23 Jul 2010 03:53:16 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OcE0I-0000me-58 for ding@lists.math.uh.edu; Fri, 23 Jul 2010 03:53:16 -0500 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by quimby.gnus.org with smtp (Exim 3.36 #1 (Debian)) id 1OcE0G-0003iL-00 for ; Fri, 23 Jul 2010 10:53:13 +0200 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 23 Jul 2010 17:53:09 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o6N8r8EW032252 for ; Fri, 23 Jul 2010 17:53:09 +0900 In-Reply-To: <87y6d3z0f4.fsf@randomsample.de> (David Engster's message of "Thu, 22 Jul 2010 23:11:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69823 Archived-At: Hi David, David Engster writes: > I still have this old patch lying around, which lets Gnus accept > signatures with a x-pkcs7-signature MIME type, instead of just > "pkcs7-signature". Agreed. > Does anyone see a problem with this patch? I admittedly have not tested it yet, but: > --- mml-smime.el.~7.23.~ 2008-05-19 10:47:42.000000000 +0200 > +++ mml-smime.el 2008-09-17 11:56:12.000000000 +0200 > @@ -520,10 +520,14 @@ > ctl 'protocol) > "application/pkcs7-signature") ^^ this line should also be changed to accept "x-pkcs7-signature"? > t))) > - (null (setq signature (mm-find-part-by-type > - (cdr handle) > - "application/pkcs7-signature" > - nil t)))) > + (null (setq signature (or (mm-find-part-by-type > + (cdr handle) > + "application/pkcs7-signature" > + nil t) > + (mm-find-part-by-type > + (cdr handle) > + "application/x-pkcs7-signature" > + nil t))))) Regards, -- Daiki Ueno