Re: [TLS] [ECH] Reverting the config ID change

Martin Thomson <mt@lowentropy.net> Tue, 16 February 2021 23:01 UTC

Return-Path: <mt@lowentropy.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07B673A1259 for <tls@ietfa.amsl.com>; Tue, 16 Feb 2021 15:01:08 -0800 (PST)
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=lowentropy.net header.b=Su+t7B/W; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=o520J04y
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 b74M0nMgfMF2 for <tls@ietfa.amsl.com>; Tue, 16 Feb 2021 15:01:06 -0800 (PST)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D4B53A125B for <tls@ietf.org>; Tue, 16 Feb 2021 15:01:06 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 500075C01C7 for <tls@ietf.org>; Tue, 16 Feb 2021 18:01:05 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Tue, 16 Feb 2021 18:01:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=oijpo8fDxRIIYiPQBPJ9Bxrp+wQC8z3 lrZNqL7cn9B4=; b=Su+t7B/WCiM3dJfEqi/4m29iq/h/6iXYyT+r1dthmx5kAM+ 6s88D2sO4IOlbYa2dvLbGN5BT6QvXod0oBVavUqnzcIgYHSSn56RM0xeCJiRbGa6 PzqNFz1IN7zvpgOagrnkSnT+V1i0aMsOx6uTvDNj4KrWS/d/cOG+T0cjSmy10aqb QVK9eR8O6WEXZfwB9H/vlRHmQvOOJ6+Zd/LpWMDi3GX/gKULdaE/iwb5HwlwZSxO Zql0Rl11JjUGbMLz9yVm+jAhgpWH1pp4G4sZ26Lwdi0P8Ztn06DvPJz0YyGqny9i tkQ6LsAiKgibjEeeoxKHAukeX7NPyE3d97dmclg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=oijpo8 fDxRIIYiPQBPJ9Bxrp+wQC8z3lrZNqL7cn9B4=; b=o520J04yHzCIiek4EIw0gW wwGeVIDYCdNPAgRvdb42q5Pb+UK4T+6OzcksZU2+7yq+PNYnE0NEoaIOWXASV7Jm X/mdCoyAYMKTTKBuL6cj13eGnU7RB3D0tmL+a9qZVbCxyDGgFHxDQdmIeF36UrYV XOrydCh6BdfkzIVXcPKDE90Nz42kmKQnSup0tmG9x5aJXzvOWPbMkMhohO5ow+9h fXIIjKe7RlbLsvaugN33FxQzSLfmVx657YfC9bQfisZpPFiU1XF/Rhup8TNhvz9g jYAK5HDLUoBmvC2sbu//EYjPA0bmo4zuWOMjw6E2+iOZRzY/u4jOKw7hWi5oeMAQ ==
X-ME-Sender: <xms:sE4sYIuEE4mY9Dfnu6zDCu8FamshZxDG1aBLb-YXv780rCYtgprpnw> <xme:sE4sYFdtfuidODhlI4ZtEDzF0xTec_0Q59_dGcyG4O5XSQZ_9uy77-Q6T5HFDjj79 YryFJHQwwgQwZMFFvI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjedugddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdforghrthhinhcuvfhhohhmshhonhdfuceomhhtsehlohif vghnthhrohhphidrnhgvtheqnecuggftrfgrthhtvghrnhepkeetueeikedtkeelfeekve fhkeffvedvvefgkefgleeugfdvjeejgeffieegtdejnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:sE4sYDwQpcn_TDXK22F2iDyltfQ0uNN-z_m8fzuvzqlXnymXFy5ipQ> <xmx:sE4sYLM9EWxKkY3hHor8hjbTl3OJj77lMnst_fOFPZmkO_8c-2WOKw> <xmx:sE4sYI_bDdht8MVcKj0dRzEYoEeDE457FCdSZQObXBerRN6vnaRwEg> <xmx:sU4sYLLVPdRtR7k_Fe8P_OgsSTj8SRQP3bDDgyJO2x_qVLcGj2utvg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9F12A4E0081; Tue, 16 Feb 2021 18:01:04 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-141-gf094924a34-fm-20210210.001-gf094924a
Mime-Version: 1.0
Message-Id: <045be108-4716-4c0b-8b8b-03aa28c73be0@www.fastmail.com>
In-Reply-To: <e55a60e4-e948-4cc5-ad1a-0a1086485305@www.fastmail.com>
References: <e44be9d1-bd0a-4e99-b092-b1b21c517b0e@www.fastmail.com> <7925717a-bcba-4b29-b12b-b47e622c62b3@www.fastmail.com> <CABcZeBO20+09dZ+9ckdm=N-RigMh_O+Svx3m51NsXZY1QFZ73Q@mail.gmail.com> <e55a60e4-e948-4cc5-ad1a-0a1086485305@www.fastmail.com>
Date: Wed, 17 Feb 2021 10:00:45 +1100
From: Martin Thomson <mt@lowentropy.net>
To: tls@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/oUW4wCZTKASespbIu-TPkchnRQM>
Subject: Re: [TLS] [ECH] Reverting the config ID change
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Feb 2021 23:01:08 -0000

On Wed, Feb 17, 2021, at 08:31, Christopher Wood wrote:
> That's true, but I'd personally prefer one tracking vector to two. This 
> structure also better aligns with other proposed use cases for HPKE 
> configurations. I also don't see an immediate need for flexibility in 
> this value given that there are extensions in ECHConfigContents already.

I don't see the tracking angle as relevant here.  The only things that might matter is size, collision probability (for greasing), and consistency.  Size doesn't matter, because it's a handful of bytes at most; collisions matter little because the cost is a resource the server is prepared to spend anyway; consistency with something that can also change isn't worth much.

The primary argument I would have in support of this is YAGNI.  The number of active keys should be much smaller than 256, and there's a slot for extensions should that need arise.