[TLS] Re: Deployability of DTLS 1.3, HRR, and MLKEM512X25519
Ilari Liusvaara <ilariliusvaara@welho.com> Mon, 02 November 2026 18:33 UTC
Received: from smtp.dnamail.fi (sender001.dnamail.fi [83.102.40.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id F06C746 for <tls@ietf.org>; Mon, 02 Nov 2026 18:33:28 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=welho.com header.s=2025-03 header.b=Rv4EaVvZ; spf=pass (mx.ietf.org: domain of ilariliusvaara@welho.com designates 83.102.40.178 as permitted sender) smtp.mailfrom=ilariliusvaara@welho.com; dmarc=pass (policy=none) header.from=welho.com
Received: from localhost (localhost [127.0.0.1]) by smtp.dnamail.fi (Postfix) with ESMTP id A17662113E0C for <tls@ietf.org>; Mon, 2 Nov 2026 20:33:22 +0200 (EET)
X-Virus-Scanned: X-Virus-Scanned: amavis at smtp.dnamail.fi
Received: from smtp.dnamail.fi ([83.102.40.178]) by localhost (dmail-psmtp01.s.dnaip.fi [127.0.0.1]) (amavis, port 10024) with ESMTP id xMzhTPWR005v for <tls@ietf.org>; Mon, 2 Nov 2026 20:33:22 +0200 (EET)
Received: from LK-Perkele-VII2 (91-145-84-170.bb.dnainternet.fi [91.145.84.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hliusvaa@dnamail.internal) by smtp.dnamail.fi (Postfix) with ESMTPSA id 043DB2113E00 for <tls@ietf.org>; Mon, 2 Nov 2026 20:33:21 +0200 (EET)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 043DB2113E00
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=welho.com; s=2025-03; t=1793644402; bh=5oA5mxnmJd/TpTz8UQ1go16ow00hzvuCslS86hFj59A=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Rv4EaVvZYSxLZCKNFw9i6ghak7MliVq24AAfFbYu5ArTb6/pHMXN3WBVB1LDU4BbQ gFFOG2AhE4t4dEH8pire/UPscTZBw40ZB2Ddl5QZX7fyseb+H6E2bpkYX2NiMrY02e Pg36A0Hu6LzQpHz+XWP4dgZIOE9sRPTkE5ys8wgxRZ0NyqLozGOwR+4ZVeSzR1YmNF 655o3knRZo0C/8QA8msJv6Py8kB70TJ7KBJI2D9O3mQF4IlMEZ1fXDxKhYcp089qlr HNmTTosPpHsod9FP8fDirjfEL6aeQtnk4EUQJPT6KWrUUUD/NmLrVHiT3wQu8KLNuN 4/WLovIK2y4AQ==
Date: Mon, 02 Nov 2026 20:33:21 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "<tls@ietf.org>" <tls@ietf.org>
Message-ID: <aujXcRArICw7rS5h@LK-Perkele-VII2.locald>
References: <AS4PR07MB882587C4F9F2AE3F9447B25189A92@AS4PR07MB8825.eurprd07.prod.outlook.com> <e316cd94-ecb2-4c7c-a021-8b5c0dcc289c@gmx.net> <CALtcm6Tpp0tbL2_Moibe5NTRsKazB5euD0qTVSkd36_7P45wFg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CALtcm6Tpp0tbL2_Moibe5NTRsKazB5euD0qTVSkd36_7P45wFg@mail.gmail.com>
Sender: ilariliusvaara@welho.com
X-Spamd-Bar: -----------------------
Message-ID-Hash: EQQ2IBH7K4AJVELAZRDVRS3QSDRFLA5G
X-Message-ID-Hash: EQQ2IBH7K4AJVELAZRDVRS3QSDRFLA5G
X-MailFrom: ilariliusvaara@welho.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-tls.ietf.org-0; header-match-tls.ietf.org-1; header-match-tls.ietf.org-2; header-match-tls.ietf.org-3; header-match-tls.ietf.org-4; header-match-tls.ietf.org-5; header-match-tls.ietf.org-6; header-match-tls.ietf.org-7; header-match-tls.ietf.org-8; header-match-tls.ietf.org-9; header-match-tls.ietf.org-10; header-match-tls.ietf.org-11; header-match-tls.ietf.org-12; header-match-tls.ietf.org-13; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [TLS] Re: Deployability of DTLS 1.3, HRR, and MLKEM512X25519
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/jttlPgzuE7CQbzrcL4yNm21Bhm8>
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>
On Sat, Oct 31, 2026 at 06:44:15PM -0700, Eric Rescorla wrote: > I've been doing some thinking about the issue with CH fragmentation > and DTLS HRR. The basic challenge seems to be the combination of > several factors: > > 1. CH1 spanning multiple datagrams which need to be reassembled > 2. The server wanting to force a stateless round-trip check > 3. Wanting to have both the round-trip check and key share correction > in the same round trip. > 4. CH1 being included in the transcript > > I don't think that there is a complete server-side only fix for this > [0], because the server needs to be able to reassemble the entire CH1 > to put into the transcript, but it can't do that without some state, > either to reassemble CH1 (so it can put it in the HRR cookie) or to > store the other CH1 fragments while it waits for CH2. This leaves us > with the question of what the best technical approach is. There's also ECH, which is its own bag of fun. Making that quantum-safe with present algorithms is going to blow the MTU: Currently the smallest algorithm is ML-KEM-512 (eew), which has 800 byte key and 768 byte ciphertext. 800+768=1568>1500. In the following, I will just ignore ECH. > At a high level, I think there are two main approaches: > > * Have a separate stateless round-trip check that doesn't also do key > share correction This might not be workable. I think that without state, the server has to do key agreement on round 1, for each transmission of CH1. That looks like something that could wind up being CPU or uplink DoS on server side. > * Try to do everything in one round trip but put enough restrictions > on CH1 to allow the server to operate based only on the first > fragment (MT's recent post is an example of this). One pitfall is that the PSK data is important for server decisions, and it is always in the last fragment of the (main) client hello. (The extension is special and required to be the last.) And AFAIK, with exception of list of shares and PSKs offered in CH1, CH1 being included in the transcript only guards against client changing the offer in ways it should not do. (The list of shares offered can alter the group selection.) > ISTM that the second approach has a number of challenges. > > 1. Because the server hasn't seen the other fragments of CH1, it may > not be able to reconstruct the transcript if they change in CH2 > (KeyShares or the PSK binder). Removing the CH1 from transcript would require the client to send the offered groups and PSKs list from CH1 in CH2. The offered groups list can be very compact, PSK list is less so. > 2. The server needs to be able to determine whether HRR is required > seeing only the first fragment. This is a particular problem > because KeyShare is both the big extension (hence likely to span > messages) and the one that is likely to trigger HRR. As said above, PreSharedKey is another one. -Ilari
- [TLS] Deployability of DTLS 1.3, HRR, and MLKEM51… John Mattsson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Martin Thomson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Marco Oliverio
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Martin Thomson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… John Mattsson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Frederik Wedel-Heinen
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Ryan Hooper (ryhooper)
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… John Mattsson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Martin Thomson
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… David Benjamin
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Hannes Tschofenig
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Eric Rescorla
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Hannes Tschofenig
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Ilari Liusvaara
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Stephen Farrell
- [TLS] Re: Deployability of DTLS 1.3, HRR, and MLK… Martin Thomson