Re: Outstanding question - rule on cleartext signing last line

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

Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1Eqsq3-0001HP-81 for openpgp-archive@megatron.ietf.org; Mon, 26 Dec 2005 08:56:37 -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 IAA18766 for <openpgp-archive@lists.ietf.org>; Mon, 26 Dec 2005 08:55:26 -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 jBQDh6Gp067285; Mon, 26 Dec 2005 05:43:06 -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 jBQDh6AD067284; Mon, 26 Dec 2005 05:43:06 -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 (120.156-228-195.hosting.adatpark.hu [195.228.156.120]) by above.proper.com (8.12.11/8.12.9) with ESMTP id jBQDh5st067276 for <ietf-openpgp@imc.org>; Mon, 26 Dec 2005 05:43:05 -0800 (PST) (envelope-from nagydani@epointsystem.org)
Received: by mail.epointsystem.org (Postfix, from userid 1001) id 1171E2B4799; Mon, 26 Dec 2005 14:43:04 +0100 (CET)
Date: Mon, 26 Dec 2005 14:43:04 +0100
To: OpenPGP <ietf-openpgp@imc.org>
Subject: Re: Outstanding question - rule on cleartext signing last line
Message-ID: <20051226134303.GA24812@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>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <43AFE21B.1000102@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 12:29:15PM +0000, Ben Laurie wrote:
> 
> David Shaw wrote:
> > On Thu, Dec 08, 2005 at 01:23:01PM +0100, Werner Koch wrote:
> >> On Thu, 08 Dec 2005 11:43:48 +0000, Ian G said:
> >>
> >>> But I think we need to hear from the PGP Inc and GPG
> >>> architects on this?
> >> I recall that we tweaked gpg's behaviour in this regard until all
> >> users were satisfied.  Thus I'd say not to add new requirement to the
> >> specs.
> > 
> > I agree.  I think the spec is just fine in this regard: the final CRLF
> > (the one before the "-----BEGIN PGP SIGNATURE-----") is not part of
> > the signature.  That allows for the GPG behavior to preserve the
> > presence or lack of line ending on the last line.
> 
> However, it doesn't. This strikes me as a bug both in GPG and in the spec.

Yes it does. GPG behaves slightly differently with messages entered from the
console, but that makes a lot of sense, too. I don't see any bugs in either
the specs and GPG. I have coded up my own OpenPGP implementation based on
the spec (http://pgp.epointsystem.org/tool) and it interoperates perfectly
with GPG.

-- 
Daniel