Re: Outstanding question - rule on cleartext signing last line

nagydani@epointsystem.org (Daniel A. Nagy) Mon, 26 December 2005 21:44 UTC

Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Er08h-0000sp-Hg for openpgp-archive@megatron.ietf.org; Mon, 26 Dec 2005 16:44:19 -0500
Received: from above.proper.com (above.proper.com [208.184.76.39]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA06984 for <openpgp-archive@lists.ietf.org>; Mon, 26 Dec 2005 16:43:09 -0500 (EST)
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id jBQLWF8K032953; Mon, 26 Dec 2005 13:32:15 -0800 (PST) (envelope-from owner-ietf-openpgp@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id jBQLWFJo032952; Mon, 26 Dec 2005 13:32:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-openpgp@mail.imc.org using -f
Received: from mail.epointsystem.org ([195.228.156.120]) by above.proper.com (8.12.11/8.12.9) with ESMTP id jBQLWEgq032944 for <ietf-openpgp@imc.org>; Mon, 26 Dec 2005 13:32:15 -0800 (PST) (envelope-from nagydani@epointsystem.org)
Received: by mail.epointsystem.org (Postfix, from userid 1001) id E62102B4799; Mon, 26 Dec 2005 22:32:13 +0100 (CET)
Date: Mon, 26 Dec 2005 22:32:13 +0100
To: OpenPGP <ietf-openpgp@imc.org>
Subject: Re: Outstanding question - rule on cleartext signing last line
Message-ID: <20051226213213.GC24812@epointsystem.org>
References: <43980274.2080404@iang.org> <20051208104150.GA14918@epointsystem.org> <43981C74.1070403@systemics.com> <87bqzrhj6i.fsf@wheatstone.g10code.de> <20051208145205.GA5943@jabberwocky.com> <43AFE21B.1000102@algroup.co.uk> <20051226134303.GA24812@epointsystem.org> <43B0227F.8090704@algroup.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <43B0227F.8090704@algroup.co.uk>
User-Agent: Mutt/1.5.6+20040907i
From: nagydani@epointsystem.org
Sender: owner-ietf-openpgp@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-openpgp/mail-archive/>
List-Unsubscribe: <mailto:ietf-openpgp-request@imc.org?body=unsubscribe>
List-ID: <ietf-openpgp.imc.org>

On Mon, Dec 26, 2005 at 05:03:59PM +0000, Ben Laurie wrote:

> I have just tested GPG yet again, and cleartext signatures of two files,
> one without a newline at the end, and one with, look identical:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> test
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (FreeBSD)

Yepp, that's a bug in GPG and it does not follow from the spec. My
implementation does not do that. In my opinion, the correct behavior would
be reversible.
The output of gpg --clearsign should be identical to that converted from the
output of gpg -ts.

-- 
Daniel