[lamps] Re: External email: RE: [EXTERNAL] Responding to ISSUE #5
Piotr Popis <piotr.popis@enigma.com.pl> Mon, 19 August 2024 12:50 UTC
Return-Path: <piotr.popis@enigma.com.pl>
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 4AAD7C151983 for <spasm@ietfa.amsl.com>; Mon, 19 Aug 2024 05:50:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=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_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 (2048-bit key) header.d=enigma.com.pl
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 7zmRfKTsXplC for <spasm@ietfa.amsl.com>; Mon, 19 Aug 2024 05:50:39 -0700 (PDT)
Received: from mx.comp.com.pl (mx.comp.com.pl [91.198.145.117]) (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 185D2C15171B for <spasm@ietf.org>; Mon, 19 Aug 2024 05:50:37 -0700 (PDT)
Received: from mail.enigma.com.pl ([10.13.11.10]) by mx.comp.com.pl with ESMTPS id 47JCoJbg016613-47JCoJbi016613 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 19 Aug 2024 14:50:20 +0200
Received: from localhost (localhost [127.0.0.1]) by mail.enigma.com.pl (Postfix) with ESMTP id E134220DDCFDD9; Mon, 19 Aug 2024 14:50:19 +0200 (CEST)
Received: from mail.enigma.com.pl ([127.0.0.1]) by localhost (mail.enigma.com.pl [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ek8-_dmP4ClA; Mon, 19 Aug 2024 14:50:19 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by mail.enigma.com.pl (Postfix) with ESMTP id B35D720DDCFDD5; Mon, 19 Aug 2024 14:50:19 +0200 (CEST)
X-Virus-Scanned: amavisd-new at enigma.com.pl
Received: from mail.enigma.com.pl ([127.0.0.1]) by localhost (mail.enigma.com.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vKRY6tNIgdb6; Mon, 19 Aug 2024 14:50:19 +0200 (CEST)
Received: from PPOPISDELL (unknown [10.14.1.155]) by mail.enigma.com.pl (Postfix) with ESMTPSA id 5CE2A20DDCFDD1; Mon, 19 Aug 2024 14:50:19 +0200 (CEST)
From: Piotr Popis <piotr.popis@enigma.com.pl>
To: 'Mike Ounsworth' <Mike.Ounsworth=40entrust.com@dmarc.ietf.org>, 'John Gray' <John.Gray@entrust.com>, spasm@ietf.org
References: <01a801dae4ba$c5dfcf00$519f6d00$@enigma.com.pl> <CH0PR11MB57394FCDB757B76712CCB2599F872@CH0PR11MB5739.namprd11.prod.outlook.com>
In-Reply-To: <CH0PR11MB57394FCDB757B76712CCB2599F872@CH0PR11MB5739.namprd11.prod.outlook.com>
Date: Mon, 19 Aug 2024 14:50:19 +0200
Message-ID: <013301daf236$58df83d0$0a9e8b70$@enigma.com.pl>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0134_01DAF247.1C709130"
Thread-Index: AQLU6+ii70uSTM4SjOvRl/GUc/DCwwJMHZRCsCgXCXA=
Content-Language: pl
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=enigma.com.pl; s=mx; c=relaxed/relaxed; h=from:to:references:subject:date:message-id:mime-version:content-type; bh=5wXeK8FXrf8RyM5xLpfBDC0ZKs06H7OlpE2orNAY7DI=; b=EGWWANGu8T7cUHV/3odBqMmqgbRhc0m4CgMHmAYGQOPdFX99RBGyxg4J85QWNLBdce8cGAL8TCt6 JBxqSs9aK3QQTTR44ik+gU+y3usxtW4xeSOP4rFiwXo4n3B0faGzN1742DJ6bhdncL3+ZiA1zjLL zfBQ0Cdj70zGlJSB4EbNoEi4zyD+W+C2k1Ml+hIzORmpaQ6msdqJsd2aGr6r92ZWSHks8AgCzjU3 0XeZ8fCRQcvl6HVv4V0MI/ZdMzOFaZHZXgAz3ysX6RHK/CB9dAhIcqFupRpBZLxpa7X9jhmXQj/4 JtoVAO5W+2mxRyKhQBRAZycpHZ6/QWgm5d5H3Q==
Message-ID-Hash: EKEHYVB6FLQSWQRRQDUEEEMM6FBZFOKQ
X-Message-ID-Hash: EKEHYVB6FLQSWQRRQDUEEEMM6FBZFOKQ
X-MailFrom: piotr.popis@enigma.com.pl
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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [lamps] Re: External email: RE: [EXTERNAL] Responding to ISSUE #5
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/nFz5O7b-2zXdMIrE7QiePBMKjKg>
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>
Hi All My detailed proposal is as follows: Version 1 +===================+============+=========+===============+========+=========+ | Composite KEM |OID |First |Second |KDF |Overall | | | |Algorithm|Algorithm | |Security | | | | | | |strength | +===================+============+=========+===============+========+=========+ | id-MLKEM512-ECDH |<CompKEM>.1 |MLKEM512 |ECDH-P256 |SHA3-256| 128 bits| | -P256 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id-MLKEM512- |<CompKEM>.2 |MLKEM512 |ECDH- |SHA3-256| 128 bits| | ECDH- | | |brainpoolp256r1| | | | brainpoolP256r1 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id- |<CompKEM>.3 |MLKEM512 |X25519 |SHA3-256| 128 bis | | MLKEM512-X25519 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id- |<CompKEM>.13|MLKEM512 |RSA-OAEP 2048 |SHA3-256| 112 bits| | MLKEM512-RSA2048 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id- |<CompKEM>.4 |MLKEM512 |RSA-OAEP 3072 |SHA3-256| 128 bits| | MLKEM512-RSA3072 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id- |<CompKEM>.41|MLKEM512 |RSA-OAEP 4096 |SHA3-256| 128 bits| | MLKEM512-RSA4096 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id-MLKEM768-ECDH |<CompKEM>.5 |MLKEM768 |ECDH-P384 |SHA3-384| 192 bits| | -P384 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id-MLKEM768- |<CompKEM>.6 |MLKEM768 |ECDH- |SHA3-384| 192 bits| | ECDH- | | |brainpoolp384r1| | | | brainpoolP384r1 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id- |<CompKEM>.7 |MLKEM768 |X448 |SHA3-384| 192 bits| | MLKEM768-X448 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id-MLKEM1024-ECDH |<CompKEM>.8 |MLKEM1024|ECDH-P521 |SHA3-512| 256 bits| | -P521 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ | id-MLKEM1024- |<CompKEM>.9 |MLKEM1024|ECDH- |SHA3-512| 256 bits| | ECDH- | | |brainpoolP512r1| | | | brainpoolP512r1 | | | | | | +-------------------+------------+---------+---------------+--------+---------+ or Version 2 +===================+============+=========+===============+========+===========+ | Composite KEM |OID |First |Second |KDF | Overall | | | |Algorithm|Algorithm | | Security | | | | | | | Category | +===================+============+=========+===============+========+===========+ | id-MLKEM512-ECDH |<CompKEM>.1 |MLKEM512 |ECDH-P256 |SHA3-256| 1 | | -P256 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id-MLKEM512- |<CompKEM>.2 |MLKEM512 |ECDH- |SHA3-256| 1 | | ECDH- | | |brainpoolp256r1| | | | brainpoolP256r1 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id- |<CompKEM>.3 |MLKEM512 |X25519 |SHA3-256| 1 | | MLKEM512-X25519 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id- |<CompKEM>.13|MLKEM512 |RSA-OAEP 2048 |SHA3-256|less than 1| | MLKEM512-RSA2048 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id- |<CompKEM>.4 |MLKEM512 |RSA-OAEP 3072 |SHA3-256| 1 | | MLKEM512-RSA3072 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id- |<CompKEM>.41|MLKEM512 |RSA-OAEP 4096 |SHA3-256| 1 | | MLKEM512-RSA4096 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id-MLKEM768-ECDH |<CompKEM>.5 |MLKEM768 |ECDH-P384 |SHA3-384| 3 | | -P384 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id-MLKEM768- |<CompKEM>.6 |MLKEM768 |ECDH- |SHA3-384| 3 | | ECDH- | | |brainpoolp384r1| | | | brainpoolP384r1 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id- |<CompKEM>.7 |MLKEM768 |X448 |SHA3-384| 3 | | MLKEM768-X448 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id-MLKEM1024-ECDH |<CompKEM>.8 |MLKEM1024|ECDH-P521 |SHA3-512| 5 | | -P521 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ | id-MLKEM1024- |<CompKEM>.9 |MLKEM1024|ECDH- |SHA3-512| 5 | | ECDH- | | |brainpoolP512r1| | | | brainpoolP512r1 | | | | | | +-------------------+------------+---------+---------------+--------+-----------+ Comments: 1. Only one version could be introduced into the standard; preferably in the "Security Considerations" Section. 2. FIPS 203 final version dropped the appendix A that was in the draft. However, as long as NIST SP 800-131A rev. 2 in table 4 (page 13) defines the security of algorithms based on "security strength" in bits it seems that table version 1 is appropriate. 3. On the other hand, FIPS 203 uses the term "Security Category" which is not intended to be a simple equivalent of "security strength" - see text under Table 3 in FIPS 203. Hence, perhaps version 2 would be more appropriate. In my opinion it would be best to consult with NIST on this. 4. If a quantum computer with sufficient computing power (CRQC) were to appear, then: a) the classical algorithm would become useless, but the Security Category/Security strength column would remain at the same level (in such a situation I withdraw from the formulation about the "weakest element|"); b) we would probably start defining OIDs with two PQ algorithms, i.e. the hybrid approach would still be appropriate, but "hybridity" would be defined differently. đ --- Piotr Popis From: Mike Ounsworth <Mike.Ounsworth=40entrust.com@dmarc.ietf.org> Sent: Wednesday, August 14, 2024 4:36 PM To: Piotr Popis <piotr.popis@enigma.com.pl>; 'John Gray' <John.Gray@entrust.com>; spasm@ietf.org Subject: External email: RE: [EXTERNAL] [lamps] Responding to ISSUE #5 Hi Piotr, > âIn addition, it might be appropriate to add a column, for example, in Table 6 (or even better, in a new table in Section 11.1) indicating the "overall" Security strength, which would take into account the weakest element.â While I agree that this will be useful to a reader, I think that coming up with a single âoverall security strengthâ for a composite will be difficult. For example, are you considering before or after your adversary has a CRQC? Perhaps the best we could do is to have two columns for âClassical securityâ and âPQ Securityâ and list different numbers in each column. Is this worth doing? Tracked in github: https://github.com/lamps-wg/draft-composite-sigs/issues/29 --- Mike Ounsworth From: Piotr Popis <piotr.popis=40enigma.com.pl@dmarc.ietf.org <mailto:piotr.popis=40enigma.com.pl@dmarc.ietf.org> > Sent: Friday, August 2, 2024 4:03 AM To: 'John Gray' <John.Gray=40entrust.com@dmarc.ietf.org <mailto:John.Gray=40entrust.com@dmarc.ietf.org> >; spasm@ietf.org <mailto:spasm@ietf.org> Subject: [EXTERNAL] [lamps] Responding to ISSUE #5 Hi All My suggestion is to drop the RSA key size from the OID at all. However, if the group decided otherwise, that's not a problem for me. But in such a case, I recommend that the relevant cryptographic compositions be as close as possible Hi All My suggestion is to drop the RSA key size from the OID at all. However, if the group decided otherwise, that's not a problem for me. But in such a case, I recommend that the relevant cryptographic compositions be as close as possible to NIST Security strength/Security Category. For example, as suggested by Mike, RSA 4096 we should pair it with the same cipher suites as the RSA-3072 combo. In addition, it might be appropriate to add a column, for example, in Table 6 (or even better, in a new table in Section 11.1) indicating the "overall" Security strength, which would take into account the weakest element. ---- Piotr Popis From: John Gray <John.Gray=40entrust.com@dmarc.ietf.org <mailto:John.Gray=40entrust.com@dmarc.ietf.org> > Sent: Thursday, August 1, 2024 11:41 PM To: spasm@ietf.org <mailto:spasm@ietf.org> Subject: [lamps] Composite Signatures and KEM open issues that need feedback Hello Lamps. Thanks for the feedback at IETF 120 for composite signatures and composite KEMs. We the authors have compiled together all the currently open questions about composites into one email (sorry it is so long). Feedback on-list is great. Discussion directly on the linked github issue is better. If youâre going to comment on the mailing list. Please carefully tag which issue you are discussing so that it stays somewhat orderly ⌠âResponding to ISSUE #3â. Open Questions on Composite Signatures: ISSUE #1 (Github issue: https://github.com/lamps-wg/draft-composite-sigs/issues/9 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-sigs/issues/9__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmYPi07FMA$> ) The ML-DSA public key should be an unwrapped BIT STRING with no ASN.1 type around them. Currently the ML-DSA draft draft-ietf-lamps-dilithium-certificates uses this: pk-MLDSA PUBLIC-KEY ::= { IDENTIFIER id-MLDSA -- KEY no ASN.1 wrapping -- PARAMS ARE absent CERT-KEY-USAGE { nonRepudiation, digitalSignature, keyCertSign, cRLSign } --- PRIVATE-KEY no ASN.1 wrapping -- } We could try using something like an ENCODED BY id-rawkey as in: id-raw-key ::= SOME OBJECT IDENTIFIER pk-CompositeSignature {OBJECT IDENTIFIER:id, FirstPublicKeyType,SecondPublicKeyType } PUBLIC-KEY ::= { IDENTIFIER id KEY SEQUENCE { firstPublicKey BIT STRING (CONTAINING FirstPublicKeyType | ENCODED BY id-raw-key), secondPublicKey BIT STRING (CONTAINING SecondPublicKeyType | ENCODED BY id-raw-key) } PARAMS ARE absent CERT-KEY-USAGE { digitalSignature, nonRepudiation, keyCertSign, cRLSign} } Or just have some text that explains the BIT STRING is a raw key without the extra ASN.1 type wrapping. Does the working group have a preference on this matter? The authors think adding some explanatory text should be sufficient. ISSUE #2 (Github Issue: https://github.com/lamps-wg/draft-composite-sigs/issues/19 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-sigs/issues/19__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmaZiH08cw$> ) Do we make the Domain separator Hash (DER (OID)) instead of just DER(OID)? The one advantage is we end up with a fixed length Domain separator. The authors donât think this is required, but are willing to make the change if the working group would like to see this done. ISSUE #3 (Github issue: https://github.com/lamps-wg/draft-composite-sigs/issues/6 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-sigs/issues/6__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZgDz_4qQ$> ) Should we consider compacting the CompositeSignaturePrivateKey format? For example, today it is: CompositeSignaturePrivateKey ::= SEQUENCE SIZE (2) OF OneAsymmetricKey We could compact it to: CompositeSignaturePrivateKey ::= SEQUENCE SIZE (2) OF OCTET STRING Then implementations would need to recompose the OneAsymmetricKey using the combination of settings give by the OID. This removes the redundant information from the CompositeSignaturePrivateKey because it is now carried in the OID representation itself. The authors donât have strong opinion on whether this should be changed. The two benefits: 1. Smaller private keys (maybe a couple percent) 2. Aligns with the compact format used in the public key. 3. It makes it a bit more difficult for implementors (but not too much). --------- Open Issues affect both Composite Signatures and Composite KEM: ISSUE #4 Timing. Does LAMPS have an official or unofficial milestone for publishing? Answer could be different for KEMs and Sigs. Obviously, thereâs going to be a flurry of PQC drafts from LAMPS and others once FIPS 203, 204, 205 are out. Are we trying to get these into that wave, or not? In particular, should we wait X years for CFRG to finish their KEM Combiners activity, or should we publish this and fix it later if we need to? (The authors and the general feel at LAMPS 120 was to publish-now-fix-later). ISSUE #5 (Github issues: <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/37__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmYIjqiuAg$> https://github.com/lamps-wg/draft-composite-kem/issues/37 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-sigs/issues/24__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZOtTBM-Q$> https://github.com/lamps-wg/draft-composite-sigs/issues/24 https://github.com/lamps-wg/draft-composite-sigs/issues/23 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-sigs/issues/23__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZJ8ofuUw$> Should the RSA key size be specified by the OID, or left free? Related sub question: if specified, which RSA key sizes should we support? Currently we have {2048, 3072}, but weâve been asked by an implementer to add 4096. Should it then be {2048, 4096}? Jan is advocating for having all three RSA sizes. Arguments for removing the key size restriction: it completely avoids that related sub question. Arguments against: we probably should provide guidance on how to pair RSA key sizes with the ML-KEM and KDF parameter. Removing the RSA key size does not shorten the current list; you need a minimum of 4 RSA combos to hit: MLDSA44+PSS, MLDSA44+PKCS1, MLDSA65+PSS, MLDSA65+PKCS1, and the equivalents on the KEM side. Reminder: having both L1/2, and L3 with RSA is sort of about matching security levels (although we would be quite happy to call all levels of RSA âNIST PQC L1â), but itâs more about people trying to add PQ to an RSA deployment and they only want to implement one size of ML-*. Maybe this is a weak argument? But then if we only go with one PQ level, then which ML-DSA and which ML-KEM is âthe oneâ? For signature the authors are intending to add two new combinations with RSA 4096. We suggest: id-MLDSA65-RSA4096-PSS-SHA512 id-MLDSA65-RSA4096-PKCS15-SHA512 For KEM we are intended to add id-MLKEM512-RSA4096 ----------- Open Issues affecting Composite KEM ISSUE #6 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/40 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/40__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZEJCYVSQ$> ) Combiner construction. Weâre on-path to align with OpenPGP and X-Wing. We greatly appreciate the interaction with Quynh Dang to make sure this is FIPS-compliant. Sorry for the confusing notation on the slides and in draft-04. The intention is to get as close to the OpenPGP construction as we can, which is: SHA3-*( mlkemSS || tradSS || tradCT || tradPK || domSep ) Note: X-wing puts its spaceship ascii art domain separator first, which we believe will not pass SP800.56Cr2; We believe it has to be at the end to fit 56Cr2âs FixedInfo. The authors will work with the authors of draft-openpgp-pqc, X-Wing, and the forthcoming KEM Combiners draft at CFRG to align hopefully to the point of binary compatibility. I donât think we actually need any WG feedback, unless there are objections. <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/40__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZEJCYVSQ$> https://github.com/lamps-wg/draft-composite-kem/issues/40 https://github.com/lamps-wg/draft-composite-kem/issues/45 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/45__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmawI8QXbA$> ISSUE #7 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/54 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/54__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZqgIhVvw$> ) For a security proof of the ML-KEM + ECDH combos, we can point to the X-Wing paper. We should have a similar proof for the RSA-OAEP combos. Not sure how to go about attracting someone to help with this, or if we should attempt proof-writing ourselves. ISSUE #8 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/52 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/52__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmYPtzonQQ$> ) KEM domain separators. Currently we are using DER(OID) as the domain separator. We think it is desirable that a shared secret derived for CMS cannot be swapped into, for example, an OpenPGP or HPKE context. But maybe that does not need to be handled at the KEM algorithm level, maybe it is already handled at the protocol level (CMS KEMRI, for example), and so we should align on domain separators with OpenPGP? For X-Wing in particular, for that one we could take the â\.//^\â, but as mentioned above, that wouldnât give binary compatability anyway since they put it at the beginning, and we have to put it at the end for FIPS reasons. Do we want binary compatibility with OpenPGP KEM and XWing. If this is true then shouldnât we have one composite KEM primitive draft, and then drafts that specify usage in OpenPGP and CMS. We also need to think about the encoding of the public key. ISSUE #9 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/48 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/48__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmbTfMJ7xA$> ) The term âDHKEMâ and âRSAOAEPKEMâ. Are those registered and already used? In particular, does RFC 9180 have a monopoly on the term âDHKEMâ? If so, the authors are happy to take suggestions for what to call our abstract pseudocode in 2.3.3. <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/48__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmbTfMJ7xA$> https://github.com/lamps-wg/draft-composite-kem/issues/48. Are we worried about name collisions of Pseudo code in RFCâs. What do we rename it to? ISSUE #10 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/50 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/50__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmbzKCrDyw$> https://github.com/lamps-wg/draft-composite-kem/issues/49 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/49__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmYTa0CmGw$> ) Binding public keys in the KDF. Basically, CMS is used by a lot of embedded and hardware things â a smartcard applet that decrypts S/MIME is an example here. Itâs never been true in the past that the device needs the public key in order to do a decryption. Are we asking for trouble if we suddenly make that a requirement of the RSA / ECC side of the hybrid? Note that we only need it at the combiner level, not inside the RSA / ECC decryption routine, which remains unmodified. The authors vote is that this is an ok thing to prescribe, but: 1) We are not embedded hardware vendors, and 2) weâve been asking this question for a while and have received zero community feedback on it. If we think this is needed in composite, it will have to added. As an example, in <https://urldefense.com/v3/__https:/docs.oracle.com/javacard/3.0.5/api/javacard/security/ECPrivateKey.html__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZPOkjhhA$> https://docs.oracle.com/javacard/3.0.5/api/javacard/security/ECPrivateKey.html does not contain the public key. ISSUE #11 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/51 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/51__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmaztQipkQ$> ) KDF = SHA3 ⌠what about SHA2. This question should probably have the same answer as Dan van Geestâs related question about draft-cms-kyber. The argument for is that even though ML-KEM needs SHA3 internally, this may not always be available to the layer of code doing the combiner, or the CMS EnvelopedData. Just a note, because the KDF is part of the composite OID, adding HKDF-SHA2 will 2x the size of the list. If the WG wants us to do this, great, but please donât complain at us about the size of the list. The authors suggest, rather than 2x'ing the whole list, we do the following: All RSA combinations use HKDF-SHA2. Each of the P256 and brainpoolP256 combinations are offered with both SHA3 (to align with X-Wing), and HKDF-SHA2. The new list would then be: | Composite KEM | KDF | |--------- | -------- | | id-MLKEM512-ECDH-P256 | SHA3-256 | | id-MLKEM512-ECDH-P256 | HKDF-SHA2 | | id-MLKEM512-ECDH-brainpoolP256r1 | SHA3-256 | | id-MLKEM512-ECDH-brainpoolP256r1 | HKDF-SHA2 | | id-MLKEM512-X25519 | SHA3-256 | | id-MLKEM512-RSA2048 | HKDF-SHA2 | | id-MLKEM512-RSA3072 | HKDF-SHA2 | | id-MLKEM512-RSA4096ââââ | HKDF-SHA2 | | id-MLKEM768-ECDH-P256 | SHA3-384 | | id-MLKEM768-ECDH-P256 | HKDF-SHA2 | | id-MLKEM768-ECDH-brainpoolP256r1 | SHA3-384 | | id-MLKEM768-ECDH-brainpoolP256r1 | HKDF-SHA2 | | id-MLKEM768-X25519 | SHA3-384 | | id-MLKEM1024-ECDH-P384 | SHA3-512 | | id-MLKEM1024-ECDH-brainpoolP384r1 | SHA3-512 | | id-MLKEM1024-X448 | SHA3-512 | {: #tab-kem-algs title="Composite KEM key types"} ISSUE #12 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/47 <https://urldefense.com/v3/__https:/github.com/lamps-wg/draft-composite-kem/issues/47__;!!FJ-Y8qCqXTj2!dMdIjqsPL1q3R2Id8EA2I0a_P18dTjGENAIIStUQ4WelWt7GEPdO57e9P4Btj9-PJv_2_aYSyGnK15TQWrjHqIe_su2kRiy8HmZqOxcd6Q$> ) Should we remove ML-KEM512 and only offer 768 and 1024? Thanks in advance for all your feedback to move these drafts forward, The Composite Signature and KEM authors Any email and files/attachments transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. If this message has been sent to you in error, you must not copy, distribute or disclose of the information it contains. Please notify Entrust immediately and delete the message from your system.
- [lamps] Responding to ISSUE #5 Piotr Popis
- [lamps] Re: Responding to ISSUE #5 Carl Wallace
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Mike Ounsworth
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Tim Hollebeek
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Tim Hollebeek
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Mike Ounsworth
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Mike Ounsworth
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 John Gray
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Michael Richardson
- [lamps] Re: [EXTERNAL] Responding to ISSUE #5 Tim Hollebeek
- [lamps] Re: External email: RE: [EXTERNAL] Respon⌠Piotr Popis
- [lamps] Re: External email: RE: [EXTERNAL] Respon⌠Mike Ounsworth
- [lamps] Re: External email: RE: [EXTERNAL] Respon⌠Dang, Quynh H. (Fed)
- [lamps] Re: External email: RE: Re: External emai⌠Piotr Popis
- [lamps] Re: External email: RE: Re: External emai⌠Mike Ounsworth
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Blumenthal, Uri - 0553 - MITLL
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Mike Ounsworth
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Piotr Popis
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Mike Ounsworth
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Piotr Popis
- [lamps] Re: [EXT] Re: External email: RE: Re: Ext⌠Phillip Hallam-Baker