Re: Lack of clarity in dash-escaped?

nagydani@epointsystem.org (Daniel A. Nagy) Wed, 30 November 2005 14:27 UTC

Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EhSvc-0003WF-Gd for openpgp-archive@megatron.ietf.org; Wed, 30 Nov 2005 09:27:24 -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 JAA22787 for <openpgp-archive@lists.ietf.org>; Wed, 30 Nov 2005 09:26:39 -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 jAUDwGg9096311; Wed, 30 Nov 2005 05:58:16 -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 jAUDwGqG096307; Wed, 30 Nov 2005 05:58:16 -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 jAUDwETF096283 for <ietf-openpgp@imc.org>; Wed, 30 Nov 2005 05:58:15 -0800 (PST) (envelope-from nagydani@epointsystem.org)
Received: by mail.epointsystem.org (Postfix, from userid 1001) id 0634D2B44AB; Wed, 30 Nov 2005 14:58:13 +0100 (CET)
Date: Wed, 30 Nov 2005 14:58:12 +0100
To: Ben Laurie <ben@algroup.co.uk>
Cc: OpenPGP <ietf-openpgp@imc.org>
Subject: Re: Lack of clarity in dash-escaped?
Message-ID: <20051130135812.GA13023@epointsystem.org>
References: <438D81A8.6090905@algroup.co.uk> <20051130130946.GA10317@epointsystem.org> <438DAAAA.70204@algroup.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <438DAAAA.70204@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>
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id JAA22787

On Wed, Nov 30, 2005 at 01:35:38PM +0000, Ben Laurie wrote:
> Daniel A. Nagy wrote:
> > On Wed, Nov 30, 2005 at 10:40:40AM +0000, Ben Laurie wrote:
> >> Does this mean they should not be included in the signature, or also
> >> that they should be stripped from the dash-escaped text?
> > 
> > It doesn't matter.
> 
> Of course it matters!

No, it does not. Either way, the signature will verify. It is up to the
implementation to strip or not to strip empty line endings. It can even
change them (e.g. add a few spaces and tabs after some of the line endings).

Canonization is an idempotent operation. Documents that are the same after
canonization are considered identical as far as text signaures go.

For pure ascii text, a printed clearsigned document, if typed back in, should
verify. Unfortunately, with unicode this is no longer the case, as there is a
whole bunch of different letters that look exactly the same (e.g. "o" and
"ะพ" -- the latin and cyrillic "o", repsectively). Actually, this is problem
for legal applications.

-- 
Daniel