[TLS] Re: Deployability of DTLS 1.3, HRR, and MLKEM512X25519
Eric Rescorla <ekr.ietf@gmail.com> Sun, 01 November 2026 01:44 UTC
Received: from mail-yx2-x02.google.com (mail-yx2-x02.google.com [IPv6:2607:f8b0:4864:41::2]) (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 6989B4A for <tls@ietf.org>; Sun, 01 Nov 2026 01:44:27 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=gmail.com header.s=20260707 header.b=S7IjyU0l; spf=pass (mx.ietf.org: domain of ekr.ietf@gmail.com designates 2607:f8b0:4864:41::2 as permitted sender) smtp.mailfrom=ekr.ietf@gmail.com; dmarc=pass (policy=none) header.from=gmail.com; arc=pass ("google.com:s=arc-20260327:i=1")
Received: by mail-yx2-x02.google.com with SMTP id 00721157ae682-8b0fa446a94so5291887b3.1 for <tls@ietf.org>; Sat, 31 Oct 2026 18:44:27 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1793497467; cv=none; d=google.com; s=arc-20260327; b=RwC1N+wNptJ2hpOax0fYiEJS2SbTcFFTtTIpPWMUxFv0GbZPhKf6Twiomi9TQlOJKQ dLesYhc9U7gd8fFCNvglEeXDOYO2tksgluKdskwUbs0sMtjPBGM0l/moVYCekjeFPCUw L5hHrrJF+fcOmWVooGBvuFYiH+dYID2q3UosPRZGqoZc+O843Qx/mDAwHjtyYgaOP4yx Un3JI+vm1fJKaFdaz6aBP6IgMrG7R6pFa+h4SXpBOtrd0H9cxB3OkME26TVJnmSPEfL5 Ea22lX9mTMrkB3Pd2pdwOtOTQRABMosrQAILTNH93t77yMJAnT1LDEF8K4HvDKmGWVCb EMtA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Y9Yopi9WuK8Kx6hDq73Ze9+Q7YMvhtqDMUwfs7vCQf8=; fh=Q+Nr0IKiWQkwTDw47AjppTNq3WiTpC5yyFNt1QdXaHw=; b=g/9yWLmwxHVr9RLDvreHak4PdR4mhsWqa29MSQU8YErjOruhsPlI1DZMtxqSgiwfRG t6TEfn+iplZq3+98JbUnZkrL4MR3hMVjS13NRlT3fFTE5XQHulmtIy6FEX7h56cA+zv2 bka+/zE/gQmmyltmmg6jc6djWH5QkeBNkJw6mgqw14rCAdslStYR/XXsO3eF1DQ3Y2c2 8iS9dtCI1q2A25ngr0I34SDRXG3rLyo6C0nQuP7rkn4VSTrwgr3AxC2jR4XEMJ2+BALe RxJLR4mGgmWlDtIL7ckSzRawMaJI0gP/tzzjAREVdSohklu0CwIvvk8rRFhUgN3ygSQW cEfw==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793497467; x=1794102267; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Y9Yopi9WuK8Kx6hDq73Ze9+Q7YMvhtqDMUwfs7vCQf8=; b=S7IjyU0l4Tpp29J9Io5TXLeGWmYZZFfQidGTLIDY/c9fvTQ3xN7qWBgouIiLIJdD9U RMUDBNNBTZS8YX516CHMEyYPCTABRZWfmFDk6xbpWcrTXgKc6tXE5/CzOd8x6eC+sxOa IpauLjeZQGyynYnaG9ed9NTULU8vYVI5RxLrKndNI2Jowez5hI1ha8wFY7ROdXkuqU+Z O2JTNAJhGvB91+pXOkZhDlkHeLjQBaaW9HUqtpac66wbbqOIlvsLtq3fCPn0IRJaM+U3 GAm9c+ODIk5nTsGt74FpDkYTWMLUpiJ9cRRRaffRRj48BhASAzHw5uKbnVtFyq6vC8d9 U4cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793497467; x=1794102267; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Y9Yopi9WuK8Kx6hDq73Ze9+Q7YMvhtqDMUwfs7vCQf8=; b=ALhyk0IIPxBVA+hCQOtAOKyELXrGFEKlPArnhLzKYcUIDS+zYGKpDDXJvA8Yspir8Z yp5AGSb9G2F61Zp/7gi7xurn3p2vSvIVMIGueTDa7WngmjGDwkt+rCoXQlgO9LyNKYfx QYmFOOSQU8JJIL7/2ozw0WF5Zuj919+lI4lomRrU+c/+L9KkSfYDQVbMu6xxwqkYuDQQ KhRz6cAvMWDB7u+T+HAGMDb1TVNh+glAu6H/Cw/hbJ9jna6eDwLXCFQi7i9pmMPui9on QFMXJtXBdzNKId8uKIpYB4zBqjjG30dPDVn2eR1DHCPjhNedvpXaRUN/E17/LzWd/6aL fikQ==
X-Forwarded-Encrypted: i=1; AKwUvBy+vz4Yj7E6Iqxv23rvMUErXY5n3WCRchTChDhLJWLNQwrKHtgks/gHVLsnCl+9Jq4MGvc=@ietf.org
X-Gm-Message-State: APuU4Z8DJU2sU8EjxtNrVccr1JoOJC3ywM5yAACJc5FHXkHfycrhIsqT 6NHOssXnQLGAh8xBO6H1KdKToX9nPGQne06hECKruG/y12uKJuROufc8paJCUU2RFifLNyq9gpi z4dkn9ChqJ/s7B9ZvBufPzmaUl/BnIH8=
X-Gm-Gg: AYBFou06GlKJSwJInnXczXgSFmm67hUWdySO8oSJSbuaSUAOXiG7tNeWVig16pOYOTF +GCw2wGNMQyDWojI4FedHw++HTv5V28eDP0Z/90xSA2/835hN/kJ3wP6w9kGVN1h7Dr3nE79tUy QlT5yF92BQPqiNfuyKOoHlCqFa4pE3x0igSA3Rq6pKzwMMMslfdnXO4gbPucI/y25/jr+bA6Liq 96rIZaVh2Ie9HqubdnEYTSgE4fxv498g6HfpypEMLB/2oZrPKykFvRKc/9w/6Fb6ZHAW2v77y97 C0B1NzJFU6wuM9X6LpithPWiqljDPxSExyBGMK2qRS91aeDMa9HWWgFHIthHBo8jnb4/JKFW4He gzqRM+8ywySeKnd74lLIJj0r15qlglXP+YzCMBXzILS1njnUQpSLuPQw9ecyyV93ue17RhWI=
X-Received: by 2002:a05:690c:4992:b0:8a7:6a41:12db with SMTP id 00721157ae682-8b2b658db84mr40699007b3.7.1793497466800; Sat, 31 Oct 2026 18:44:26 -0700 (PDT)
MIME-Version: 1.0
References: <AS4PR07MB882587C4F9F2AE3F9447B25189A92@AS4PR07MB8825.eurprd07.prod.outlook.com> <e316cd94-ecb2-4c7c-a021-8b5c0dcc289c@gmx.net>
In-Reply-To: <e316cd94-ecb2-4c7c-a021-8b5c0dcc289c@gmx.net>
From: Eric Rescorla <ekr.ietf@gmail.com>
Date: Sat, 31 Oct 2026 18:44:15 -0700
X-Gm-Features: AclHuK-xYibfwZMe1WVFmRUVIEUt_f7kwdIUhKGAN21o7zYGWjsMGhqlbdg_OwY
Message-ID: <CALtcm6Tpp0tbL2_Moibe5NTRsKazB5euD0qTVSkd36_7P45wFg@mail.gmail.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Content-Type: multipart/alternative; boundary="0000000000006a0c33065f2d2bd0"
X-Spamd-Bar: -------------------
Message-ID-Hash: DYRYUEB3IKEPXHHB4WISA5ET2XCKAVFI
X-Message-ID-Hash: DYRYUEB3IKEPXHHB4WISA5ET2XCKAVFI
X-MailFrom: ekr.ietf@gmail.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
CC: "<tls@ietf.org>" <tls@ietf.org>
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/acaB45Ra2W65Qz73LGA5B9uiAys>
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'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. 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 * 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). 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). 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. These seem like they might make a 1RT version tricky to execute, so I lean towards a separate stateless check at least for now. This isn't ideal from a performance perspective, but the good news is that at least for WebRTC you already have a connectivity check so you don't need to do a separate check for DoS prevention. I have some thoughts on the design below [1], but whatever we do will require changes to both sides, so I suggest we don't try to solve this in RFC 9147-bis but instead add some text about this as an issue and then separately we can workshop an extension that tries to address this problem. That will allow us to address the issues we know how to solve/have already solved for DTLS implementors. Thoughts? -Ekr [0] Though of course the server can reconstruct *some* CH1s and start evicting older ones when it is under pressure. [1] The obvious thing to do here is to bring back DTLS 1.2's HelloVerifyRequest, but it's not safe to send it to a client which hasn't signaled it knows about it. Probably we should just put the signal in CH1.Extensions and require that that extension be in the first fragment. Then the server can pick it out of the extensions block (annoying!) and send HVR from there on. Fortunately, we still have legacy_cookie, so we can use that for the HVR cookie. There are other places we could imagine signaling it, but they're either hacky (CH.Random, CipherSuites) or won't work (CH1.legacy_cookie which has to be zero length). On Mon, Sep 7, 2026 at 12:27 AM Hannes Tschofenig <hannes.tschofenig= 40gmx.net@dmarc.ietf.org> wrote: > Hi John, > > thanks for sharing these results. I would be interested in understanding > some of the interoperability issues in a bit more detail. > > Before the summer months, I also did a number of DTLS 1.3 interoperability > tests between OpenSSL, wolfSSL, and an mbedTLS-based implementation > developed by Yaron Sheffer. For OpenSSL, I was still using the DTLS 1.3 > implementation from before it was merged into the master branch. I did not > encounter interoperability problems. > > Of course, this may simply be the result of using different versions or > configuration settings. It would therefore be very helpful to know a little > more about the exact configurations used in your tests. In particular, > which versions and configuration options were used. I would also be > interested in what exactly the default configurations of BoringSSL and > wolfSSL resulted in and why those defaults failed to interoperate. > > I was also a little confused by the statement that wolfSSL and mbedTLS did > not correctly return the HRR cookie. Upstream mbedTLS does not, as far as I > know, currently contain a DTLS 1.3 implementation. Was this result from TLS > 1.3 testing, or was a separate DTLS 1.3 implementation based on mbedTLS > used? > > This also seems relevant because HelloRetryRequest is not DTLS-specific. > HRR is part of TLS 1.3 as well, so problems with HRR handling by an > implementation would not necessarily indicate a DTLS 1.3-specific > interoperability problem. It might therefore be useful to separate issues > with HRR processing from issues that are specific to DTLS, such as > fragmentation. > > Regarding the middleboxes you mentioned, it would also be useful to > understand a little more about what those devices were doing and which > aspect of DTLS 1.3 caused problems for them. Was this telco-network > internal communication or communication over the Internet. > > Perhaps the easiest way to investigate this would be to put us in touch > with the people who performed the interoperability tests. I would be happy > to try to reproduce some of the issues. > > Ciao > Hannes > > > Am 31.08.2026 um 12:38 schrieb John Mattsson: > > Hi, > > We frequently conduct interoperability testing using our internal test > suite, CipherSnake. We recently expanded the test suite to cover DTLS 1.3 > and HelloRetryRequest (HRR). > > * DTLS 1.3 appears essentially undeployable in its current state. As far > as I know, BoringSSL and wolfSSL are currently the only libraries claiming > support for RFC 9147, and in our tests they do not interoperate. I assume > we will have to wait for RFC 9147bis and subsequent implementation work > before DTLS 1.3 can realistically be deployed. > > * Relying on HRR for middlebox traversal of large ClientHellos is > questionable. When discussing the need for ML-KEM-512, several people > argued that it was unnecessary because HRR could be used instead. However, > after testing HRR interoperability across 11 TLS libraries, our conclusion > is that several libraries do not interoperate, making reliance on HRR > problematic. It is therefore good to see that MLKEM512X25519 has recently > been registered, although future library support remains uncertain. In > contrast, support for standalone ML-KEM-512 appears to be good. > > Cheers, > John Preuß Mattsson > > _______________________________________________ > 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] 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