Re: [openpgp] whitespace definitions in OpenPGP [was: Re: I-D Action: draft-ietf-openpgp-crypto-refresh-01.txt]

vedaal@nym.hush.com Tue, 16 February 2021 19:29 UTC

Return-Path: <vedaal@nym.hush.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DEBD3A0FC7 for <openpgp@ietfa.amsl.com>; Tue, 16 Feb 2021 11:29:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hush.ai
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RUcgSDfDe_me for <openpgp@ietfa.amsl.com>; Tue, 16 Feb 2021 11:29:23 -0800 (PST)
Received: from smtp2.hushmail.com (smtp2.hushmail.com [65.39.178.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1ECF53A0FC5 for <openpgp@ietf.org>; Tue, 16 Feb 2021 11:29:21 -0800 (PST)
Received: from smtp2.hushmail.com (localhost [127.0.0.1]) by smtp2.hushmail.com (Postfix) with SMTP id A097FA01F6 for <openpgp@ietf.org>; Tue, 16 Feb 2021 19:29:20 +0000 (UTC)
X-hush-tls-connected: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hush.ai; h=date:to:subject:from; s=hush; bh=ZLsMUU+y/5teswcAFVqcczze67toichkHnckc8JMjGs=; b=O85HWhOVVTjTHenI8GOGsjsPGBZvT0SNwDRVTgK2u2Z2jtCH2/cfwjlRpZvvjLMkoirpgrBU2TCPxuK9/3pD1bdUOsu7x1RLpMsfLCXwaQcUL3fmwpqsL5EI5kEl1820taGcIRDSW3Q8lA3qFltrXmJGcVu1CdY/gMYp6GrpBTPocQSefK3KDNVyLpuouDq+F//PHY7QhIJPvoWNMJmLwl7LqmOCNgon94TYr2G8bSfginC6ZUQ5UO3K0e1ra5na3XW18eWsdxuqrNC+vH7UADvJvBzx+9RSakhZJwLR9kff+paJDEuCE0VVRmFfVJP2GhwQZRzSeJBNzP2UJH89jA==
Received: from smtp.hushmail.com (w6.hushmail.com [65.39.178.92]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp2.hushmail.com (Postfix) with ESMTPS; Tue, 16 Feb 2021 19:29:20 +0000 (UTC)
Received: by smtp.hushmail.com (Postfix, from userid 48) id 0D38B827BB0; Tue, 16 Feb 2021 19:29:20 +0000 (UTC)
MIME-Version: 1.0
Date: Tue, 16 Feb 2021 14:29:19 -0500
To: "Daniel Kahn Gillmor" <dkg@fifthhorseman.net>, "openpgp" <openpgp@ietf.org>
From: vedaal@nym.hush.com
In-Reply-To: <871rdguej2.fsf@fifthhorseman.net>
References: <161254580617.29620.7114088127291075805@ietfa.amsl.com> <76fe41fc-f14e-fe3c-db02-7e5b7629dc8a@gmx.net> <1612693541055.92697@cs.auckland.ac.nz> <fe95a37d-7853-fa7b-f8ce-49b60928206b@andrewg.com> <YCVSa3CWuRIV17ry@thunder.hadrons.org> <87blckvqa5.fsf@fifthhorseman.net> <87h7mcl6mx.fsf@wheatstone.g10code.de> <871rdguej2.fsf@fifthhorseman.net>
X-hush-end-of-body-position: 39
Content-Type: multipart/alternative; boundary="=_37900dcc8f47a48544e43d2b3e04fd1e"
Message-Id: <20210216192920.0D38B827BB0@smtp.hushmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/Lz_scYndMNBIx1KbN1GUTVGJnXA>
Subject: Re: [openpgp] whitespace definitions in OpenPGP [was: Re: I-D Action: draft-ietf-openpgp-crypto-refresh-01.txt]
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Feb 2021 19:29:25 -0000


On 2/16/2021 at 12:08 PM, "Daniel Kahn Gillmor"  wrote:
Proposals for additional cases to test
would also be useful.

=====
PDF renders an empty line as whitespace, even if there is a line
return.

This functionally means that the empty line after the PGP header and
the Cyphertext
will be interpreted as being omitted, even if copied from the PDF.

If it is possible, I would suggest that both cases be accepted, 
i.e.  with a LR/empty line after the header and the cyphertext,
and if no such empty line exists.
vedaal