[TLS] Re: ML-DSA in TLS

Alicja Kario <hkario@redhat.com> Fri, 25 October 2024 11:41 UTC

Return-Path: <hkario@redhat.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 31FA7C1D52F1 for <tls@ietfa.amsl.com>; Fri, 25 Oct 2024 04:41:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.252
X-Spam-Level:
X-Spam-Status: No, score=-1.252 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.148, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GB_AFFORDABLE=1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.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 U6hePvOMndL8 for <tls@ietfa.amsl.com>; Fri, 25 Oct 2024 04:41:48 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8992C1D52F2 for <tls@ietf.org>; Fri, 25 Oct 2024 04:41:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729856507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z2TzgIUG4YbY5Zy3cm7apQXI0j8907vGrhJ13U9QBhA=; b=UWp4X1x6wR3DcYfwmJp51rit2RkRxkTFXY+66LeJ+kwhRHAZ27QsCJFBONPdH8Z2VpoZgM +h5K/wA2ODOwKfDJBTzrRzaMxSXCOYHIeWC/eGmUhYXH7f/ault6n1mhuRrKYz5myC8zc0 QMcc8TT+nv8kC1dLCze1tmON/p3Zdd0=
Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-638-cfyr3qIKP4W2KjqYdSAV7g-1; Fri, 25 Oct 2024 07:41:46 -0400
X-MC-Unique: cfyr3qIKP4W2KjqYdSAV7g-1
Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4316138aff6so14798005e9.1 for <tls@ietf.org>; Fri, 25 Oct 2024 04:41:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729856505; x=1730461305; h=content-transfer-encoding:user-agent:organization:references :in-reply-to:message-id:mime-version:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z2TzgIUG4YbY5Zy3cm7apQXI0j8907vGrhJ13U9QBhA=; b=eKK9bdeCu/561UNu+FvE2djBFNFVcZInCe482LPGfJQKoQ2SovacW6thSOotJXtK9O aSYHbFlDa+lUWWcCygYaJnBHz5js8hL06HAF3r3jVjhND9Zy54XiAvjHSo3fJFRoKFNG soS0Z1fbqEnoQ67kkXrPN7AAG63rsVDYS/YVRUoJZeQdK0QUHuA3pa2zkJdsq7w87+oR SAQrpDi1G3o1M8sdgnGVPlm7ZSutgSqj+rOEyZyvBUpAxj109AlD9/XWWL7fuZoozjyH iHiW8zILUmfP2Um0Ztjh8cSZP4Bb2Qno2MYqECJsbHwzdCZGIN5wwP1CvqhDNuQQ///v U89w==
X-Forwarded-Encrypted: i=1; AJvYcCWetkpjhYsb/Levgq1eobJyqB/tWPMyQM3jzdhpoIDtrPW3wKehgpSt3LK9fuIyTOqinyY=@ietf.org
X-Gm-Message-State: AOJu0YzfhX1Ci2ASkw73knfuS848DoWkZKHUtAn8IVujUBEw1mqkrBHv Fsb1wRBmXdxTaLobIoGxoPAepvS7zqusQ/bg/uFb+w8guccsiT1bnIreSuGhXCYWFH4OfqGjmYN MwJ6ajRGwrne3IYdSdF58MKfkfFP5NUgDEPrUVTtv
X-Received: by 2002:a7b:cb58:0:b0:426:647b:1bfc with SMTP id 5b1f17b1804b1-4318c8cd0c5mr42468045e9.30.1729856504673; Fri, 25 Oct 2024 04:41:44 -0700 (PDT)
X-Google-Smtp-Source: AGHT+IHIQmXD7wgtCm6B3mzSRlxSDQprdwbtN+OslaB7WWTpoi1j+KIU6RSCH0RZIBaT6+zVmRJqjA==
X-Received: by 2002:a7b:cb58:0:b0:426:647b:1bfc with SMTP id 5b1f17b1804b1-4318c8cd0c5mr42467825e9.30.1729856504241; Fri, 25 Oct 2024 04:41:44 -0700 (PDT)
Received: from localhost (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4318b57088bsm46139665e9.37.2024.10.25.04.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:41:43 -0700 (PDT)
From: Alicja Kario <hkario@redhat.com>
To: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 25 Oct 2024 13:41:42 +0200
MIME-Version: 1.0
Message-ID: <5825df0f-330d-4439-82eb-6d9a4fe4ddf6@redhat.com>
In-Reply-To: <CACsn0cmKVs=uekETetu7+6UM4irvzytPHm1jSKvp9jh+0Cj9ag@mail.gmail.com>
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> <CACsn0cmKVs=uekETetu7+6UM4irvzytPHm1jSKvp9jh+0Cj9ag@mail.gmail.com>
Organization: Red Hat
User-Agent: Trojita/0.7-git; Qt/5.15.14; xcb; Linux; Fedora release 39 (Thirty Nine)
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: NLPHEAJHNPT7LNHVZ5B3U7WPIPEQEATE
X-Message-ID-Hash: NLPHEAJHNPT7LNHVZ5B3U7WPIPEQEATE
X-MailFrom: hkario@redhat.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: Tim Hollebeek <tim.hollebeek=40digicert.com@dmarc.ietf.org>, 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/zQ3m0GYwQCNlCBXFfhNUO-Z8IO0>
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 Thursday, 24 October 2024 17:58:18 CEST, Watson Ladd wrote:
> 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. ...
>
> 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.

and precisely why we have algorithm agility in TLS; and precisely why any
half-decent server has support for setting up two certificates: now
we use it for RSA and ECDSA, but we need to be able to use it with ECDSA
and ML-DSA, _soon_

and for that we need the signature scheme IDs

-- 
Regards,
Alicja (nee Hubert) Kario
Principal Quality Engineer, RHEL Crypto team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 115, 612 00, Brno, Czech Republic