[TLS] Re: FATT Chance: On the Robustness of Standalone and Hybrid ML-KEM Key Exchange in TLS 1.3
Songbo Bu <king347608@gmail.com> Sat, 06 June 2026 07:23 UTC
Return-Path: <king347608@gmail.com>
X-Original-To: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 250F1FC34EC8 for <tls@mail2.ietf.org>; Sat, 6 Jun 2026 00:23:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1780730592; bh=mbxhLKFp6nZi0nAGfjKAzT0MxaOaGmgiGdPgGPX5AKw=; h=References:In-Reply-To:From:Date:Subject:To; b=T/0YEkMXe6z04VmvP9mUlujO8g+S+90gpunTVetES5Y8nIHqxmE+1wkn1ocE+QP0/ Cez7Cf5uoBxd0TZwvV+zCUz6pGHzJEE0v1EVWDPD0bhuJwYbkxkcpT4zsc3OpjWTOX lVdOqJr+j3O3FMIaijkkmMeRLWbmia7jRyqL2l2s=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aeG9lDaW9l8z for <tls@mail2.ietf.org>; Sat, 6 Jun 2026 00:23:11 -0700 (PDT)
Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (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 mail2.ietf.org (Postfix) with ESMTPS id 3FE92FC34E97 for <tls@ietf.org>; Sat, 6 Jun 2026 00:23:11 -0700 (PDT)
Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-8cce87d7995so28870336d6.0 for <tls@ietf.org>; Sat, 06 Jun 2026 00:23:11 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1780730591; cv=none; d=google.com; s=arc-20240605; b=ELYm+5y0E8lWj3LZbA0mRwPlWxJRLNFwFhNJZ7pW6WN9+BLJxsLYxy7t1wAW03Kd5f nPoHSOYDeo8Qdk6WXlacneFjF68EsxUweYLK5Kgo7KAfmQugfk3ZCKUD8F+UbDy08e5U NVOMfXaZopUX+Tfme2fLQpqJX4siLnTlgmvX/wwM6tWcwwWmH37oXgN3xN9L+N7lLlj/ 9I5ZlB8nLym2UevBAHJYeDPeQhmifrJW6tm+ozK/TJF9R27KFzUodVtgaaNKeqCKrNWy mpbIeAjtrZMlZTXcmRbhV2fEoQOYRSZLRhHnQrwamtzIJbcTj5tM62uNWiHYgYCnibWa wVQQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ad7KxaKyUJI3XFgMLQPg8obphvPnbtvmdnpsU3HpUtU=; fh=iMQEz7fIE2XtFWqLUMEt8tz+aEDEJVSqHa2ftqd9oME=; b=Pp1fgXvWZNxJgXVrC1LL8DzI7N6cgHCIFFJLCkpm/oBdKtM8Mmazzg1oZngictMBIm lKJPgJEI/VltggJPY4Jcg2d6JCtO42G2Mp1tkqLohtEaWU9RQXLESUuFu2yAOgCoPP2I mxsFPA5CMwaIE2sPr5XtdQGKel7sckx5yPif/Xa2ehm5r9df9uytcL/CnNa2B4nLBe92 IktyzUzwIDNxcoKuPgYHJkmXG08pwBu85tUpOxsUNj6TxFVWu/274XGwHqtYKrwuJn9r DOLk9g2dVE8eaUW1PPyPZTcZ79RrTFz7KoCMPOaRB8sJQB4cK+EAKf0VYBgDQWeY4xpc iFoA==; 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=20251104; t=1780730591; x=1781335391; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Ad7KxaKyUJI3XFgMLQPg8obphvPnbtvmdnpsU3HpUtU=; b=RQISGSAPmo5Uhj1hlWCPF7SLKHYDHrE1HiVS04fcKWUpl0jQIEn19jNKUF3wAm53m6 +orsqPP1wWlww/2p24VpXjUX5b0SDQJq4atY6f1oHvLOtMX6mB4IjhnPMPSn02OwDJ+D yUXNb1/cYt6DydZpj8YY/aDydNXD9rAsQQ1ApWWzqvIdw07U0Dw4DaoRs2/cppbYo8th 6wzVK7O7BUkIvBnRxPIY/xwGp7dezbezVqMSudOh+vIzpJ83P4/DrS1ISzsMwMmrXlI9 8ufBBSkO0KFSupAADVTnwB3pQoQxCkH8K2YtR9BeSQ9Mn7cEkMbtxAdITnu3lh05j1jQ sE/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780730591; x=1781335391; h=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; bh=Ad7KxaKyUJI3XFgMLQPg8obphvPnbtvmdnpsU3HpUtU=; b=n5IUHghrNQ558Hzi/MYRzU8z9gkXKkIswzwGM6q5WJ40FVltQEcmDC7TSaUIfj3v/9 PxdyB4reHnVxA7lP8Ub+VFPBgiTBkgBxKIDzCXhi0gbqQ4jw6kR+0s3i7LqL9rxXJIm5 b3lXs9GH3yg2nsjgn6wGoadn/YVOCTGYjsCyFrPmDg7p+q5rhNWeHjmLDrXkEKAFj+Ua XuYiQcwQ6O/9DYUkk+1GIRb6ppcnvS80yCD8MmaBTdk5w1nqc4ZGAqc0UXi45F+XKOGS CnfjjTpCZebSgyxdLwiFlP2QYJxuc7W8XyZJ03Sx0Vg99ZWT7o8DTRBoD7cyMmA+GulQ DtuA==
X-Gm-Message-State: AOJu0YxPkvnY9hdytiI7Y9pjE/vGHpdsYAy7nbZLwB4zGoEOUwXP7+wx K31SZGD9tXeRvFemt19zHN+KoI378VlaYHtdtBA0GvmIG2DIbv9mgkCziMhCPfkQ72o8V3B+cDK W3x2k/pdlewGYNsTbFLqVB5W16IkPLIzjYe0QUZ4=
X-Gm-Gg: Acq92OH8GMEccvzxm49O/LIU3MgJ5c3BByIz3tFMa8vnbzeQTvEEpFAh5Z4r99p/7hN gk9rOxalCN0HagF9qyPrpn1PGyVMk0a9oDty9WthuUTSpVgy5MXa1ZXMznAfG1KD6nPS1NXUHRo H6SrhHA2rLxJfMmfq0jyVvwihqqs8rlWd5l2O7tq3g0W5No4YUTr6iia1RjsXLJvSJnGVyf2pFy 2UJUQ6efgVif+UY9KDqaL3y27O2HHhaTU/oylVkzn7efWmk5iWLzrwiwtsB2gdjDJB/EcHzWUld zE7iao+Zin0/ZX3RZtl7qCuF3PveOjQMTQmisAHU2tjU8X8Ov9u3KeJh1/76JVTp97U7Nv6J9m9 nO1mjMg==
X-Received: by 2002:a05:622a:8893:b0:50d:a6e3:ae1 with SMTP id d75a77b69052e-51795aebeb9mr96617531cf.17.1780730590455; Sat, 06 Jun 2026 00:23:10 -0700 (PDT)
MIME-Version: 1.0
References: <E3248C6C-F41D-4697-B484-5DD3B3F03893@symbolic.software> <cec4e220-0842-486d-9c69-ddaf37260da4@tu-dresden.de> <CAK08nYaa4+dTkuyeBK8648nV=VFTt=AbdKbAbz4xR3X_MnssnA@mail.gmail.com>
In-Reply-To: <CAK08nYaa4+dTkuyeBK8648nV=VFTt=AbdKbAbz4xR3X_MnssnA@mail.gmail.com>
From: Songbo Bu <king347608@gmail.com>
Date: Sat, 06 Jun 2026 15:22:59 +0800
X-Gm-Features: AVVi8CciiLT3lIAnSIVK6YV2LKVzCffu_bY8QTgTc6pPBuNjRpZlBkXM0O9a88E
Message-ID: <CAK08nYbYvW7rWWzkJaq7uKNfUjUniOjB0eGAX1euUHumRpC4kg@mail.gmail.com>
To: tls@ietf.org
Content-Type: multipart/alternative; boundary="00000000000048ed2d065390a6a2"
Message-ID-Hash: PYS6YLRMDXPKKQ7TK4RUD7FZIB3IJYXG
X-Message-ID-Hash: PYS6YLRMDXPKKQ7TK4RUD7FZIB3IJYXG
X-MailFrom: king347608@gmail.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.9rc6
Precedence: list
Subject: [TLS] Re: FATT Chance: On the Robustness of Standalone and Hybrid ML-KEM Key Exchange in TLS 1.3
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/Rbd-GNSgvY0w3SyIGdY2Z0aU93s>
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, Following up on the implementation-test point, I think the artifact would be most useful if kept small and explicitly non-blocking: a list of negative cases implementers can run against hybrid key exchange code, not a condition for progressing the draft. The cases I would start with are: - the negotiated group is hybrid, but one component is missing, malformed, or associated with a different group; - ECDHE and KEM values are individually valid, but assembled from different handshakes or transcript contexts; - a peer attempts to continue as standalone ECDHE or standalone ML-KEM after a hybrid group was negotiated; - the implementation derives application traffic secrets before both components have been validated and accepted under the negotiated hybrid group; - the implementation accepts a hybrid share while logging or exporting enough state to make it look like only one component was used. This would not be a formal analysis result. It is just a practical bridge from the model’s intended binding property to things that are easy for implementations to accidentally get wrong. If others think this is worth capturing, I’d be happy to help turn the list into a GitHub issue or small PR once the cases are clearer. Best, Songbo Bu On Fri, 5 Jun 2026 09:31:27 +0800, Songbo Bu king347608@gmail.com wrote: Hi Usama, all, Thanks. I agree this should not make the draft depend on a full new test suite before progressing. The useful near-term thing may just be to collect a small set of negative cases that implementers can run against the existing artifacts. The cases I would start with are roughly: - negotiated hybrid group differs from the group encoded/bound in either component; - one component is omitted, malformed, or fails decapsulation/validation; - KEM and ECDHE values are individually valid but assembled from different handshakes/transcripts; - a peer attempts to continue as standalone ML-KEM or standalone ECDHE after a hybrid group was negotiated; - application traffic secrets are derived only after both components have been accepted under the negotiated hybrid group. That is not a formal proof obligation, but it would make the intended “both components are bound and accepted” property easier to check in implementations. If there is a preferred place for such cases – draft text, a GitHub issue, or a separate test-artifact note – I can help shape it there. Best, Songbo Bu On Thu, 4 Jun 2026 21:48:32 +0200, Muhammad Usama Sardar muhammad_usama.sardar@tu-dresden.de wrote: Hi Nadim, Awesome work. Thanks a lot. That resolves my concern. Before we put this discussion behind us, I would like to suggest that: - we put artifacts in front of FATT for evaluation: It would be good to have the artifacts evaluated once, so that we can keep using them in the future for all PQ extensions. - we add a statement on preference of hybrids and refer to the paper in the security considerations of draft-ietf-tls-mlkem. 1 would be nice – the earlier the better. But IMHO 2 is essential. One small note: I noticed that in your paper, you cite link to editor’s copy [0]. I have published -02 [1] – in the state it was – for you to have a permanent citation, because the editor’s copy will keep changing – and has already moved to the next steps – and it might be confusing for the reviewers/readers to find a mismatch in the paper and the reference. -02 is just for you; others don’t need to worry about it and there is nothing new to read in it. One implementation-facing angle that may be worth spelling out, even if it is outside what the symbolic model can prove, is which negative tests would best catch hybrid-specific integration mistakes. I think this is very valuable and practically useful suggestion to craft tests and folks are welcome to work on it. But I am more than happy with what has been achieved. Thanks Nadim. Any kind of Undefined Behavior in implementation would compromise both. I believe one can actually do formal verification on the real code to have high assurance that there is no Undefined Behavior. I think some of the informal claims are stronger than what this paper proves. This does not matter for ML-KEM or ECC hybrids thereof — but could matter for another KEM. Could you please explicitly share those differences? Note that once a CRQC emerges, which some people say may happen very soon, […] and some people have argued it may never occur [2] I think formal analysis in the not so distant future should focus on quantum attackers and treat ECC and RSA as not providing any security. Once the WG agrees on setting them to ‘N’ or ‘D’ probably that will be the appropriate time to update the formal models. Many TLS libraries enforce handshake timeouts, so unless the key exchange algorithm is completely broken, an attacker cannot practically keep a connection open long enough to forge the Finished message. Is the handshake timeout typically pre-configured or dynamically selected? Does anyone have datapoints on handshake timeout in common TLS libraries? Actually, some people propose remote attestation within the handshake, which requires significantly increasing the timeout. In particular, it adds the time for generation and appraisal of Evidence within the handshake, which gives the adversary plenty of time to do a lot of interesting things. It is great that TLS WG have clarified that static keys MUST NOT be used for key exchange. This significantly lower the risk for these kind of attacks. Agree. It would have been beneficial to do it long time ago, but better late than never. Best regards, -Usama [0] https://muhammad-usama-sardar.github.io/risks-of-mlkem/draft-usama-tls-risks-of-mlkem.html [1] https://datatracker.ietf.org/doc/draft-usama-tls-risks-of-mlkem/02/ [2] https://www.ietf.org/archive/id/draft-usama-tls-risks-of-mlkem-02.html#section-6.4
- [TLS] FATT Chance: On the Robustness of Standalon… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Bas Westerbaan
- [TLS] Re: FATT Chance: On the Robustness of Stand… Ilari Liusvaara
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… John Mattsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Songbo Bu
- [TLS] Re: FATT Chance: On the Robustness of Stand… Ilari Liusvaara
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Kris Kwiatkowski
- [TLS] Re: FATT Chance: On the Robustness of Stand… Songbo Bu
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Deirdre Connolly
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Eric Rescorla
- [TLS] Re: FATT Chance: On the Robustness of Stand… Eric Rescorla
- [TLS] Re: FATT Chance: On the Robustness of Stand… Songbo Bu
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… John Mattsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Jacob Appelbaum
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… John Mattsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Eric Rescorla
- [TLS] Re: FATT Chance: On the Robustness of Stand… Eric Rescorla
- [TLS] Re: FATT Chance: On the Robustness of Stand… Filippo Valsorda
- [TLS] Re: FATT Chance: On the Robustness of Stand… Eric Rescorla
- [TLS] Re: FATT Chance: On the Robustness of Stand… Deb Cooley
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Soatok Dreamseeker
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… Soatok Dreamseeker
- [TLS] Re: FATT Chance: On the Robustness of Stand… Peter Gutmann
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… John Mattsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Filippo Valsorda
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… John Mattsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Ted Lemon
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Andrew Lee
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Simon Josefsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Viktor Dukhovni
- [TLS] Re: FATT Chance: On the Robustness of Stand… Paul Wouters
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nathanael Ritz
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Yaakov Stein
- [TLS] Re: FATT Chance: On the Robustness of Stand… Nadim Kobeissi
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… David Stainton
- [TLS] Re: FATT Chance: On the Robustness of Stand… DA PIEVE Fabiana
- [TLS] Re: FATT Chance: On the Robustness of Stand… Simon Josefsson
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich
- [TLS] Re: FATT Chance: On the Robustness of Stand… Ilari Liusvaara
- [TLS] Re: FATT Chance: On the Robustness of Stand… Muhammad Usama Sardar
- [TLS] Re: FATT Chance: On the Robustness of Stand… DA PIEVE Fabiana
- [TLS] Re: FATT Chance: On the Robustness of Stand… Salz, Rich