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

Benjamin Kaduk <kaduk@mit.edu> Sun, 31 May 2020 18:19 UTC

Return-Path: <kaduk@mit.edu>
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 0078B3A0B0B; Sun, 31 May 2020 11:19:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YzDL4nSP7V6Z; Sun, 31 May 2020 11:19:17 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 9B49E3A0B0A; Sun, 31 May 2020 11:19:17 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 04VIJATv025064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 31 May 2020 14:19:12 -0400
Date: Sun, 31 May 2020 11:19:09 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Christopher Wood <caw@heapingbits.net>
Cc: Yoav Nir <ynir.ietf@gmail.com>, "tls-reg-review@ietf.org" <tls-reg-review@ietf.org>, TLS Chairs <tls-chairs@ietf.org>
Message-ID: <20200531181909.GT58497@kduck.mit.edu>
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> <f6dcdf7d-85bb-4fb6-baf8-73bb7e8b7e18@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <f6dcdf7d-85bb-4fb6-baf8-73bb7e8b7e18@www.fastmail.com>
User-Agent: Mutt/1.12.1 (2019-06-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls-reg-review/J4DLn-wcoBGf-2k4k4tqP9vbu44>
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: Sun, 31 May 2020 18:19:19 -0000

On Wed, May 27, 2020 at 11:12:44AM -0700, Christopher Wood wrote:
> 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.)

Perhaps a discussion best had in a broader forum...

-Ben