[TLS] Re: ML-DSA in TLS

Watson Ladd <watsonbladd@gmail.com> Thu, 24 October 2024 15:58 UTC

Return-Path: <watsonbladd@gmail.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 CE976C151992 for <tls@ietfa.amsl.com>; Thu, 24 Oct 2024 08:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.104
X-Spam-Level:
X-Spam-Status: No, score=-1.104 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_FROM=0.001, GB_AFFORDABLE=1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, 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 (2048-bit key) header.d=gmail.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 WsjI56tS5d_o for <tls@ietfa.amsl.com>; Thu, 24 Oct 2024 08:58:32 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 2ED8BC14F61C for <tls@ietf.org>; Thu, 24 Oct 2024 08:58:32 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-37d4821e6b4so706573f8f.3 for <tls@ietf.org>; Thu, 24 Oct 2024 08:58:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729785510; x=1730390310; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7GmvpPozeUWijpurm8yjaQQCBo2vd5CDiGPF8W1afmM=; b=lixreekxvTerzzjFcO8yJwecGeB9Vlm+pOME1Ru+LieyFYmRiRr3fw291flCcQlK2/ oTKZWNHw5o2iDhhBfX0zpeURCoDFhFdBC5a0vtXAQmyuA+PwlPSYYWcf7zLvmhsg1dRN ndeppHLnX7DwPwRp/sgt95dGpvS61qVxskliRBYoOl/+nTioi59C+4Hn1vBeYhXXPypt UccJp/4tBnD5wOAgoN5Ms3t3+r+X0KfcRckPmJilxgIhj7O1OUpVNs+1U8FyPNXRcnPv Zzj2i7yAxr5vXjQ92quRTB0FSz80il4F2c1aEMzjJp/pvudDw10KY6HQA4YQ5rwECMKw PqvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729785510; x=1730390310; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7GmvpPozeUWijpurm8yjaQQCBo2vd5CDiGPF8W1afmM=; b=PDsRCZWRzjfVxUh+RVkv5pJzTH7xNq9Kvy0DOF0sN7nnvYjvpyz+T5nUOPmX1FKg5d c3ikXJtMsLGu48cF38fCsmDevRFwdD7BqDiUqb3HwsDMURTRbnRzb4SdmquOHMg+K7ln 5290VxG+xC422giXqNpNBiqRV4rkoLd2BeeMCdU1QYsp584X4qYqcGv/UAfaM4lE9hxs RlBA1aYNUU8Bv+OktSS1kgAA1L6grfYN7F0s/qzD/2tbhVmcPvlsPsmy5Gh+P1gilwuM yo39GSnD+T7ozvuyIBQyPoOcyAqFCXjC6beSpwxQFaFhSK4ld7w+kL4sp3n1y0hHJQL5 zZdQ==
X-Forwarded-Encrypted: i=1; AJvYcCWpLuVpMcdoWChfzcciziXbf0av5C4aNzVFRGAbwUzDvScd4nzZeJThnoeSvvvv7Fkjz7g=@ietf.org
X-Gm-Message-State: AOJu0YwmS6J96kt6P5CiGhcxUh7sraXMFo931vAUWsiPQtlKq7ikV/Rw Bh20TAUhAS0yi1vlHCxGL/kquvDhpSKrSzBSXPTaJp6urCN+Yc/n1HK39Wrs5Erwg8DafC94vJy XK5yMksbEPTfYx1yi/UmsFYeK+QM=
X-Google-Smtp-Source: AGHT+IGrRdQNNxhGswG9lI9uP5FiwVOg1NIMRKJTf8Un8OUiOxxbPKirUtpEe8CeSg563GVQT+NwZPDVv3KKBOgE5qg=
X-Received: by 2002:adf:f54e:0:b0:37d:446a:9e60 with SMTP id ffacd0b85a97d-3803ab187f6mr1913648f8f.0.1729785510372; Thu, 24 Oct 2024 08:58:30 -0700 (PDT)
MIME-Version: 1.0
References: <CAMjbhoUFkL=UT0Pt2xjPLm998=j1ef+wdm0WO14_W7OJDJ-hOg@mail.gmail.com> <bcb2e444-7fc7-477d-b290-77adad4a1630@redhat.com> <GVXPR07MB9678B11440060A8A315ED39B894D2@GVXPR07MB9678.eurprd07.prod.outlook.com> <CABcZeBMAg=r8MfJsJsVLe=bkPwE2e88ETnvop=JjCeHbCdct_w@mail.gmail.com> <45af8f58-c9b0-482b-9010-3061a357d4af@redhat.com> <SN7PR14MB649229665128EE5664DC434B834E2@SN7PR14MB6492.namprd14.prod.outlook.com>
In-Reply-To: <SN7PR14MB649229665128EE5664DC434B834E2@SN7PR14MB6492.namprd14.prod.outlook.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 24 Oct 2024 08:58:18 -0700
Message-ID: <CACsn0cmKVs=uekETetu7+6UM4irvzytPHm1jSKvp9jh+0Cj9ag@mail.gmail.com>
To: Tim Hollebeek <tim.hollebeek=40digicert.com@dmarc.ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: D5TB2TBHB6CFJ34SFKWT7B4QHUBQ4P2M
X-Message-ID-Hash: D5TB2TBHB6CFJ34SFKWT7B4QHUBQ4P2M
X-MailFrom: watsonbladd@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
CC: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, Bas Westerbaan <bas=40cloudflare.com@dmarc.ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: ML-DSA in TLS
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/toPwhsdmUx3jgUtChzI1FYyL0tU>
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 Thu, Oct 24, 2024 at 8:52 AM Tim Hollebeek
<tim.hollebeek=40digicert.com@dmarc.ietf.org> wrote:
>
> My personal feelings on pure vs composite are actually the union of several
> previous comments:
>
> 1. Like EKR, I actually have a weak preference for composite, all other
>     things being equal. Failures happen and I like backup mechanisms
>     when they are relatively affordable and can be afforded.
> 2. That said, I don't think composite should be forced on people. There are
>     valid use cases where I would recommend NOT using it, and I'm hearing
>     demand for both pure and composite. Like Scott said, I think we'll end
>     up standardizing both.
> 3. Composite is slightly more complicated, though not as complicated as its
>     detractors claim. However, since composite signatures are not standardized
>     yet, I think they shouldn't be dragged into the 'pure' discussion. They can have
>     their own draft and thread, like Diedre noted.
>
> I strongly oppose the "we have some time" sentiment, though. There are
> ecosystems that are slow to transition due to long approval timelines and
> the desire to do rigorous analysis and discussion, and some of them are starting
> to make transition plans now. The lack of IETF guidance on some of these topics
> is starting to be a blocker now that NIST algorithm specifications are complete.

