Re: [Fwd: [PGP-USERS] Word Wrap Problems with PGP 9.0.3]

nagydani@epointsystem.org (Daniel A. Nagy) Thu, 08 December 2005 10:55 UTC

Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EkJR1-00038F-IA for openpgp-archive@megatron.ietf.org; Thu, 08 Dec 2005 05:55:35 -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 FAA28474 for <openpgp-archive@lists.ietf.org>; Thu, 8 Dec 2005 05:54:41 -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 jB8AfrWc037216; Thu, 8 Dec 2005 02:41:53 -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 jB8AfqwE037212; Thu, 8 Dec 2005 02:41:53 -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 jB8AfpIf037199 for <ietf-openpgp@imc.org>; Thu, 8 Dec 2005 02:41:52 -0800 (PST) (envelope-from nagydani@epointsystem.org)
Received: by mail.epointsystem.org (Postfix, from userid 1001) id 879EF2B47CD; Thu, 8 Dec 2005 11:41:50 +0100 (CET)
Date: Thu, 08 Dec 2005 11:41:50 +0100
To: Ian G <iang@iang.org>
Cc: OpenPGP <ietf-openpgp@imc.org>
Subject: Re: [Fwd: [PGP-USERS] Word Wrap Problems with PGP 9.0.3]
Message-ID: <20051208104150.GA14918@epointsystem.org>
References: <43980274.2080404@iang.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <43980274.2080404@iang.org>
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 Thu, Dec 08, 2005 at 09:52:52AM +0000, Ian G wrote:

> (I never did see a resolution to that question?
> What then was the rule on the last newline?)

In order for the cleartext signed message to verify, there is no need to add
another newline; the standard allows for text messages where the last line
is not terminated. GPG actually REMOVES the last newline, if the input comes
from the console, in order to allow for cleartext messages with an
unterminated last line. I like this feature a lot.

If terminating the last newline is not required, then one-pass signed and
clearsigned text messages can be converted back-and-forth without access to
the secret key (or any cryptography, for that matter). I think this feature
is worth preserving.

Thus, I propose not requiring the termination of the last line (and not
terminating it automagically).

-- 
Daniel