[lamps] Re: [EXTERNAL] Re: Request to Extend IETF WGLC for ML-KEM and ML-DSA private key format Specifications
Sophie Schmieg <sschmieg@google.com> Fri, 31 January 2025 20:27 UTC
Return-Path: <sschmieg@google.com>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9876AC169435 for <spasm@ietfa.amsl.com>; Fri, 31 Jan 2025 12:27:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.61
X-Spam-Level:
X-Spam-Status: No, score=-17.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 4rb8BVEYSSvF for <spasm@ietfa.amsl.com>; Fri, 31 Jan 2025 12:27:29 -0800 (PST)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 F0934C169436 for <spasm@ietf.org>; Fri, 31 Jan 2025 12:27:29 -0800 (PST)
Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4678c9310afso1611cf.1 for <spasm@ietf.org>; Fri, 31 Jan 2025 12:27:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1738355249; x=1738960049; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ApDcB/70NhLfS6Oo35lXflpisDd2PH3Bz80as/Dd7Zg=; b=UsvgCr2JRmu6Y5KOMRwwFQoFFGZlAR8LxhFkKIVPAtcJtikAJRJvmhrq1HmUfY+Vss trEzFkjiLbkn5dLSRtytBnTaKOs1B9UuNYxNXQBdSH8HF/pxvXHpG/i6Qjvt/rJqUjzU 9fIWf56jbDDELxdWv78w3qA8FJfEzyQHJMaeYpFDS0yjTPrL3pI5BvyHbV1YItRVNjWi KAkyzKJ3dPil8shVtNrPckWN+gba60pXEuPKwDIBCuaott5X/LPp9uWhhppRAvuDB+Wu seqcJaRjtKp0HGHqb6UXM3iSf4JB7Msh+U93/qPIq9fbvDsM7tLRdoOcZ1RNbYmY06Qt VeYg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738355249; x=1738960049; h=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=ApDcB/70NhLfS6Oo35lXflpisDd2PH3Bz80as/Dd7Zg=; b=a+imsWv820ZYQDU72TbQzt5oR9oN3Dv3pFJNN9cRHmHKd9ukAKPFMTBayR6N2Jwkyt eCOYxztLVvHyqaIGm4lmplchQSf5Uow5NfL0QzBoEYDyuDkOCkZPc41PxP4wUVjHChcx vsUlW4xHxkulqqDboDRqdiUV1sFcQy77NKBQQfsXoLFZs1M9g8qelIVcam/RPLtY3lbp Qiw1wVgXFgp5eZeV5PdaT7R/Z3ljpXnIkSTath8GO0K/YFxrQT2tA8/gpVtsD59u7vml 7sxiqwWqpPfg194lRnuw1Kr7ufgbwShxV/opIICMFqeTNGdfvkKikngi/hUDD6lCn23Y oN4A==
X-Forwarded-Encrypted: i=1; AJvYcCX+3JI6vahO8Ukt9RbV/3YjS5NgYxC1BGTCdMaK3gxVYvKfc2dn7uKmQyeUDfH8N+rwzC6H6A==@ietf.org
X-Gm-Message-State: AOJu0Yw8aJpBcP8VvGWuWIA39Mz60jzRwESqCuA5eMfrXFeyM7frI6dX bgeHTzzOcE1iShBurA+/cuV6IuZvr0RFuygpfakB/QFwoiey1eWnqHt772Gf2qNwGk9xibmsz5u jlKMzkLmAcNDDqI2yyM+JLw9+YzIHYnb1eLxpmRbO2CkYj5N09aTB1ag=
X-Gm-Gg: ASbGnctAZsi+XCLXcdbUKqd0alcCK4daN1Bp6JY6wBdanPpuOjSxVyqT/9TPj6GI9sX 5Hz7ziPGUn3ody+rDo2OG0p9grgmSGXZf1GBZRw9Q9uaVC9tb/7W7meiv/EoTgqyzsqp4RPzqVS zDezJu/mtM61bKXSz05SfV9m9pYpEDcA==
X-Google-Smtp-Source: AGHT+IGTKM2ngahnpPIYeMhKLvv0k3GA4Rri/0MwOJJ8M0cyOpr1uY/kiJqqHTSPK9aVMaBvr/Mft1NbqgmcEJq3hFw=
X-Received: by 2002:ac8:5f4e:0:b0:46e:2561:e8a9 with SMTP id d75a77b69052e-46ff871e288mr546321cf.2.1738355248696; Fri, 31 Jan 2025 12:27:28 -0800 (PST)
MIME-Version: 1.0
References: <Z4-ph-f_2sm5JTS2@chardros.imrryr.org> <40255C72-BC3B-4A34-89A1-1E6A941EC785@vigilsec.com> <E48F2AC4-C1EC-47C0-B09B-F496F4F6C358@sn3rd.com> <CH0PR11MB5739F2D8E21ED26C2970C9FC9FEF2@CH0PR11MB5739.namprd11.prod.outlook.com> <C8ADA196-BA2E-40FA-9229-6B8F885581B6@akamai.com> <CH0PR11MB5739867A443123C7D8F805329FEF2@CH0PR11MB5739.namprd11.prod.outlook.com> <0B56501B-7FBB-41CB-BBD9-D24E05FD81FF@akamai.com> <CH0PR11MB5739A2D0E88DFE252D4327799FEF2@CH0PR11MB5739.namprd11.prod.outlook.com> <6973861b-2b9a-420d-b590-45989efc6604@nthpermutation.com> <ME0P300MB07132560FC8C3BDBED6CE08FEEEE2@ME0P300MB0713.AUSP300.PROD.OUTLOOK.COM> <CANeU+ZBs+36GcA1fuvQLDzz26KQgHD+CHwonaT-UdReKxXZm8Q@mail.gmail.com> <434803.1738237772@dyas> <25C9A91A-88C8-461C-834E-EAC1C73EBD48@redhoundsoftware.com> <CAEEbLAZYjSr1PdhDORsVKJH17wgdm5Mnh-JRag9QwzmdEgRPKg@mail.gmail.com> <503894.1738329035@dyas>
In-Reply-To: <503894.1738329035@dyas>
From: Sophie Schmieg <sschmieg@google.com>
Date: Fri, 31 Jan 2025 12:27:16 -0800
X-Gm-Features: AWEUYZk8LV3pX7yrDOKItfsWMLPJrrrJQFEnRLyxjP3HHxeEcP8d4NdJyMVm6vQ
Message-ID: <CAEEbLAaXWARGcCdpYuiwnDeBJzKOwd8hbSPYnZaL_qqrpzhL-A@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Content-Type: multipart/alternative; boundary="000000000000180060062d065f31"
Message-ID-Hash: 4E43J2N7CHTGPTVIDMVFAD5SZKN57ILR
X-Message-ID-Hash: 4E43J2N7CHTGPTVIDMVFAD5SZKN57ILR
X-MailFrom: sschmieg@google.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-spasm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Carl Wallace <carl@redhoundsoftware.com>, "StJohns, Michael" <msj@nthpermutation.com>, "spasm@ietf.org" <spasm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [lamps] Re: [EXTERNAL] Re: Request to Extend IETF WGLC for ML-KEM and ML-DSA private key format Specifications
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/mpzJLXt68GniOaESpSBnzWhdiTw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Owner: <mailto:spasm-owner@ietf.org>
List-Post: <mailto:spasm@ietf.org>
List-Subscribe: <mailto:spasm-join@ietf.org>
List-Unsubscribe: <mailto:spasm-leave@ietf.org>
I think if the desperate developer in your example also changes the algorithm OID, and does not pretend that what is no longer a valid PKCS8 seed-only ML-* key is a PKCS8 seed-only ML-* key, the damage done is very limited. Compare that to capitulating upfront, by introducing a format that we know will lead to bugs and inconsistent handling by libraries, the separate OID, that shows up in a few rare cases, and that has the public key described as "tread equivalently to the other OID" seems far preferable. Will there be libraries that struggle to understand the alias OID? Probably. But at least the fix for that is a one liner, not a situation that is broken by design. For the very least, please, can we agree on using something like ASN.1 CHOICE instead of a list of optionals? That way we would at least avoid inconsistent keys being a thing that is allowed by the standard. A separate OID is still far the much cleaner solution, though. As for the RSA OID: The problem there is that there was an OID introduced for "RSA" which in itself is not an algorithm. This differs from this situation, where every OID proposed stands for a fully defined algorithm, with one being an alias when it comes to the public key operations. (Underdefined algorithms are a bit of a pet peeve of my team and me, we've written some of our reasoning up here: https://developers.google.com/tink/design/primitives_and_interfaces, but importantly, no OID here is underdefined) On Fri, Jan 31, 2025 at 5:10 AM Michael Richardson <mcr+ietf@sandelman.ca> wrote: > > Sophie Schmieg <sschmieg@google.com> wrote: > > I mean, if NIST wants to fix things, they can also remove HashML-DSA > > while they're at it *duck*. > > NIST could just say "MUST import SEED" > (there are other options, but that would be the best solution) > > -- > Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works > -= IPv6 IoT consulting =- *I*LIKE*TRAINS* > > > > -- Sophie Schmieg | Information Security Engineer | ISE Crypto | sschmieg@google.com
- [lamps] Request to Extend IETF WGLC for ML-KEM an… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Russ Housley
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… John Gray
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael Richardson
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Viktor Dukhovni
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Russ Housley
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Viktor Dukhovni
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Sean Turner
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Markku-Juhani O. Saarinen
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Daniel Van Geest
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Russ Housley
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Sean Turner
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Carl Wallace
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Sean Turner
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Carl Wallace
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Watson Ladd
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Watson Ladd
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXT] Re: [EXTERNAL] Re: Request to E… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Watson Ladd
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Salz, Rich
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Watson Ladd
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Dmitry Belyavskiy
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Salz, Rich
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Russ Housley
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Salz, Rich
- [lamps] Re: [EXTERNAL] Request to Extend IETF WGL… Alicja Kario
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… David Hook
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Salz, Rich
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Sophie Schmieg
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Request to Extend IETF WGL… Alicja Kario
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael StJohns
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Peter Gutmann
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… StJohns, Michael
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael Richardson
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael StJohns
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael Richardson
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Carl Wallace
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Sophie Schmieg
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Deirdre Connolly
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Viktor Dukhovni
- [lamps] Re: [EXTERNAL] Request to Extend IETF WGL… Alicja Kario
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Michael Richardson
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Sophie Schmieg
- [lamps] Re: [EXT] Re: [EXTERNAL] Re: Request to E… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… David Benjamin
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Mike Ounsworth
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… David Benjamin
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Sophie Schmieg
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Watson Ladd
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Daniel Van Geest
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… David Hook
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Viktor Dukhovni
- [lamps] Re: [EXTERNAL] Re: Request to Extend IETF… Falko Strenzke
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Jean-Pierre Fiset
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Bas Westerbaan
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Russ Housley
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Sophie Schmieg
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Bas Westerbaan
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Russ Housley
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… D. J. Bernstein
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Russ Housley
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Viktor Dukhovni
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… D. J. Bernstein
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Jean-Pierre Fiset
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Falko Strenzke
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Sean Turner
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Hook
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Wei-Jun Wang
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Wei-Jun Wang
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Hook
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Russ Housley
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Wei-Jun Wang
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Ilari Liusvaara
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Kampanakis, Panos
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Simo Sorce
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Hook
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Sophie Schmieg
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Michael Richardson
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Benjamin
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Salz, Rich
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… John Kemp
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Hook
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Simo Sorce
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Simo Sorce
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Benjamin
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Simo Sorce
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Simo Sorce
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Salz, Rich
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Robert Relyea
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Damien Miller
- [lamps] Re: [EXT] Re: Request to Extend IETF WGLC… Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… D. J. Bernstein
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… John Mattsson
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Sophie Schmieg
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Damien Miller
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Tim Hudson
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Watson Ladd
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Salz, Rich
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… David Hook
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Damien Miller
- [lamps] Re: Request to Extend IETF WGLC for ML-KE… Viktor Dukhovni