[TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)

Thom Wiggers <thom@thomwiggers.nl> Wed, 08 July 2026 09:53 UTC

Return-Path: <thom@thomwiggers.nl>
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 3DBCA112D4B57 for <tls@mail2.ietf.org>; Wed, 8 Jul 2026 02:53:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783504387; bh=QB6D55JSvS4FyCugoQ2sE8Hhkz8QQ1LO13Uz4AfNL6I=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=qCDaztS62Jy0sXz6kWK3WipTMOpM4KF20nyAjOBIXJjMKk7rLT567ZzNNjtkOaiD0 TeBjRvoquy+kY1d3O9fMCfrpzoloZkJT99qN4Zc7woSH8WVHd529Y2RsrnczD8cw5o zL/W1iinEmDqbvGaYh740Hbo/KJWL4cX15S/w6k8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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 (1024-bit key) header.d=thomwiggers.nl
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 J7u9mKdVOVNI for <tls@mail2.ietf.org>; Wed, 8 Jul 2026 02:53:06 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 1CF45112D483E for <tls@ietf.org>; Wed, 8 Jul 2026 02:52:31 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-697bd21fdc2so895096a12.1 for <tls@ietf.org>; Wed, 08 Jul 2026 02:52:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thomwiggers.nl; s=google; t=1783504350; x=1784109150; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:content-type :message-id:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=tFZhlescubNxK8OEABfNhp2UpZEePE7uoNkrSyGXasw=; b=MnQOPrJaSoD0HtiTZSDwpRRGEY6gYNrs7VwJJ8Vgk88Ckuaw2MGyxY7WOLgAEqLpbY W0M6YdxKdO6gzTPAH9WgPrMLoh4iwV5ER1eJQxBLBrSymBZAxKWWSqGPX0ul/PHxCfQk LpQw94DioKqnJVO1bmVnQoHUaUMUxfLqtuZ4M=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783504350; x=1784109150; h=references:to:cc:in-reply-to:date:subject:mime-version:content-type :message-id:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tFZhlescubNxK8OEABfNhp2UpZEePE7uoNkrSyGXasw=; b=JZdJjz+GBBWGxRTP6mLOPVKSglCGFM2epEbr1cEmv+NgPQ0eEZtxwUj+ofHHH77DxC GXSej2qOA8Q/VPiJXCMNebaGHVHgmp5FZUyC+dIwkX28Pk2KQwOqSvgIcmoWIfM7YHVT 8tdbOPf5Bi219hPPmAKGMF0GN84hhndUVemFF+i4NViZjXD+2VuFpg4xobvSSlS3gFRK 5xvkqIqn8pUjJwjszm4EBg8td9Vf5dyChw96X4J8NzNk5Amb6pcICYRUdRnP7eeLhdtg zjp00x9NnQjJIgPNPW9ZqE8y3gGahHna5s28pyQYwnmVbfzRpzUMoYpMBsNeS3N7NagS iUQA==
X-Gm-Message-State: AOJu0Yw9b+iY2OUPwtGlSR58BPniwSL1rLaZwjoysGFMURUJCYnrsj9w VGT690FA8sGKMRtQbczjB6C8JSdkDN9CmbdRygk3UsdCDavFgMCpK5ASp07V2VDm7SOl6KABYFE MgTh8
X-Gm-Gg: AfdE7cnKqmdxM9K6Y5GNTOvHpB4NN1O80UBqdV4Fqd1svlpOoDpxvM3aPrvLPzNcFWj 3b3iNwFgiFTz1dcWk+UWehN9dTX7ymnCsShHnpyvoU49gQUNpuo3kI7BbCIXrBqskfLMLOd0KpD Qb0j3KJCRYVojUxxzb4wSkinmAbOQTYow/CQGVdY5Dv1kTwWV8FaajjVeRLZTOBKPPeWZq0Nryg GuH7gzQ1sx7TW1fYDZXTSUL7qQAa9R78iJzG6yHl5b45AHnGlzj6gSyzg+Jb5TCIXRGT6wiGeqX xMYMgQPHbEJ5+ws7BCiR1FZe+12WODmHNewxyI/lbW+stf5gt/xsUB270k4KuQFhpUU28hFUeOq soMl+du68O5mW06RLX4HmGzzGlak/ib86yghX+ar+Jc0HaHS3TScFVZ1SMrvNJsqclm7qlz7oMV HjBtNzGACxLeb5uV+HEgt3DkR/ahsOdX/Yz0NN2RO60gD2fF3fdpjqzOCKYUGc51t2O/MvFA==
X-Received: by 2002:a05:6402:2691:b0:699:12e8:1c54 with SMTP id 4fb4d7f45d1cf-69ab445ea9dmr761646a12.5.1783504349986; Wed, 08 Jul 2026 02:52:29 -0700 (PDT)
Received: from smtpclient.apple (63-164-187-31.ftth.glasoperator.nl. [31.187.164.63]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-69ac41d7ceesm311182a12.23.2026.07.08.02.52.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2026 02:52:28 -0700 (PDT)
From: Thom Wiggers <thom@thomwiggers.nl>
Message-Id: <423F84EA-7426-45BE-8153-C2228C611D72@thomwiggers.nl>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EA842582-57E6-49BC-BD85-368BA7092B35"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
Date: Wed, 08 Jul 2026 11:52:17 +0200
In-Reply-To: <cfe8d2ba-e8b1-40da-b165-dafd9944e47e@lear.ch>
To: Eliot Lear <lear@lear.ch>
References: <178231320760.1520243.5914961961176039994@dt-datatracker-f9b87776f-8pmmg> <76f613e9-e952-40fb-a6e0-745392575b91@appelbaum.net> <9445dee2-e5e0-4770-ac51-efc901f2489f@huitema.net> <ak3ochQmnlYhKt6h@chardros.imrryr.org> <cfe8d2ba-e8b1-40da-b165-dafd9944e47e@lear.ch>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: OTNK7LKLMX45DVBJCEVRXA4EA46WFDES
X-Message-ID-Hash: OTNK7LKLMX45DVBJCEVRXA4EA46WFDES
X-MailFrom: thom@thomwiggers.nl
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: "<tls@ietf.org>" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)
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/KTra8Yxa1MLgoZKLmqe-eQJxtQ8>
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,

