From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54772 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg-signed messages and hyphens Date: Mon, 10 Nov 2003 20:13:46 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068491654 26560 80.91.224.253 (10 Nov 2003 19:14:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2003 19:14:14 +0000 (UTC) Original-X-From: ding-owner+M3313@lists.math.uh.edu Mon Nov 10 20:14:11 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJHUJ-0003yn-00 for ; Mon, 10 Nov 2003 20:14:11 +0100 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 1AJHUE-0002FL-00; Mon, 10 Nov 2003 13:14:06 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AJHUA-0002FG-00 for ding@lists.math.uh.edu; Mon, 10 Nov 2003 13:14:02 -0600 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id 7D5B93A004B for ; Mon, 10 Nov 2003 13:14:00 -0600 (CST) Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.10/8.12.10) with ESMTP id hAAJDv1L015914 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 10 Nov 2003 20:13:59 +0100 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:031110:ding@gnus.org:e45649cadd6647fd X-Hashcash: 0:031110:ding@gnus.org:e45649cadd6647fd In-Reply-To: (Norbert Koch's message of "Mon, 10 Nov 2003 18:12:18 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54772 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54772 Norbert Koch writes: > Hi! > > I take it, it's a feature that lines beginning with a couple of > hyphens are changed if I pgg-sign a message, ie > > --------- other stuff > > becomes > > - ------- other stuff > > so that the end marker can be searched for? Yes, it is called dash escaping, see RFC 2440. It is an open question whether Gnus should instead use QP for these message, and rewrite your line before signing into: %2d-------- other stuff This would prevent the PGP implementation of dash escape the message. The advantage is that the PGP output will be compatible with RFC 1991 and pre-OpenPGP implementations. The disadvantage is that QP is used, which is ugly and might potentially invalidate the signature if there is any MUA out there that perform QP decoding before PGP verification.