Re: [Tls-reg-review] Temporary allocation of values for TLS extensions

Christopher Wood <caw@heapingbits.net> Sun, 28 June 2020 13:50 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 A72943A0CEA; Sun, 28 Jun 2020 06:50:22 -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=KkD+czrD; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=mdgDOVeF
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 V7bZ2rFV5DEo; Sun, 28 Jun 2020 06:50:21 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 276F23A0CE9; Sun, 28 Jun 2020 06:50:21 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 587C75C00FF; Sun, 28 Jun 2020 09:50:20 -0400 (EDT)
Received: from imap4 ([10.202.2.54]) by compute1.internal (MEProxy); Sun, 28 Jun 2020 09:50:20 -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=e/ C/NVBK8joXkvQxjQFIVKpepHYrU9yp1OhNXX4WSgQ=; b=KkD+czrDiSRPyVQjkd 5yrQBgJM9FlW6oX+MOAfwZDrqqDAqNygHswb6R66/jg3uzHvLUthzVq376MlZs/A aUZDEuYN0VYd13HTRG12tfjXtRW6kSbiGNu5pZ0sNZFXZwEDbBizH5xywmbN0Usk O86bnD6zpbmhngWnObhPpKooKEh+eT4rScNxOqPuJtW5TwrZS6bBMC+OYC/1BZlJ jVjOAWmwvwN/g7uzb6U7GVfoE7lhq9Q7Su8q3Q6vNI/uRLBs5vshTq2V5QYsay0j eHym1q8MgYVm3DkYXlcZcxD3fTFyabFNI1Z9D6i3oZ7QyKe6yNDVjMrlYdPj/8cY TN3w==
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=fm3; bh=e/C/NVBK8joXkvQxjQFIVKpepHYrU9yp1OhNXX4WS gQ=; b=mdgDOVeF7d1tBnz4zq01r2jVvA5fb1n001LCtOxP/5yG1FvN99NijjNSG tMCcSRWAV+YjX1eG8UItSbthNkRsQ6BXRefKLEFRYSmdrweuKtL9ejC3svtVBlG9 r+aD6oPb4sa45blKTOH3gXva0yNOOIRg12SLLf55YxSDM+77P20jRfwO6R81qcY+ TlAJIwzHBEkRnCDI0ZcYT6bMVyuWpQXLymJkg5PAil4J08hnTW0Va2dLpe1ME8oy 6STOpxfBZU/o3rVjAKc+kdar/mLTM/w9eVfqRmXZoxSiwm0vzvFyj3UMYcOlOQfr 6w4rv7yHsKXbpu5ZADkKufk07yLBA==
X-ME-Sender: <xms:HKD4XutPSZbDTn4HBp5WqvjsBLn4nzNsWz7h7dNfpvjtwJR0oqdsjA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeliedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfvehh rhhishhtohhphhgvrhcuhghoohgufdcuoegtrgifsehhvggrphhinhhgsghithhsrdhnvg htqeenucggtffrrghtthgvrhhnpeekffekveeghffgtdffieevudfgledthefhfedvvdeh leeivdegveegleefteejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegtrgifsehhvggrphhinhhgsghithhsrdhnvght
X-ME-Proxy: <xmx:HKD4XjdFnpl6N7BdAatcKYbZharXfCXpu8XZQ-cIwwRCywW7ijl35A> <xmx:HKD4Xpw6pxJcIsnLqFVujfM4dKaapBkeVgPPVwAkbf_ltw-_kcLgmA> <xmx:HKD4XpOIj8QoVwRId0CvUSL_z7wgA7xawajTBYAXkPFtxcgB-4MvUg> <xmx:HKD4Xknz6aF4jURQxBEpRz6pZbct1ZkIb7R5UA4aP09hkd1Voe1LXQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id E44E73C00A1; Sun, 28 Jun 2020 09:50:19 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-dev0-543-gda70334-fm-20200618.004-gda703345
Mime-Version: 1.0
Message-Id: <b2000468-9999-4c4f-93e6-8fe0b890dea1@www.fastmail.com>
In-Reply-To: <F5272E0D-CB0C-46F5-8D68-F4FF3A4C5A20@gmail.com>
References: <CAOgPGoAw9fQy6JeMKcx6Gqvb+5i8TmZsvY2n39G_rm_VRQa=jQ@mail.gmail.com> <F5272E0D-CB0C-46F5-8D68-F4FF3A4C5A20@gmail.com>
Date: Sun, 28 Jun 2020 06:49:59 -0700
From: Christopher Wood <caw@heapingbits.net>
To: Yoav Nir <ynir.ietf@gmail.com>, Joe Salowey <joe@salowey.net>
Cc: "tls-reg-review@ietf.org" <tls-reg-review@ietf.org>, Benjamin Kaduk <kaduk@mit.edu>, 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/mPWb8o9XPQEhwuEKQcQh215FUXQ>
Subject: Re: [Tls-reg-review] Temporary allocation of values for TLS extensions
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, 28 Jun 2020 13:50:23 -0000

On Fri, Jun 26, 2020, at 9:06 PM, Yoav Nir wrote:
> Two comments about this:
>  1. The extensionType registry ([1]) is expressed in decimal rather 
> than hex, so the allocation should be 64251-65279 rather than 
> 0xFAFB-0xFEFF.

We'll fix this.

>  2. We don’t generally set the columns for reserved ranges, like the 
> private-use
> 
> Otherwise, I’m not sure if we need a distinction between private-use 
> and experimental use. For interoperability, they’re the same: you can’t 
> count on this value to mean the same thing to your implementation and 
> the peer implementation absent some other handshake mechanism. That one 
> may be long term while the other should be short-term is largely 
> aspirational.

They're not the same, though. How does one know if someone else is squatting on a private-use code point? (Answer: you don't!) The purpose here is to allow people to run experiments without having to worry about these sorts of conflicts. QUIC works around this by making types variable length, so the probability of collision after selecting a random codepoint is negligible. Choosing a random code point from the TLS set we have here isn't negligible. So it seems our best bet is to make these private uses transparent.

Would you agree? If not, why not?
 
> But extensionType is hardly a scarce resource, so I’m fine with 
> allocating this range.

Great!

Thanks,
Chris