[lamps] Re: [EXTERNAL] WG Last Call for draft-ietf-lamps-kyber-certificates-07

Alicja Kario <hkario@redhat.com> Mon, 13 January 2025 13:37 UTC

Return-Path: <hkario@redhat.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 82899C151991 for <spasm@ietfa.amsl.com>; Mon, 13 Jan 2025 05:37:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.252
X-Spam-Level:
X-Spam-Status: No, score=-2.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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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=ham 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 9tVyqNRq96w5 for <spasm@ietfa.amsl.com>; Mon, 13 Jan 2025 05:37:27 -0800 (PST)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 E34A0C15198D for <spasm@ietf.org>; Mon, 13 Jan 2025 05:37:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736775445; 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=zjdXB3Qahivx7uRyKHamqwrCixEZh6CO0rG8QwSN5JA=; b=OL4qw+zHbbT6iswzlAQ/ZKcpzH0Gu8aeAE1M+qAKLOwJ72ObBZF/MPOQJONn6B5fXD6Amr bQele2ri5hMMpCAvPSsjl9Y6mMp/GrZ9rhDqi2qvlixgM/Psod2YuEVyLGKikVe+2HK4Wa sKG+eVRz5euJ4EsTgfTv+MejlgRjpLw=
Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-569-45zoba3PMVWUYu-msyF0BQ-1; Mon, 13 Jan 2025 08:37:24 -0500
X-MC-Unique: 45zoba3PMVWUYu-msyF0BQ-1
X-Mimecast-MFC-AGG-ID: 45zoba3PMVWUYu-msyF0BQ
Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-436248d1240so20729175e9.0 for <spasm@ietf.org>; Mon, 13 Jan 2025 05:37:24 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736775443; x=1737380243; 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=kdfy5572EG7oJ5Wy1u0Oc/ewqVne64nS33kuHqUvCOY=; b=txGVvpoQ0Or0cRyw6Btva1TO61sWlLk3WJMN2IOTh3ltHgu5aGLvng/5CX742dJaaq 8/1+aXFtU8keAzGWR6vdjce65gscauBgpcVsu1CEAr6WmmmUbpq8lk7yWoIjkYC2USIi A6xoR9Y9G8HbY42L5Cojm8TTqG1LWjNn6K8txKNNAc2Hq+oKzBQAMn50UiLWS8AyPVCl 9ASNrI4Yohpm7Aq9dTlY6kn+pT+ZFUArgap8lHldFJI7MX1+CvRKWWK2DSxgv0v0jUPm iIWdblwdrix7lGmu/EzsiYetDvbdX8BavV5vnxYfNPyQGd2MD9eTIEQu/8GOvLJyBL+S dPPQ==
X-Forwarded-Encrypted: i=1; AJvYcCXGJGGtYxyLTIlOkHCBA+Xbr3Q8dgB/QYRGQtELAnH13/TepPuDxjckRX+i1qX6Ukh5JE4a0g==@ietf.org
X-Gm-Message-State: AOJu0YzMkQAi/4gnRYgtTaAekHl7y0OZm3kLnSrJR+cplbXY6HAZW161 oNDmwZYI9nOAO4pTXYRz9wBbFeNFnXk2w1XRGuGPojQs6O/ehpA6tIcQ+ZzEeRfZ20cbBFA1CwS aZUQKuR0U3vInz4a7ka1k4S7ADXtjtgkRHA49YE0XPuk=
X-Gm-Gg: ASbGncuMUn8C/pJgXIhgXWrO5Ex9FuFj90FNLajX0ccO+GtbPvySgFaIezKmBPmfiiy IUugTEAw0OQW6614pwx3lei3wgo/2QzF9Q9R6k/hVx4tg/w7pFQI28801Y5IEWC2JQDy1LN4ghh 7qefEPr3V3KWl8DclVXsZTlUZ9LYVBijeFMkxquQlYSDEWqoRy8CydFB1Kl4O/OCB/phsnIo5Gp M/sl5lVL4eZYBdvh18kJtmg3dgtXBGGwxgabbUcYezN9JZEkeg6AzNpowSiR2r8Z3w54fMfKcQ=
X-Received: by 2002:a05:600c:1987:b0:434:a386:6ae with SMTP id 5b1f17b1804b1-436e267850cmr192426725e9.7.1736775443242; Mon, 13 Jan 2025 05:37:23 -0800 (PST)
X-Google-Smtp-Source: AGHT+IGYL/nvlko6GrbgkiQEk+NdCKKDx164qhCBNMBYacKtd5iGMZsBENYaAt2VIK6tEQ9e8mb+rQ==
X-Received: by 2002:a05:600c:1987:b0:434:a386:6ae with SMTP id 5b1f17b1804b1-436e267850cmr192426395e9.7.1736775442878; Mon, 13 Jan 2025 05:37:22 -0800 (PST)
Received: from localhost (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2e8bea5sm177760945e9.31.2025.01.13.05.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 05:37:22 -0800 (PST)
From: Alicja Kario <hkario@redhat.com>
To: Mike Ounsworth <Mike.Ounsworth=40entrust.com@dmarc.ietf.org>
Date: Mon, 13 Jan 2025 14:37:21 +0100
MIME-Version: 1.0
Message-ID: <23631fbd-f3fa-4c9a-a0ad-5108bd2c5981@redhat.com>
In-Reply-To: <CH0PR11MB57397F1A66A9876E5D1FCE759F1F2@CH0PR11MB5739.namprd11.prod.outlook.com>
References: <20250110211357.100776.qmail@cr.yp.to> <65BBC253-EA24-42FE-9427-F3740D9AEED2@vigilsec.com> <CH0PR11MB57397F1A66A9876E5D1FCE759F1F2@CH0PR11MB5739.namprd11.prod.outlook.com>
Organization: Red Hat
User-Agent: Trojita/0.7-git; Qt/5.15.15; wayland; Linux; Fedora release 40 (Forty)
X-Mimecast-Spam-Score: 0
X-Mimecast-MFC-PROC-ID: NGbwdDOGh3rG1GD0GYO-_vHyTztGxeolR761vB3_Ys0_1736775443
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 5DSXKDHEQNKKXEJWPTYGFBR3P4ZAORNE
X-Message-ID-Hash: 5DSXKDHEQNKKXEJWPTYGFBR3P4ZAORNE
X-MailFrom: hkario@redhat.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: Russ Housley <housley@vigilsec.com>, Dan Bernstein <djb@cr.yp.to>, spasm@ietf.org, sob@harvard.edu
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [lamps] Re: [EXTERNAL] WG Last Call for draft-ietf-lamps-kyber-certificates-07
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/y4NBXEXxuSuY149n5ANL0J7OL48>
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>

We do have top level specifications in PKIX, like rfc5280.
But none of them have ever specified mandatory to implement PKI algorithms.
That's a thing for protocols that use X.509.

So, no, as Russ said, this specification does not specify ML-KEM as a
mandatory to implement algorithm within IETF.

On Monday, 13 January 2025 02:48:06 CET, Mike Ounsworth wrote:
> I agree that the concept of “Mandatory-to-implement” within 
> IETF X.509 behaves a bit differently than MTI in other WGs.
>  
> As Russ says, there is no global “Every X.509 or CMS 
> implementation MUST support X”.
>  
> But I think what Dan is getting at has a kernel of truth to it 
> also: a given LAMPS specification can contain both mandatory and 
> optional components. For example, draft-ietf-lamps-cms-kyber 
> says “A compliant implementation MUST support HKDF with SHA-256” 
> as the KEMRecipientInfo.KDF – so *IF* you implement ML-KEM 
> within CMS, then it is mandatory to implement HKDF-SHA256, *BUT* 
> you are allowed to implement CMS without implementing ML-KEM. 
> MTI within this draft, but not globally MTI for CMS. It’s weird. 
> My brain hurts now.
>  
> ---
> Mike Ounsworth
>  
> From: Russ Housley <housley@vigilsec.com> 
> Sent: Sunday, January 12, 2025 11:09 AM
> To: Dan Bernstein <djb@cr.yp.to>
> Cc: spasm@ietf.org; sob@harvard.edu
> Subject: [EXTERNAL] [lamps] Re: WG Last Call for 
> draft-ietf-lamps-kyber-certificates-07
>  
> Dan: >> This is not a mandator-to-implement algorithm. If one 
> chooses to >> implement this specification, then that 
> implementer will obviously >> need to implement ML-KEM. > > That 
> makes the algorithm mandatory to implement. 
> Dan:
>  
>>> This is not a mandator-to-implement algorithm.  If one chooses to
>>> implement this specification, then that implementer will obviously
>>> need to implement ML-KEM.
>> 
>> That makes the algorithm mandatory to implement.
>  
> We disagree on a vey fundamental level. The PKIX WG and the 
> LAMPS WG have been very clear that there are no 
> mandatory-to-implement algorithms in the PKI specifications.  
> Rather, othr WGs that specify protocols that make use of PKI can 
> make algorithms selections.  For example, S/MIME and TLS are two 
> protocols that use PKI.  S/MIME 4.0 (RFCs 8550 and 8551) 
> includes statements about mandatory-to-implement algorithms.  
> The TLS 1.3 (RFC 8446) includes statements about 
> mandatory-to-implement algorithms. 
>  
> Russ

-- 
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