Re: [Tls-reg-review] Early code points for ECH

Christopher Wood <caw@heapingbits.net> Wed, 27 May 2020 18:13 UTC

Return-Path: <caw@heapingbits.net>
X-Original-To: tls-reg-review@ietfa.amsl.com
Delivered-To: tls-reg-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AFEF3A041C; Wed, 27 May 2020 11:13:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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=heapingbits.net header.b=jZcKfVyB; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=J8dZS7HT
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 eb6HV3rQXkjt; Wed, 27 May 2020 11:13:05 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86C2D3A0147; Wed, 27 May 2020 11:13:05 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CC1AD5C01D4; Wed, 27 May 2020 14:13:04 -0400 (EDT)
Received: from imap4 ([10.202.2.54]) by compute1.internal (MEProxy); Wed, 27 May 2020 14:13:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heapingbits.net; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=5K LUdT5F0vk8wlRmHiGdg72Mgr/kJUbEMzejm2Tw0HY=; b=jZcKfVyByByxuxHR24 j4Pb+6sHU7B6w7N9+AA+zZgn/F8H1ZM+r0ailC26lKV6w2NXRXrjgjLWvT3sjH3p g7C2bszcaH58U3jSQRi9QXgm+PFH1kdcEUk3tgfJRLsz5w2Fs03q4U+arxVI5WxR Bz2/eX3bGll8oWZ3uaAXHkthSReMyomx5CtSIBF1FoX4qZRol0mcpXm5ubyIL8SB G55ZTXkebyoIkCs6eBkTBuB0nqsswBOB5ScxkqeIqR6UhSKLlRXAtL8bd1BWCqNr dZ6C4NIrJAxJziGgf8qwwGqT7V/Z7rdQ7ooAjlGbQpfxjwM8SB8adycYHfvW8myV uSJQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=5KLUdT5F0vk8wlRmHiGdg72Mgr/kJUbEMzejm2Tw0 HY=; b=J8dZS7HTDR/84t7fBsloYxHRaRwI9WdMuMZTQA4MItWvQReTklUcNZnQ0 uz65ZD1MGvgPoZkVmH4Fz2c6IO+yMwZN27gL2DFtjbA8Wz9+B/v2oesFgcgvBvta gs+CGgqu7mw0y3zLajNPUHGJAUYoUdj22s6BXiqs9wjRjzAJ9o0nYwm4B7VLKxfI mjj2l5u68uV62G3ecTR7tMdtiEBFdy/kKwspxgDRqRvAPE1ez8e8zKCViTMS8aq5 R/xlmTjeX93oQHTNMk7CPUOVEYQ0VYNHwoS0jOi8EoC1uNqJu8On/cxT11Xi9FIh cbONoc3C24mrWRYdgw9M/6jE34rbg==
X-ME-Sender: <xms:sK3OXotzzyZ72BAuCCSySejO2ZGNcAPH7TvSoqHF8kQGl6EDrMPBWw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvgedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdev hhhrihhsthhophhhvghrucghohhougdfuceotggrfieshhgvrghpihhnghgsihhtshdrnh gvtheqnecuggftrfgrthhtvghrnhepleegffehtdeigfduheevffefffelgeffvedvhfei kedvveekveetvdegkeeugefhnecuffhomhgrihhnpehirghnrgdrohhrghdpihgvthhfrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep tggrfieshhgvrghpihhnghgsihhtshdrnhgvth
X-ME-Proxy: <xmx:sK3OXlcwPT74Ib2A9d_euTj1TJYiIR8YKjz8skhhU3TLDuc0V_drrA> <xmx:sK3OXjwXEHO83x0a9FK5Od3UVmUBsiFF9bLT51OjFVRhJh27YoYLgg> <xmx:sK3OXrM47SppCi00q8Ev9hUik6KHbH3RCibiPQJavDOyCM6NAYyChQ> <xmx:sK3OXtFfepuTpIfzXrZ7xUwrMPh3akV9cLkRMLXij_lsVRIjlp9eIQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id A55AC3C00A1; Wed, 27 May 2020 14:13:04 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-dev0-488-g9249dd4-fm-20200522.001-g9249dd48
Mime-Version: 1.0
Message-Id: <f6dcdf7d-85bb-4fb6-baf8-73bb7e8b7e18@www.fastmail.com>
In-Reply-To: <42AF0186-4CBB-49AD-9E9E-BCD34B385995@gmail.com>
References: <f8a52d53-9eee-4545-8e51-239a1113d7ca@www.fastmail.com> <20200526222155.GV58497@kduck.mit.edu> <685f0d09-ba06-4887-b039-5ba87b2271e2@www.fastmail.com> <608C29D8-AB1D-4EBE-874A-9A332D1B51D1@gmail.com> <cf98de83-835b-4b85-a925-91c09c23c6b9@www.fastmail.com> <42AF0186-4CBB-49AD-9E9E-BCD34B385995@gmail.com>
Date: Wed, 27 May 2020 11:12:44 -0700
From: Christopher Wood <caw@heapingbits.net>
To: Yoav Nir <ynir.ietf@gmail.com>
Cc: Benjamin Kaduk <kaduk@mit.edu>, "tls-reg-review@ietf.org" <tls-reg-review@ietf.org>, TLS Chairs <tls-chairs@ietf.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls-reg-review/cNZ4ljGvbjezAanUU1kmC21Oxck>
Subject: Re: [Tls-reg-review] Early code points for ECH
X-BeenThere: tls-reg-review@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TLS REVIEW <tls-reg-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls-reg-review>, <mailto:tls-reg-review-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls-reg-review/>
List-Post: <mailto:tls-reg-review@ietf.org>
List-Help: <mailto:tls-reg-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls-reg-review>, <mailto:tls-reg-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 May 2020 18:13:09 -0000