If there is an ecosystem that cannot afford an algorithm break in a
signature, and where other constraints are less important, there is
only one choice: hash based signatures.

The difference in security between authentication and encryption (we
do not need authentication to last more than a second beyond the
lifetime of a connection) means that the consequences of a break are
different. If tomorrow RSA was insecure, we would switch to ECC: no
hybrid certs necessary. Likewise we can deploy multiple signature
algorithms.

Of course people complain that it takes time to switch certs etc. etc.
That's exactly why we've invested in automated issuance.
>
> In the absence of standards, they will just do their own thing, and we'll end up
> with lots of unnecessary diversity and "interesting" design choices.
>
> -Tim
>
> > -----Original Message-----
> > From: Alicja Kario <hkario@redhat.com>
> > Sent: Thursday, October 24, 2024 5:57 AM
> > To: Eric Rescorla <ekr@rtfm.com>
> > Cc: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>; Bas
> > Westerbaan <bas=40cloudflare.com@dmarc.ietf.org>; <tls@ietf.org>
> > <tls@ietf.org>
> > Subject: [TLS] Re: ML-DSA in TLS
> >
> > On Thursday, 24 October 2024 04:47:02 CEST, Eric Rescorla wrote:
> > > I think an adoption call is a bit premature here. We've got some time,
> > > especially in the WebPKI setting.
> > >
> > > In particular, we should have a discussion of whether we want to
> > > standardize pure ML-DSA or hybrid ML-DSA/EC algorithms; I currently
> > > lean towards the latter, but I, at least, would like to hear arguments
> > > to the contrary.
> >
> > For TLS I'm of the opinion that hybrids are not necessary.
> > We might define hybrids later, if those gain traction, but pure have their place.
> >
> > > -Ekr
> > >
> > >
> > > On Wed, Oct 23, 2024 at 11:02 AM John Mattsson
> > > <john.mattsson=40ericsson.com@dmarc.ietf.org> wrote:
> > > Let’s have an adoption call asap.
> > >
> > >
> > >
> > > I made some minor suggestions
> > > https://github.com/bwesterb/tls-mldsa/pull/3
> > >
> > >
> > >
> > > John
> > >
> > >
> > >
> > > From: Alicja Kario <hkario@redhat.com>
> > > Date: Wednesday, 23 October 2024 at 19:59
> > > To: Bas Westerbaan <bas=40cloudflare.com@dmarc.ietf.org>
> > > Cc: <tls@ietf.org>
> > > Subject: [TLS] Re: ML-DSA in TLS
> > >
> > > Hi,
> > >
> > > Thanks for the draft, will definitely be helpful.
> > >
> > > Few issues:
> > >  * The range 0x0900-0x0903 is reserved for backwards compatibility
> > >    I think it will be better to continue the numbering in the 0x08..
> > > space
> > >  * the must in "must use id_ML-DSA(...)" probably should be capitalised, as
> > >    if it doesn't match, the connection needs to be aborted
> > >
> > > open question is if we should document error handling explicitly:
> > >  - illegal_parameter alert if the peer used algorithm not advertised, or
> > >    signature algorithm does not match the certificate
> > >  - decrypt_error when verification of the signature failed
> > >
> > > On Wednesday, 23 October 2024 19:29:06 CEST, Bas Westerbaan wrote:
> > >> Hi all,
> > >>
> > >> Unless I overlooked something, we don't have a draft out to assign a
> > >> SignatureAlgorithm to ML-DSA for use in TLS.
> > >>
> > >> It's two days past the I-D submission deadline, but I wanted to point
> > >> you to a short draft we put together to fill this gap.
> > >>
> > >> https://bwesterb.github.io/tls-mldsa/draft-tls-westerbaan-mldsa.html
> > >>
> > >> So far, I see only one open question: whether to set a non-zero
> > >> context string.
> > >>
> > >> Best,
> > >>
> > >>  Bas
> > >>
> > >>
> > >>
> > >
> >
> > --
> > Regards,
> > Alicja (nee Hubert) Kario
> > Principal Quality Engineer, RHEL Crypto team
> > Web: http://www.cz.redhat.com/
> > Red Hat Czech s.r.o., Purkyňova 115, 612 00, Brno, Czech Republic
> >
> > _______________________________________________
> > 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



-- 
Astra mortemque praestare gradatim