ML-KEM is arguably not backdoorable unless you break the RNG. Bad RNG is something that we can’t really protect against anyway. Classic cryptography is also broken if the RNG is busted. Finally, the TLS key schedule still mixes in all messages from both sides rendering the point moot for TLS.

On a more instructive point, ETSI’s “quantum-safe enterprise transport security” (ETSI TS 104 145 <https://www.etsi.org/deliver/etsi_ts/104100_104199/104145/01.01.01_60/ts_104145v010101p.pdf>, paragraph 5.3.2) relies exactly on generating the encapsulation seed deterministically instead of randomly sampling one. This mainly breaks forward secrecy, which is certainly bad. But hybrids or not are not relevant to this. In the classic approach they simply fixed the DH public key of the server, iirc. Friends don’t let friends use ETS.

Cheers,

Thom

> Op 8 jul 2026, om 11:35 heeft Eliot Lear <lear@lear.ch> het volgende geschreven:
> 
> Hi!
> 
> ~~~~Disclaimer
> I'm not a cryptographer.
> ~~~~
> 
> Please see below.
> 
> On 08.07.2026 08:04, Viktor Dukhovni wrote:
>> On Tue, Jul 07, 2026 at 10:27:56PM -0700, Christian Huitema wrote:
>> 
>>> I just read Jacob Applebaum's message. Given his description of the
>>> late-standardization suspicious change that looks like a backdoor in the
>>> ML-KEM specification, I agree with his conclusion. The WG should not ask for
>>> publication of the current graph, not until the changes requested by Jacob
>>> are made.
>> The removal of whitening of the `m` random input to Encaps is not a
>> plausible backdoor.  If all you have is a broken RNG, you're free to
>> apply whitening to obtain a new less bad RNG and use that instead.
>> 
>> Nothing stops an ML-KEM implementation from hashing some input (any
>> number of times, mixing in whatever additional inputs, ...) to produce
>> its random values.  The abstract algorithm starts from the final output
>> of an adequate RNG that requires no further post-processing.
>> 
>> There's nothing suspicious about this simplification.  The critique in
>> question makes no sense to me.  Don't use a broken RNG.
> 
> That sounds about right to me, but as someone who is not a cryptographer, perhaps someone who is could explain how this amounts to a back door, and not a requirement for a good PRNG?  And if it's not a back door, should we really relitigate NIST's choices here?
> 
> Eliot
> 
> 
> * By "back door", I mean an intentionally placed undisclosed weakness that could be exploited by the people who placed it there.
> 
> 
> 
> <OpenPGP_0x87B66B46D9D27A33.asc>_______________________________________________
> TLS mailing list -- tls@ietf.org <mailto:tls@ietf.org>
> To unsubscribe send an email to tls-leave@ietf.org <mailto:tls-leave@ietf.org>