On Wed, May 27, 2020, at 10:57 AM, Yoav Nir wrote:
> Yes, I’m OK with early assignment of these values.
> 
> However, that is not how things are supposed to work. 
> 
> This is the registry: 
> https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#tls-extensiontype-values-1
> 
> Values 57-2569 are marked as Unassigned. That means that at any time 
> IANA can assign the values 57 and 58. If you deploy some program that 
> uses these values without IANA assignment, you may have 
> interoperability problems. That is what the “Reserved for Private Use” 
> ranges are for. You can pick a number there and test interoperability 
> among multiple implementations. When the draft gets approved, you 
> change your implementations to use the assigned values.
> 
> In this case the authors chose the numbers by predicting that these 
> will be the numbers assigned. They were right. I don’t know if they 
> have running implementations, but likely not any that are deployed at 
> scale. 
> 
> It sometimes happens that people pick a number and use that. This is 
> especially common in the ciphersuite registry: 
> https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
> 
> Just search for the phrase "Reserved to avoid conflicts with widely 
> deployed implementations” and see how many there are. Every one of them 
> is someone self-allocating a value.

Thanks -- I understand this. My general question was more along the lines of: is this the best strategy for experimental code points? (QUIC, in contrast, uses varints for code points, thereby removing much of this problem. Implementations just pick a random, long codepoint, and the chance of collision vanishes.)

Best,
Chris

> 
> > On 27 May 2020, at 19:58, Christopher Wood <caw@heapingbits.net> wrote:
> > 
> > On Wed, May 27, 2020, at 9:32 AM, Yoav Nir wrote:
> >> Any experimental extension should use something from the private use 
> >> range. For extensions that is 65282-65535.
> >> 
> >> The problem is when people want to keep their extension number after 
> >> standardization so they squat on code points.
> > 
> > Can you elaborate on this point? I'm not sure I follow. 
> > 
> > (As for ECH, are you OK with the early assignment?)
> > 
> > Thanks,
> > Chris
> > 
> >> 
> >>> On 27 May 2020, at 1:24, Christopher Wood <caw@heapingbits.net> wrote:
> >>> 
> >>> That's a good question. It seems we should have a documented policy or strategy for "extension experiments." (If there is one, I've either not seen it or [more likely] forgotten about it!)
> >>> 
> >>> On Tue, May 26, 2020, at 3:21 PM, Benjamin Kaduk wrote:
> >>>> On Tue, May 26, 2020 at 02:44:25PM -0700, Christopher Wood wrote:
> >>>>> Hi folks,
> >>>>> 
> >>>>> I'd like to kick off the early codepoint allocation process for ECH. We have two extensions that need codepoints. Based on the existing registry, I chose the next two unassigned values and proposed them in this PR:
> >>>> 
> >>>> Not really relevant to the current request, but I wonder whether the
> >>>> experts have opinions on sequential allocation vs. random allocation.
> >>>> 
> >>>> -Ben
> >>>> 
> >>> 
> >>> _______________________________________________
> >>> tls-reg-review mailing list
> >>> tls-reg-review@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/tls-reg-review
> >> 
>