[openpgp] Re: Fwd: I-D list for Open Specification for Pretty Good Privacy notification: Changes to draft-gallagher-openpgp-code-point-exhaustion
Justus Winter <justus@sequoia-pgp.org> Wed, 19 March 2025 07:59 UTC
Return-Path: <justus@sequoia-pgp.org>
X-Original-To: openpgp@mail2.ietf.org
Delivered-To: openpgp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 8EAA9E86C27 for <openpgp@mail2.ietf.org>; Wed, 19 Mar 2025 00:59:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (4096-bit key) header.d=sequoia-pgp.org
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v2WBpFScH-ux for <openpgp@mail2.ietf.org>; Wed, 19 Mar 2025 00:59:01 -0700 (PDT)
Received: from mailgate02.uberspace.is (mailgate02.uberspace.is [185.26.156.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 68EC2E86BD9 for <openpgp@ietf.org>; Wed, 19 Mar 2025 00:59:01 -0700 (PDT)
Received: from harrington.uberspace.de (harrington.uberspace.de [185.26.156.85]) by mailgate02.uberspace.is (Postfix) with ESMTPS id 1BD0F1814D6 for <openpgp@ietf.org>; Wed, 19 Mar 2025 08:58:56 +0100 (CET)
Received: (qmail 26128 invoked by uid 500); 19 Mar 2025 07:58:56 -0000
Authentication-Results: harrington.uberspace.de; auth=pass (plain)
Received: from unknown (HELO unkown) (::1) by harrington.uberspace.de (Haraka/3.0.1) with ESMTPSA; Wed, 19 Mar 2025 08:58:55 +0100
From: Justus Winter <justus@sequoia-pgp.org>
To: Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org>, IETF OpenPGP <openpgp@ietf.org>
In-Reply-To: <B321DC63-56E0-44C2-96AA-D60205C148B2@andrewg.com>
References: <174231559348.277.2581535826712330509@dt-celery-57d64c6895-fcmg2> <B321DC63-56E0-44C2-96AA-D60205C148B2@andrewg.com>
Date: Wed, 19 Mar 2025 08:58:54 +0100
Message-ID: <87tt7p8n9d.fsf@europ.lan>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Rspamd-Bar: --
X-Rspamd-Report: BAYES_HAM(-0.001368) SIGNED_PGP(-2) MIME_GOOD(-0.2)
X-Rspamd-Score: -2.201368
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sequoia-pgp.org; s=uberspace; h=from:to:subject:date; bh=YpwcmxsbZewpUY2nb6/iVdb1a6M7EkTbLCt1Xb8Ruz0=; b=JSHbhwv0qGwvj2Q6e7foDl3ajOvlwC3Ri7QXfcCwLXY1dxyReYPLxtiJKL31sZNiOyLcfVLTve Cui2/wCGSrXj0+mukhLaIFJIa/kucY8MHvQ4EnJsYRlE2sCkl4iK84V3lzU9NXAs1GK5Ms0/fJOG TQC23iujY9TXgHKM1cOmiC7Zj4vMIvorn1BL1Sp66p6KquSdpS7aHEzrNKbA3TX4nuU8dMBVZVCp 1Ig0pSgSjNA8uO/4NxLgwqbP6AFhnkXuFL7q3uZGQdQ+GnR6zIc2qAAzf7+a2h2SImSHCOWeddeo /quyufQF2ypKbM2fGZCpetjZWKLQh4Q+i2G89xFOWhQhkRTCEoGJcBDWfS3JmY1S6XCCT3w9HJYH HxlkI0lzoYfn1+m7Utlmiw5ybtpYQIduPou74RqQArhUqiweyfvqhXAAZlUtdRVdejbFWXVpkS9W RfNJEE4DX+RXlA9nvVUOrufrrht2XS2KD3pf9I1nset4Ib09AJ/IQc1mTxBMy6d1D+dIG6nkwm+x UgGzESHTpcedqwWxBvdO2SrKWloaGseq4Cb3OgmLy0KtEwjIoVFrdUSrCzMbyyxCNHEVMASmysBb W1HLN3M+Rw4YPOAYi91j5hL5IRQB2cLIfbB6Fi3qMTqkUdpkdHTn/Yon92OWeRFah91uO85YOFD+ 0=
Message-ID-Hash: AO53RGKWCYOCYVFFWMWG7NIDJPECR4TL
X-Message-ID-Hash: AO53RGKWCYOCYVFFWMWG7NIDJPECR4TL
X-MailFrom: justus@sequoia-pgp.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-openpgp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [openpgp] Re: Fwd: I-D list for Open Specification for Pretty Good Privacy notification: Changes to draft-gallagher-openpgp-code-point-exhaustion
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/wleJvd7NcmoJe-ps5yH7OsdQhsA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Owner: <mailto:openpgp-owner@ietf.org>
List-Post: <mailto:openpgp@ietf.org>
List-Subscribe: <mailto:openpgp-join@ietf.org>
List-Unsubscribe: <mailto:openpgp-leave@ietf.org>
Hi Andrew, Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org> writes: > tl;dr: please keep code points >=128 free, because if at some point in > the future we needed to extend the algorithm registry to more than a > single octet, having these code points available would let us define a > UTF8-like self-synchronising encoding that would be fully backwards > compatible with all existing wire formats. I'm not a fan of this. First, we discussed code point exhaustion while working on RFC9580, and decided that it is not a concern. We are nowhere near exhausting any code point space, not even the relatively tiny packet tag space. Then, you couldn't use multi-byte code points in any existing packet version, because that would turn what every software on this planet expects to be a fixed-size field into a variable-sized field, and failing to understand the scheme leads to catastrophic loss of parser synchronization (maybe with security implications). Therefore, multi-byte code points can only be used in newer packet versions. But, if we design new packet versions, we can just make them use a two-byte field for the code point in question, and say that the new algorithms must only be used with the new packet version. You bring up the comparison with UTF-8. For text, we are interested in storing it efficiently, and are okay with a complex encoding. I don't think this holds for our code points. And even if storage efficiency were a concern, a two-byte code point, or even a four-byte code point, compares very favorably with OIDs. Finally, your solution to the (again, non-existant) code point scarcity makes the problem worse by halving the existing space. Best, Justus
- [openpgp] Fwd: I-D list for Open Specification fo… Andrew Gallagher
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Daniel Huigens
- [openpgp] Re: I-D list for Open Specification for… Andrew Gallagher
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Justus Winter
- [openpgp] Re: I-D list for Open Specification for… Andrew Gallagher
- [openpgp] Re: I-D list for Open Specification for… Justus Winter
- [openpgp] Re: I-D list for Open Specification for… Andrew Gallagher
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Heiko Schäfer
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Justus Winter
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Heiko Schäfer
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Justus Winter
- [openpgp] Re: Fwd: I-D list for Open Specificatio… Daniel Huigens
- [openpgp] Re: I-D list for Open Specification for… Andrew Gallagher
- [openpgp] Re: I-D list for Open Specification for… Daniel Huigens