[TLS] draft-ietf-tls-key-share-prediction next steps
David Benjamin <davidben@chromium.org> Tue, 10 September 2024 21:40 UTC
Return-Path: <davidben@google.com>
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 D81E3C14CF18 for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 14:40:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.404
X-Spam-Level:
X-Spam-Status: No, score=-9.404 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.148, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRj1fX2ysUlG for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 14:40:38 -0700 (PDT)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B411AC14F6EA for <tls@ietf.org>; Tue, 10 Sep 2024 14:40:38 -0700 (PDT)
Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5c24c92f699so6589633a12.2 for <tls@ietf.org>; Tue, 10 Sep 2024 14:40:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1726004436; x=1726609236; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Wyxq6+IKaIFvMGCF5+QYHCBd0j8Z6wkn3FL0L4HUCRQ=; b=PdzeQdaINHKircivMOpUo1tsH8reDI3bUSvezY0lRjBywnuixcG2dkCP1Q6CcM6NnK AhYA8XTYIcXecL/cE+lER669/YovJT6n5nGipErr4RPPy2mV0yNLUDIyOZHke6iZ7a7f p5jqsr8RfJqXlLzJpkwmpkuVJwYYAZgRjv4ZU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726004436; x=1726609236; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Wyxq6+IKaIFvMGCF5+QYHCBd0j8Z6wkn3FL0L4HUCRQ=; b=wcgpObMX+1YyyaFOOqRrgxuhVUDkcQfMUt11qVgm/tvvmk5j68552WxBaSSlqLGkiO /MmMojfHZ8xLlBD6BXeQeuCSDFlZ4wAhj/9nxCHBX/owRrffrycbFMY40Xlt4gsCg1Um Jxogltkq11XPV+gnibxRSgFaUDlu5XlvyI8EhGIf7GivktvDQvxNhb+5j/7tKkhXfGHM nh+s+NsDMJOUuZposAasjvD7XMXMN5QAEJdL8dM2eF9ZQNKSN6NzN5Cgh2rWPDTIqI4B 4VbtzTJuy4e/9hxe6QqO+Irt24xYIHE9eYbD2nualH8fVO/faMP6XQldOwP9lcrwk0qu RmSw==
X-Gm-Message-State: AOJu0YyuBHvahxcc+KzA4jv1YAE8zXFavK6h4CTUm+EIBj8WJNliwgaY YvQ3HFQvpfmA+/m3cq1Ic50YW1Uymt9dVKOB6MbI+ljYJMmZDlMBv9RfhbBrtk5tzXuKpoXJ5qW 6VoNQuaB/WF3rUVqxsLrfEVT772wpTtjnqm0d4zmD9Y4RNtgYlNY=
X-Google-Smtp-Source: AGHT+IHfsUUpGss2ZQOVmPwwo21A94ZSe6ExQCFwXwJ5q0ueiWu5Pm8IDbR9RX5YIF948Arv3DUXzCtO9sVolv9bLzI=
X-Received: by 2002:a05:6402:529a:b0:5c2:6dde:ad07 with SMTP id 4fb4d7f45d1cf-5c3dc79bf49mr11470271a12.20.1726004435764; Tue, 10 Sep 2024 14:40:35 -0700 (PDT)
MIME-Version: 1.0
From: David Benjamin <davidben@chromium.org>
Date: Tue, 10 Sep 2024 17:40:19 -0400
Message-ID: <CAF8qwaAU+cRapAc3xnySXiq2nOTXAFvLQYdWNC6rXdFj8iA39w@mail.gmail.com>
To: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000471f1c0621cab977"
Message-ID-Hash: 7V66K7X4SMCABUFPJB3QFLM7Q6C7IRED
X-Message-ID-Hash: 7V66K7X4SMCABUFPJB3QFLM7Q6C7IRED
X-MailFrom: davidben@google.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [TLS] draft-ietf-tls-key-share-prediction next steps
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/ewj6QrA7NeG1FrgNJUnmd1roeRg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>
Hi all, Now that we're working through the Kyber to ML-KEM transition, TLS 1.3's awkwardness around key share prediction is becoming starkly visible. (It is difficult for clients to efficiently offer both Kyber and ML-KEM, but a hard transition loses PQ coverage for some clients. Kyber was a draft standard, just deployed by early adopters, so while not ideal, I think the hard transition is not the end of the world. ML-KEM is expected to be durable, so a coverage-interrupting transition to FancyNewKEM *would* be a problem.) We adopted draft-ietf-tls-key-share-prediction in June to address this. There hasn't been a whole lot to do on it since. I've cut a new draft, draft-ietf-tls-key-share-prediction-01, with some very minor changes that were queued up in GitHub. I'd like to sort out next steps and move forward. Beyond that, there are a couple of minor issues in the issue tracker. I don't believe either of these need to block getting a codepoint. https://github.com/tlswg/tls-key-share-prediction/issues/4 - unless folks think otherwise, I plan to just leave this alone and close this https://github.com/tlswg/tls-key-share-prediction/issues/7 - unless folks think otherwise, I plan to just leave this alone and not require the receiver to check Finally, there's the question of downgrade protection: https://github.com/tlswg/tls-key-share-prediction/issues/11 For some background if folks have forgotten, the original key share prediction draft included a ton of complexity to accommodate existing server behavior that would preferentially pick groups out of key_share even if an otherwise more preferred group was in supported_groups. Depending on what the server was trying to do there, this could be perfectly fine (if the server believes the groups are comparable in security) or a downgrade risk (if the server actually believed they were in different security classes---PQ vs classical---but implemented a key_share-first selection algorithm anyway). Pre-adoption, my original draft took the position that it was ambiguous and we cannot safely assume the server knew what it was doing. It designed a scheme to clarify the semantics going forward and use codepoints to ratchet in whether the server implemented the new semantics. https://www.ietf.org/archive/id/draft-davidben-tls-key-share-prediction-00.html After WG discussion, I think we broadly concluded the semantics were actually already present in RFC 8446, and it was not worth the trouble to second-guess the servers here. That led to the much simpler draft, which simply discusses why this is OK in security considerations: https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations As I wrote that text, I unsurprisingly agree with and am fine with this outcome. :-) But there was some chatter about it in the adoption thread (see GitHub link), so I filed the issue so we continued to discuss it. I think perhaps now is the time to discuss it, if we're going to. Do folks want to discuss it? Are there alternate proposals, or should we just stay the course? Unless we have an alternate proposal, I propose we just stay the course and go with [what I understand the conclusion to be from] the previous WG discussion. If there are no further significant changes that folks want to make, I would like to propose we get a codepoint for this and unblock implementation. The earlier this is ready, the more likely that we will be prepared by the time the next KEM transition happens. Thoughts? David
- [TLS] draft-ietf-tls-key-share-prediction next st… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… John Mattsson
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Andrei Popov
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Bas Westerbaan
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Bob Beck
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Loganaden Velvindron
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Ilari Liusvaara
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Kampanakis, Panos
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Adrian
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Kampanakis, Panos
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Eric Rescorla