From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51790 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Verifying inline gpg signatures Date: Thu, 24 Apr 2003 17:47:10 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051199203 17236 80.91.224.249 (24 Apr 2003 15:46:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2003 15:46:43 +0000 (UTC) Original-X-From: ding-owner+M333@lists.math.uh.edu Thu Apr 24 17:46:36 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 198ivk-0004Sm-00 for ; Thu, 24 Apr 2003 17:46:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 198iwQ-0001eE-00; Thu, 24 Apr 2003 10:47:18 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 198iwL-0001e9-00 for ding@lists.math.uh.edu; Thu, 24 Apr 2003 10:47:13 -0500 Original-Received: (qmail 27525 invoked by alias); 24 Apr 2003 15:47:13 -0000 Original-Received: (qmail 27520 invoked from network); 24 Apr 2003 15:47:13 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 24 Apr 2003 15:47:13 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h3OFlA07028853 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Thu, 24 Apr 2003 17:47:10 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030424:ding@gnus.org:2fd42c5bdf0f990c X-Hashcash: 0:030424:ding@gnus.org:2fd42c5bdf0f990c In-Reply-To: (Jesper Harder's message of "Thu, 24 Apr 2003 04:09:43 +0200") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51790 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51790 Jesper Harder writes: > Jesper Harder writes: > > [We fail to detect inline PGP with format=flowed] > >> Simon Josefsson writes: >> >>> Perhaps mm-uu-dissect should be run on all text/plain parts? Or all >>> text/.* parts? Opinions? >> >> It's a step in the right direction ... but not enough. The problem is >> that text/plain parts with a format parameter haven't been QP decoded >> at this stage, so uu-dissect will fail. > > But I suppose making it work for non-QP encoded articles is better than > nothing? Unless it breaks something... > I first assumed that it wouldn't be useful because Gnus always QP > encodes inline PGP, so it didn't work when I tested it with a message > from Gnus. But the Mozilla plugin which probably generates all of the > problematic messages doesn't do it for us-ascii, so it works in that > case. > > Should we do it? IMHO the ideal seems to be to run the mm-uu stuff both before and after MIME processing. Perhaps even iteratively until no more actions can be performed. Of course, it would have to be careful to not infloop or some other silly thing. This way we could detect all UU things (shar archives, gnats, diff, binhex, yenc pgp, etc) no matter how deep. Consider a postscript file binhex encoded and PGP encrypted and then PGP signed.