[TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-prediction next steps
Bob Beck <beck@obtuse.com> Tue, 10 September 2024 22:12 UTC
Return-Path: <beck@obtuse.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 5352FC18DB9D for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 15:12:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.827
X-Spam-Level:
X-Spam-Status: No, score=0.827 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, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=obtuse.com
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 sHzb2qQhOGNw for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 15:12:35 -0700 (PDT)
Received: from h198-166-139-10.ptr.cidc.telus.com (h198-166-139-10.ptr.cidc.telus.com [198.166.139.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DB00C18DB9A for <tls@ietf.org>; Tue, 10 Sep 2024 15:12:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obtuse.com; s=20200401; t=1726006353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I/2TbvjjBUuldqvqxObucWpFgVwutmWe/g+4A5Mkh1I=; b=BevMsZzmPn6T9lw38YQUA91gV9wjm7JrUil/pstasGQLO3YyIyyxLWA+xnEqe1ssKzEJ5d xN3wWCii52blXF19tZwKRayDOIav63Ux0TUjBY5Ji1V9mNyLowsb/ql9GLGpsDTX8UScUZ ymovpB+sJ40swIczqA8ZKfb1/XUR9+0=
Received: from smtpclient.apple (<unknown> [192.168.20.3]) by mail.obtuse.com (OpenSMTPD) with ESMTPSA id fb05fc78 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 10 Sep 2024 16:12:33 -0600 (MDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
From: Bob Beck <beck@obtuse.com>
In-Reply-To: <CAMjbhoXj55Lmz_n2fUHjO76zHcrXeo2ca=Y98To+scZhybv9Dw@mail.gmail.com>
Date: Tue, 10 Sep 2024 16:12:22 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <5CB777DE-7C4C-468B-8B5B-15DC6573B138@obtuse.com>
References: <CAF8qwaAU+cRapAc3xnySXiq2nOTXAFvLQYdWNC6rXdFj8iA39w@mail.gmail.com> <DS7PR21MB37163D5C728E7917A939E30D8C9A2@DS7PR21MB3716.namprd21.prod.outlook.com> <CAMjbhoXj55Lmz_n2fUHjO76zHcrXeo2ca=Y98To+scZhybv9Dw@mail.gmail.com>
To: Bas Westerbaan <bas=40cloudflare.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3776.700.51)
Message-ID-Hash: BNMJMA2BFTPXMVMPCQQYWXEC4SAFIHWO
X-Message-ID-Hash: BNMJMA2BFTPXMVMPCQQYWXEC4SAFIHWO
X-MailFrom: beck@obtuse.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
CC: Bob Beck <beck@obtuse.com>, Andrei Popov <Andrei.Popov=40microsoft.com@dmarc.ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [TLS] Re: [EXTERNAL] 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/rjkolACVYhJHoebHQI1GLiWhwjM>
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>
I also believe this should move forward. > On Sep 10, 2024, at 4:05 PM, Bas Westerbaan <bas=40cloudflare.com@dmarc.ietf.org> wrote: > > Same. > > On Tue, Sep 10, 2024 at 11:51 PM Andrei Popov <Andrei.Popov=40microsoft.com@dmarc.ietf.org> wrote: > I support staying the course, continuing work on the key share prediction draft and allocating the code point. > Cheers, > Andrei > From: David Benjamin <davidben@chromium.org> > Sent: Tuesday, September 10, 2024 2:40 PM > To: <tls@ietf.org> <tls@ietf.org> > Subject: [EXTERNAL] [TLS] draft-ietf-tls-key-share-prediction next steps > 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 mailing list -- tls@ietf.org > To unsubscribe send an email to tls-leave@ietf.org > _______________________________________________ > TLS mailing list -- tls@ietf.org > To unsubscribe send an email to tls-leave@ietf.org
- [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