Re: [IPsec] New Version Notification for draft-kampanakis-ml-kem-ikev2-00.txt

"Kampanakis, Panos" <kpanos@amazon.com> Tue, 20 February 2024 04:26 UTC

Return-Path: <prvs=773ec6dfa=kpanos@amazon.com>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B517C14CEE4 for <ipsec@ietfa.amsl.com>; Mon, 19 Feb 2024 20:26:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.102
X-Spam-Level:
X-Spam-Status: No, score=-7.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, 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, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazon.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 TIzcle0JUU5T for <ipsec@ietfa.amsl.com>; Mon, 19 Feb 2024 20:26:09 -0800 (PST)
Received: from smtp-fw-6002.amazon.com (smtp-fw-6002.amazon.com [52.95.49.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D993C14F5E5 for <ipsec@ietf.org>; Mon, 19 Feb 2024 20:26:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1708403168; x=1739939168; h=from:to:cc:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=Mmsyd14e7+UFp5nzuUFVwi1nlQ03//jJBiQ9sVkEiik=; b=kYD/PznzUyTOb88iNqdMRXAiHrKfH2UoU3KJjFJzZFlhgrWklENA4xRA MLcIeQDlhhAb4lRNDbhRP6gDb2XeEX3UFu4wykUCigOjsf+IjpbuRAFe/ hxCoFbX+83Uvf1yJx6avO56+jzWATjomgZqnYDiSaEaZJgpjEjq6kztzQ E=;
X-IronPort-AV: E=Sophos;i="6.06,171,1705363200"; d="scan'208";a="387639409"
Thread-Topic: [IPsec] New Version Notification for draft-kampanakis-ml-kem-ikev2-00.txt
Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 04:26:06 +0000
Received: from EX19MTAUEB001.ant.amazon.com [10.0.44.209:24627] by smtpin.naws.us-east-1.prod.farcaster.email.amazon.dev [10.0.82.109:2525] with esmtp (Farcaster) id cf8fa82a-24bb-405f-8af2-1918febdef9f; Tue, 20 Feb 2024 04:26:05 +0000 (UTC)
X-Farcaster-Flow-ID: cf8fa82a-24bb-405f-8af2-1918febdef9f
Received: from EX19D012UEA003.ant.amazon.com (10.252.134.84) by EX19MTAUEB001.ant.amazon.com (10.252.135.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 20 Feb 2024 04:26:05 +0000
Received: from EX19D001ANA001.ant.amazon.com (10.37.240.156) by EX19D012UEA003.ant.amazon.com (10.252.134.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.40; Tue, 20 Feb 2024 04:26:04 +0000
Received: from EX19D001ANA001.ant.amazon.com ([fe80::4f78:75cd:3117:8055]) by EX19D001ANA001.ant.amazon.com ([fe80::4f78:75cd:3117:8055%5]) with mapi id 15.02.1258.028; Tue, 20 Feb 2024 04:26:03 +0000
From: "Kampanakis, Panos" <kpanos@amazon.com>
To: Ben S3 <ben.s3=40ncsc.gov.uk@dmarc.ietf.org>, "ipsec@ietf.org" <ipsec@ietf.org>
CC: "Ravago, Gerardo" <gcr@amazon.com>
Thread-Index: AdoV2DEatnwaqH0lRluk3MJn/eiLLQ5m1T2ABKrkfiA=
Date: Tue, 20 Feb 2024 04:26:02 +0000
Message-ID: <4fb2ffeb1d26409eb9b1c2fdea8e0468@amazon.com>
References: <a7235519ec6f4a4a93574108390c8095@amazon.com> <LO4P123MB63568D57DEB3E3ED1228A666807A2@LO4P123MB6356.GBRP123.PROD.OUTLOOK.COM>
In-Reply-To: <LO4P123MB63568D57DEB3E3ED1228A666807A2@LO4P123MB6356.GBRP123.PROD.OUTLOOK.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.37.240.200]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/5ziaEqCTnXL1wGTAXOi3aeARCkg>
Subject: Re: [IPsec] New Version Notification for draft-kampanakis-ml-kem-ikev2-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Feb 2024 04:26:13 -0000

Hi Ben, 

In the just submitted -02 version, I fixed (I think) all points you brought up except for the last one. https://datatracker.ietf.org/doc/html/draft-kampanakis-ml-kem-ikev2-02 

I do not think we need a new draft for a IKEv2 combiner. 

I also added EDNOTEs about adding ML-KEM-512 in the future if the WG converges that direction.

Thank you for the feedback. Hopefully IPSECME will discuss this draft in Brisbane.  



-----Original Message-----
From: IPsec <ipsec-bounces@ietf.org> On Behalf Of Ben S3
Sent: Thursday, January 25, 2024 4:48 AM
To: Kampanakis, Panos <kpanos@amazon.com>; ipsec@ietf.org
Cc: Ravago, Gerardo <gcr@amazon.com>
Subject: RE: [EXTERNAL] [IPsec] New Version Notification for draft-kampanakis-ml-kem-ikev2-00.txt

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.



Hi Panos,

Thanks for producing this draft, it'll obviously be very important going forward. A few thoughts on v01 below:

Abstract states:
> [...] theoretical weaknesses in ML-KEM as it is relatively new.
This line won't age well – it won't be "relatively new" in 10 years' time. Should this come with something saying "at time of writing" or similar?

Section 2.1 states:
> [ML-KEM-1024] SHOULD NOT be used in IKE_SA_INIT because they could often be introducing IP fragmentation which is not possible in IKE_SA_INIT exchanges.
IP fragmentation is possible in IKE_SA_INIT exchanges, just not IKE fragmentation (as in RFC 7383).

Is it worth registering a code point for ML-KEM-512 in this draft, for those that want to use it? Looking at the recent flurry of activity around diet-ESP, it seems to me there's interest in running IPsec in constrained settings, which may want to use the smallest secure option available.

This draft is focused almost entirely on using (EC)DH in the IKE_SA_INIT, and ML-KEM in the IKE_INTERMEDIATE.  This implicitly restricts the use case of using a non-(EC)DH algorithm in the IKE_SA_INIT (e.g. another future PQ-KEM). My view is that the draft should be agnostic on what the algorithm in the IKE_SA_INIT is. It also doesn't allow for using ML-KEM in an IKE_FOLLOWUP_KE as per RFC9370, which should be an option.

In fact, since I imagine any future PQ-KEMs will have similar hybrid requirements to ML-KEM, I wonder whether it would make sense for there to be two drafts – a very simple one for ML-KEM registering code points, and a generic draft along the lines of "Use of Post-Quantum Key Encapsulation Mechanisms in IKE". In my mind, this would include info on how KEMs work in a key exchange payload (as opposed to DH – i.e. the second paragraph of section 2.1), as well as recommendations on using a hybrid key exchange.

- Ben S

-----Original Message-----
From: Kampanakis, Panos <kpanos@amazon.com>
Sent: Monday, November 13, 2023 2:22 AM
To: IPsecME WG <ipsec@ietf.org>
Cc: Ravago, Gerardo <gcr@amazon.com>
Subject: [IPsec] New Version Notification for draft-kampanakis-ml-kem-ikev2-00.txt

Hi all,

https://datatracker.ietf.org/doc/draft-kampanakis-ml-kem-ikev2/
This new draft brings ML-KEM to IKEv2 by using RFC 9370. It basically says how ML-KEM will be negotiated as an additional Key Exchange and requests codepoints for ML-KEM. The intention is not to get temporary codepoints like we did with Kyber in TLS. We are close to the final specs, so codepoints next year would suffice.

It could be a standards track draft given that ML-KEM will see a lot of adoption, an AD sponsored draft, or even an individual stable draft which gets codepoints from Expert Review.  The approach is to be decided by the IPSECME WG.

Feedback is welcome.

Thx,
Panos


~~~
A new version of Internet-Draft draft-kampanakis-ml-kem-ikev2-00.txt has been successfully submitted by Panos Kampanakis and posted to the IETF repository.

Name:     draft-kampanakis-ml-kem-ikev2
Revision: 00
Title:    Post-quantum Hybrid Key Exchange with ML-KEM in the Internet Key Exchange Protocol Version 2 (IKEv2)
Date:     2023-11-12
Group:    Individual Submission
Pages:    11
URL:      https://www.ietf.org/archive/id/draft-kampanakis-ml-kem-ikev2-00.txt
Status:   https://datatracker.ietf.org/doc/draft-kampanakis-ml-kem-ikev2/
HTML:     https://www.ietf.org/archive/id/draft-kampanakis-ml-kem-ikev2-00.html
HTMLized: https://datatracker.ietf.org/doc/html/draft-kampanakis-ml-kem-ikev2


Abstract:

   [EDNOTE: The intention of this draft is to get IANA KE codepoints for
   ML-KEM.  It could be a standards track draft given that ML-KEM will
   see a lot of adoption, an AD sponsored draft, or even a individual
   stable draft which gets codepoints from Expert Review.  The approach
   is to be decided by the IPSECME WG. ]

   NIST recently standardized ML-KEM, a new key encapsulation mechanism,
   which can be used for quantum-resistant key establishment.  This
   draft specifies how to use ML-KEM as an additionall key exchange
   mechanism in IKEv2 along with traditional (Elliptic Curve) Diffie-
   Hellman.  This hybrid approach allows for negotiating IKE and Child
   SA keys which are safe against cryptanalytically-relevant quantum
   computers and theoretical weaknesses in ML-KEM as it is relatively
   new.



The IETF Secretariat


_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec