[lamps] Re: Composite Signatures and KEM open issues that need feedback
Mike Ounsworth <Mike.Ounsworth@entrust.com> Fri, 16 August 2024 17:30 UTC
Return-Path: <Mike.Ounsworth@entrust.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 68AB5C14F6A5; Fri, 16 Aug 2024 10:30:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=entrust.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 OofEJ36PQ-Ed; Fri, 16 Aug 2024 10:30:39 -0700 (PDT)
Received: from mx07-0015a003.pphosted.com (mx07-0015a003.pphosted.com [185.132.183.227]) by ietfa.amsl.com (Postfix) with ESMTP id 94AC0C14F682; Fri, 16 Aug 2024 10:30:38 -0700 (PDT)
Received: from pps.filterd (m0242864.ppops.net [127.0.0.1]) by mx08-0015a003.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47GF564d032565; Fri, 16 Aug 2024 12:30:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=entrust.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=mail1; bh=mOBelTF9y+52zKETN6qUcuNdqInr KXvF2OmFShS5fQc=; b=YF18HvPmk/fJ8ebaSgwbnwOAb31C1VANbv5qOZMnCcEi MUGJKwIHM4unrJkHv6slPB+9UgTDrP06yC0TAWJcRJYpxGmDcZML9HB/+fRHf1Hk nM0COzupd/D+kQkdgm7S8h/OHkN1Vj4wcVGm8Lv9YP9q8NuxYxbCB6izxM3/Y7+N gZK5K4aBDr+c4TubkF2V0RzpTCf8W+GV4jCNcG7pKRcSwgAg8f+9OdJV4E6nRs09 b7UDaxzOW9HbUL+Xp0ElqFJtYkOokrH8JYNyTXTri9VOiiSHBFYPp+6n70S+WyGg 3b06g9dDmGQMRxGGYpPPa0/J6wR1tgwtdHu8z12Ynw==
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx08-0015a003.pphosted.com (PPS) with ESMTPS id 40x4vyu421-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Aug 2024 12:30:34 -0500 (CDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=y4D+T/ZmC+8RkOELldBQbohKNlYdVyhmB9yPHXN+NuGY6Sf2lsOy33jyRHHSWxfDaPHpyzYiyQmYjz8AqiG27uLmddTfioxB26OZIjGZtviz2KkzbAw4yL+ENoI30+AV4PCqNDUjfYmBKQYn2dbO2HA/gWBKlKmEBf9OUxfhKxO4Be6cIOLIlImpyhU4QfFlzGzyMb9zwdrlLLxHXdAHeeS3HrvdovFCM8BHaQ+rRiQdoGEDpsvur3LnzU54hk5XtGk99wvPkH0X2xOh3XKHvU3bGuPoE4yaQvioPR0xaWJj7K4ZnLCIDDLSOJWRWSybB74cF3/KzZTsFOpEyeXJIg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mOBelTF9y+52zKETN6qUcuNdqInrKXvF2OmFShS5fQc=; b=QyXCsgtdZUFzkOWt8+xDeptqxkjUdhcTPJLWtHg3X5P1T0nCsvuXEcPVDsae4K7hC6e81gXh0NSw8dVbD9iPMnnDYxcQr+zy8Kv8W7rFlUVX8RVA7GePS0H7dTfPgK/YBF6Mz2t2SYgT6bUkgeLpwRf+Clt6wMVyHBPRjv4LL52wEKE3PPPcW2+HWKh7NH3eUa0Zo6/crMPrNHANRDGyOmkXr924M1fyBFKjDC56qbwSnTgtStqutoaOzKzC4ycGX6e5phRr41aBCERHPPqFpXza/dwBguprL77DDS1zq+bCWLY5198zj9Cpst/GsSJ9m72uz8gsJQ0SYqHi2zHGIw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=entrust.com; dmarc=pass action=none header.from=entrust.com; dkim=pass header.d=entrust.com; arc=none
Received: from CH0PR11MB5739.namprd11.prod.outlook.com (2603:10b6:610:100::20) by SA2PR11MB5145.namprd11.prod.outlook.com (2603:10b6:806:113::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.18; Fri, 16 Aug 2024 17:30:29 +0000
Received: from CH0PR11MB5739.namprd11.prod.outlook.com ([fe80::b93d:b2d:3ad8:9702]) by CH0PR11MB5739.namprd11.prod.outlook.com ([fe80::b93d:b2d:3ad8:9702%4]) with mapi id 15.20.7875.018; Fri, 16 Aug 2024 17:30:29 +0000
From: Mike Ounsworth <Mike.Ounsworth@entrust.com>
To: Tim Hollebeek <tim.hollebeek=40digicert.com@dmarc.ietf.org>, John Gray <John.Gray=40entrust.com@dmarc.ietf.org>, "spasm@ietf.org" <spasm@ietf.org>
Thread-Topic: Composite Signatures and KEM open issues that need feedback
Thread-Index: AQHa5E/pd5ZUbwrwgUW/KGcsn+usIrIqN1MQgAAD6HA=
Date: Fri, 16 Aug 2024 17:30:29 +0000
Message-ID: <CH0PR11MB5739DBB9BF448E3BA0E4B33F9F812@CH0PR11MB5739.namprd11.prod.outlook.com>
References: <DM6PR11MB2585D0402FACFACBBAA2D7BBEAB22@DM6PR11MB2585.namprd11.prod.outlook.com> <SN7PR14MB6492AC1E45D0656E417D8B0D83812@SN7PR14MB6492.namprd14.prod.outlook.com>
In-Reply-To: <SN7PR14MB6492AC1E45D0656E417D8B0D83812@SN7PR14MB6492.namprd14.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
msip_labels:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CH0PR11MB5739:EE_|SA2PR11MB5145:EE_
x-ms-office365-filtering-correlation-id: 2d08246d-80fe-496e-4108-08dcbe191fa3
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|38070700018;
x-microsoft-antispam-message-info: hVnFphJ/wmzhfwh0blv6QU/vl+4xwwqMi4qeQzCLir7zQJJDUhZjLDDgKR7Tk9wO6Z1tbgaaN6jLrQ8EyRNvq76h0EahAo4wCApGxxHRRM9e0fuqQZZHYLhG0rq2Rmxf4SZ62wTPlfni8oNOiozdu1b2cL/cfNEMOv568R+nEytzpfTfUxRyx8x0oi57/8oujJW3jhKNjTSj2VUGh6ldug25BNvQyW9/d6zG6T+/iuBKJhuIzwoLCBWoksgRtlpJKvs2fBq8HJhmQhbAdgjJJ26JC8uaMrzOZPWJXOa+ukUyUeyihct0YvODsbktHwpH7EerR8J6lWStPgMku3mlSf2Esh8I2affZwaiR0IUghcI0Z1pUUyB5KbUcjD1ozKZ40E9w8ftqH8dRRwp1o2Y5okFxnrWJeyF8qf344kjJVo3MPxUjyKfvlNObDhe4E92yOBaEe+V3y4DpAbUfKUDbQax20HBBIxLIR4MZQHGEyUjSAyr/B2uWcRDneUDdeXarOBzccYe0kO0PRCOtObJn1ZV3Lwbt+KObCHl9za7Qoz44f9vny6fZehIS7bgZ+LlOMD0L+yFWoBoWRmQO4lEgVF855VVgVROEbuEDZYr7Klegm7pFGRzeMePxJQjP7Nqr3KlRq+SwB7HKwSpU+hJYIB9jPMk0b1MyYFFeH0Be63fRbZTc2SOsaB6t5wiiQsQDaTbvo+dO2LCNvLYl4mNrCZgr5Xk4aoMdRIEwYhlSOdYHBjZthvdAQShpRrfQFJu3lilihV32VImzeQCXExcC6Ej5z3o53MVaQoHCHhOLvVxNjkrGJb6B9jRnGUYosXZgZ6J+z7APxGtY7N82dCJZULvzwRNRyzX+XxObH8P8hMrpvZ84KKMVjQUQmfmQ+CD60yzPcbReMI9VmtX0rhBLI3f1YNj+Wurj42/+tTXH4XurB7IB0nkOGUfmqzWunoIBkraqp68i7huptDC7rNFy7rfeWygiFEdXnxV4oKE1whq0vrisgdiOoR4GavEJRVpoawCBrzoh8N0C2rLGMYuDrNwMwBvARKo6cQKo2d13hak6xXLAztULYli9Pk/h8ltu+/G3oTNgQSMumAWq0FyUPwlSA3CKGktBZaWoh+01Js7OUT1OqC7pfJ5fApIRfookhwA/E7NVUPsvEZZK0X57seYClyg550rNY95fZuATJZbbxyoGqPjfVqZtpgS1C9MUe6/p9UImLooRDgyQznd27hzwNrxVm4KRwdENyvuSacx7sJLlUjlze4AEd4cIDLrl5NrdfBb4E52WKTE+lG3vUFZrzRn5sPxua+vmqw02feKOMw+cP6qqqGkxapfdp68Hz6jky0Z6zJasrs6TvZUHU5sJf2gSTdBlZgWn+MRsE8=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR11MB5739.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(38070700018);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: aFvtxOk9oAswGvSJVRJMAXhAR8Vp/49GTsU0xbnPyHUFDcnkRFry5ABPvgVFPCRqlqL1Hj9BM1qxS2zusebdvsBjbAxlUKa+abb0ar9jxP2Mjwldm5Cj1t2MjEzpP+rC+660liuCQSQ8w7w7vLN4XoGDgYiwbQAp36KOKWco69r8ucgHFNWAV7Zx+7o1/M2SHj6UH457BX6FOGcoegEcH5V1bTECiOQdZiGIJn3B6k4VEqGBqEi3m5PWwzrO09ONIzfmIKIojyLCXgodTINFvWbmnmGhZngrb0oSaCJCK0Dsk4hW8Fie0KLI3r22k0EYo5XW5xVu5hqI0wk5DHJLnwLU+/mQ2esTGd7KYgqevuyAZfydwdOQXAhXJepnvf0mbbu2ZyRMaFD3e44L4wNHIWaIm6zcPIWR7Oe6Hj6ZtDY4S3tJLOYDtq98JuujceI5eJYiAukT5WWRdXlx9qzgyTxVuGpmLANbXKxHFEZE+4yuZw6v8RaOKTrP73kH0SSKh4nO5xrgzdzSQIV+RtgnGf/tDFDOFVacqrYRIZofprMdKNqLUa4gn1QWCWezzHzFTolj98kCkOEOVGW/Lq4PGMSvMUp/icQukBM7s2jCzEp53T+pJt1UL3SQVJ36rqGKZXlw5HswLfCLxRR91nc0m8JJF0vgcmNPixk6GN7xubTdKFEzQqaV4OfeM1HYeEOwfF2ORvj4yDz48pb/O7Q12tJqGND5lSY/2pH80GT5aW3VnoDGeuQGv63QsPpEL/DUDxI9fcrUqRjG/4zpxjPN8tOl4RJYxS1/WHknPkITeDhh+H+PUtJk2565NqBLfTF85i/DkKqrHzl9LnkaO2Bm/M3pPTt+O1IyExW0DGoTVrpy2DDMpmEP1qQfTHptk+FbOH9GN8ETBSuaUSYRCjlk5bWVDktF5ecSnD67rSJFYMdsSh21eRbjiv1Dgv2HoOgznOhCN7E0h12pPW8ybZf+j1IBJjY7Q0BroeDLjFPGYTK4F0De9zE7HeKuRofN+2PmwB8Nnu67GZWrzOdE+zilXpr9npEcF5o5dmyzLj7d3IF1o+cC169ye/3QTCv1NVMEHgPzhWdE+pRGewzfVE3itN95ed1rQVzcMUaZqEiBmnmCpBmWy8A+SERG0B41SjhZSdUj3pkHeA7qALvEFA+jCnFZJOl1tN3yECqL6rpcU7g2eV/G5rzb/EWgVv0G24iEmXKHKcyVjtZ9rJ02SlWXSmRrB6qqeC7ATxuajMwYkeWj7NJWlUzC1B/VyHNs9M1smyWmaOp06FdqOxOGA3A22xL6pURicc4Yaa8PhWmeT8thTrzvrC1lhEb6cE2H6kSiYbcrZxShlq7iFxvHE+/zDO/lrgOBc2nCGvu2rZm24+zh4rYdkGa88M9upivoVOvfIieJYGRW2lrytdzXElfycD3SJQRqQNwXI9IOiQHiuuJ1mzoiy4JIpAGWBT5ay6bd3uxDbv5UVGFBUj5mFwV9hsQqJLn9IdIc7ukzImmGvlvjdn2cG5YGXAqizTOISqTEFbnrjcXRngCwlb5sb3eyZW5JIHFNWsTWJJci/0SztQlNQy/3M3Jc2lmagRo/KTqH
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="2.16.840.1.101.3.4.2.1"; boundary="----=_NextPart_000_018A_01DAEFD8.13768600"
MIME-Version: 1.0
X-OriginatorOrg: entrust.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH0PR11MB5739.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2d08246d-80fe-496e-4108-08dcbe191fa3
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2024 17:30:29.3665 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f46cf439-27ef-4acf-a800-15072bb7ddc1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 1Kpj9wL8E+JI9Nb9jjdUj9/K+/UH9QIsrxQaRkl8t5Hhtp2/5C7YSeuU3aVu2+mDj74VDr+4HGkrIzxu/ZJZqVhrVa2BuU9CaCN1PaXckcc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5145
X-Proofpoint-GUID: GKdWZHFzR3nnkcajKWNlms72grufPnme
X-Proofpoint-ORIG-GUID: GKdWZHFzR3nnkcajKWNlms72grufPnme
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-16_12,2024-08-16_01,2024-05-17_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 mlxlogscore=999 phishscore=0 spamscore=0 bulkscore=0 malwarescore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.21.0-2407110000 definitions=main-2408160123
Message-ID-Hash: L6DBGBWCIRIORV3VNYEB4U7B55SU4VLZ
X-Message-ID-Hash: L6DBGBWCIRIORV3VNYEB4U7B55SU4VLZ
X-MailFrom: Mike.Ounsworth@entrust.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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [lamps] Re: Composite Signatures and KEM open issues that need feedback
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/4qFALfOM7SQJje-c1IWkaFrcXfw>
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>
Thanks Tim. Bit swamped at the moment with feedback and summer vacations, but I parked it here so we don’t lose it: https://github.com/lamps-wg/draft-composite-sigs/issues/32 https://github.com/lamps-wg/draft-composite-kem/issues/62 --- Mike Ounsworth From: Tim Hollebeek <tim.hollebeek=40digicert.com@dmarc.ietf.org> Sent: Friday, August 16, 2024 12:20 PM To: John Gray <John.Gray=40entrust.com@dmarc.ietf.org>; spasm@ietf.org Subject: [EXTERNAL] [lamps] Re: Composite Signatures and KEM open issues that need feedback DigiCert's CA engineering team has some comments on the open issues related to the composite-sigs draft. We're going to put them in one email just because we have comments on quite a few of them. ISSUE #1 (Github issue: https://github.com/lamps-wg/draft-composite-sigs/issues/9) ASN.1 wrapping confuses people. This came up in the hash-based signatures updates last call. Nobody knows what ASN.1 is, or what the consequences of omiting it are (to be clear, there are really none). We agree that this is largely a question of people being unfamiliar with ASN.1, and that explanatory text is sufficient. All that is needed is a clear explanation of example what the BIT STRING is, and explaining that it's simply the bits of the key itself seems pretty straightforward. One can then say something similar to: "In some situations and protocols, the key might be wrapped in ASN.1 or may have some other additional decoration or encoding. If so, such wrapping MUST be removed prior to encoding the key itself as a BIT STRING." Hopefully that makes things crystal clear. ISSUE #2 (Github Issue: https://github.com/lamps-wg/draft-composite-sigs/issues/19) We don't think it's worth the extra complexity and expense of an additional hash operation just to achieve a fixed size output. The variation in size is already pretty small. ISSUE #3 (Github issue: https://github.com/lamps-wg/draft-composite-sigs/issues/6) Again, we don't believe the additional complexity is worth it for a pretty trivial improvement in the private key size. But it's not a strong opinion, we could go either way. Open Issues affect both Composite Signatures and Composite KEM: ISSUE #4 Chair hat off, I and the CA team are concerned about the slow progress of the composite signature work. In particular, tying it to the Composite KEM draft and waiting for the CFRG work on KEM Combiners seems like an absolutely horrible idea to us. We would like to see Composite Signatures progress ASAP. ISSUE #5 (Github issues: https://github.com/lamps-wg/draft-composite-kem/issues/37 https://github.com/lamps-wg/draft-composite-sigs/issues/24 https://github.com/lamps-wg/draft-composite-sigs/issues/23) This is a fun one, and we've spent quite a bit of time discussing it internally. In particular, we're still debating the question about exactly how many backwards compatibility options are really necessary. For example, given that you already need to add lattice, is it really necessary to allow PKCS15 to continue to exist? For RSA, there's the reasonable argument that that might be all you have in your validated hardware/software, but if you have RSA as a primitive, can't you do PSS instead of PKCS15? Remember, you already have to make changes on both the signing and verify side anyway. We're trending in the direction of thinking that the primary decision is the security level and post-quantum algorithm, and the classical side is just determined by what "makes sense" for that security level and algorithm. So what you really want is something like "id-SL1-MLKEM-RSA" where the document specifies exactly what "RSA" means in the context of a SL1 MLKEM512 composite, e.g. RSA4096-PSS-SHA512. This basically means striving for at most one combination for each triple of (security level, PQC flavor, classical flavor) and eliminating unnecessary complexity and diversity of options in what is essentially a redundancy/backup mechanism. The basic idea is to more aggressively standardize the backwards compatibility options to only what's actually necessary, instead of trying to be backwards compatible with the universe of current behavior, which both unnecessarily complicates things, and preserves some practices (e.g. PKCS15) longer than is perhaps prudent. -Tim From: John Gray <John.Gray=40entrust.com@dmarc.ietf.org <mailto:John.Gray=40entrust.com@dmarc.ietf.org> > Sent: Thursday, August 1, 2024 5: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) 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) 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) 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://github.com/lamps-wg/draft-composite-kem/issues/37> https://github.com/lamps-wg/draft-composite-kem/issues/37 <https://github.com/lamps-wg/draft-composite-sigs/issues/24> https://github.com/lamps-wg/draft-composite-sigs/issues/24 https://github.com/lamps-wg/draft-composite-sigs/issues/23 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) 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://github.com/lamps-wg/draft-composite-kem/issues/40> https://github.com/lamps-wg/draft-composite-kem/issues/40 https://github.com/lamps-wg/draft-composite-kem/issues/45 ISSUE #7 (Github: https://github.com/lamps-wg/draft-composite-kem/issues/54) 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) 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) 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://github.com/lamps-wg/draft-composite-kem/issues/48> 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://github.com/lamps-wg/draft-composite-kem/issues/49) 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://docs.oracle.com/javacard/3.0.5/api/javacard/security/ECPrivateKey.html> 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) 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) 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] Re: Composite Signatures and KEM open iss… Mike Ounsworth
- [lamps] Composite Signatures and KEM open issues … John Gray
- [lamps] Re: Composite Signatures and KEM open iss… Tim Hollebeek
- [lamps] Re: Composite Signatures and KEM open iss… Carl Wallace
- [lamps] Responding to ISSUE #2 with additional qu… Kaliski, Burt
- [lamps] Re: Responding to ISSUE #2 with additiona… Mike Ounsworth