[lamps] Re: [lamps-wg/draft-composite-sigs] Composite signs CMS and [I-D.salter-lamps-cms-ml-dsa] compliance (Issue #110)
Ben S3 <ben.s3@ncsc.gov.uk> Tue, 04 March 2025 13:16 UTC
Return-Path: <ben.s3@ncsc.gov.uk>
X-Original-To: spasm@mail2.ietf.org
Delivered-To: spasm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 9EE3E719C69 for <spasm@mail2.ietf.org>; Tue, 4 Mar 2025 05:16:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -3.089
X-Spam-Level:
X-Spam-Status: No, score=-3.089 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.442, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_GOV_DKIM_AU=-0.551, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=ncsc.gov.uk
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h8ScfxZ9TRur for <spasm@mail2.ietf.org>; Tue, 4 Mar 2025 05:16:11 -0800 (PST)
Received: from LO0P265CU003.outbound.protection.outlook.com (mail-uksouthazon11012017.outbound.protection.outlook.com [52.101.96.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id BDCC8719C5F for <spasm@ietf.org>; Tue, 4 Mar 2025 05:16:10 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lKts2oGCIor/Qft0B5hAq64NLFYPQEHBf/wtWSlBv47knW+gPsa5aJ9w2xYNTFbB/0jw81OvONFPrLdazFPx1xGcPwP1BFDnZYVquL8NcAex1FJV4PwERLcsqPnbhNGsSfUIHnl6jqV/thlYgjE9iXBxPlQyd3ZnF6XvmVdq5SMxigmYdGYgQak9MYCt9uSd2ob0EIdoFWr/812YrvX1inmpUea6K6hC+s14e5mrMK+OtArHt8Ha1v92LZj+YK3JP7p3PJe3auwf/XIwAlR6nvc4RXasEbKcMH4lyPuIoLZJ1de7YDXknLvjm/LmcI/zhEirSBUeZBr4K50KtQ1/Pw==
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=Cl9UIvhE8VtfD29L6sa8KX4xBWzUqgGvYfn70EGAfiI=; b=a42O8Sz+sR39l0hB6YVRnSm5wUWvt/42KKd3ka4Fd64qlJsOr3gWnWR/gjjf4/MpiBYk0grtMyz5KbcgbaDPAIIVaaVpvL8otOtKLBlU9lNbZ+endSJrd01g2WngzpERLXTjW4U0vvdXJ8VUBpQ2WdF+dhEqtmvOEJ/I+erU9zXWGaR14ntz8g4ak895OGU7Tj3/yFzqfY/aRFu0w9ad5Af+ariLk47qcuzzma0DIIc1MsgpfapL83DjKCIeFXCls3dxZ9zJu+ICJwvGsvzeK7RVrZvoL/iJ7N4Xgga0TyzVFytbQ5inbrsqPW0C1DuxWFDrpSKCtdNYkslfAiiSTw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncsc.gov.uk; dmarc=pass action=none header.from=ncsc.gov.uk; dkim=pass header.d=ncsc.gov.uk; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncsc.gov.uk; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cl9UIvhE8VtfD29L6sa8KX4xBWzUqgGvYfn70EGAfiI=; b=sOXpoi9eBIwrg32lb14LxFjmHwWI8coQOOYE4gZ1cZ8bHYAxu7vQNArK/biU/LrwafoXfcfMv1DajVmN2jNA9R+AEl78KwdUqivdJ4cUcs9lRmmCx6ayQxpET+CFs/+bad/hmwqaJECRkG7RRTSzCLgwI++rIgnorIJ6JkariBNqf97KK5C41QlA4cOie67+TZXuNs2a86fCqQVR/Q80k4rkPAXcIx8kNo2VcLZ/aiZwIJyUyyEBIf0IKQz1k1GZqMCx5R2U1kmRQVOPBG8n8k8SPS54twwNch4WGlVY1XHDNr9K4gYSlR57E2LBH43BDNEMQh6WAZhpWHhDYbOFVw==
Received: from CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:73::10) by LO4P123MB6609.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:27e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8489.28; Tue, 4 Mar 2025 13:16:06 +0000
Received: from CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM ([fe80::6b97:a792:7948:3c0f]) by CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM ([fe80::6b97:a792:7948:3c0f%3]) with mapi id 15.20.8511.015; Tue, 4 Mar 2025 13:16:06 +0000
From: Ben S3 <ben.s3@ncsc.gov.uk>
To: Piotr Popis <piotr.popis=40enigma.com.pl@dmarc.ietf.org>, "'Klaußner, Jan'" <Jan.Klaussner@bdr.de>, 'Mike Ounsworth' <Mike.Ounsworth@entrust.com>, 'John Gray' <John.Gray@entrust.com>
Thread-Topic: [lamps] Re: [lamps-wg/draft-composite-sigs] Composite signs CMS and [I-D.salter-lamps-cms-ml-dsa] compliance (Issue #110)
Thread-Index: AQFoQmRYZPcEqX/laSo8/Et2juPUIwGYuPQ5tDyxSHCAABElAA==
Date: Tue, 04 Mar 2025 13:16:06 +0000
Message-ID: <CWLP123MB34101DA34C117C3637F3D1D580C82@CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM>
References: <lamps-wg/draft-composite-sigs/issues/110@github.com> <lamps-wg/draft-composite-sigs/issues/110/2691414617@github.com> <0a4501db8d01$72c9e7c0$585db740$@enigma.com.pl>
In-Reply-To: <0a4501db8d01$72c9e7c0$585db740$@enigma.com.pl>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ncsc.gov.uk;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CWLP123MB3410:EE_|LO4P123MB6609:EE_
x-ms-office365-filtering-correlation-id: 01a9f0f5-390f-4c46-a4ae-08dd5b1eb8bb
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|1800799024|4022899009|8096899003|13003099007|7053199007|4013099003|4053099003|38070700018;
x-microsoft-antispam-message-info: LBiMQxeFATyeh+I5btj0dWJezqPAqoe8XvPU/PKxlg4WAzgLdYFGRHv2j1CJgRX8wp9utTUooy7+K/NrAGA0ANAij/pdLdr1UbCROYLjT9L6H/OvlsG5VoaNCBJoe7YfdCIt1uZuCz/MlE+3oE8CkT2qS7kR/RMVU2zA5pFcQb4WR2LqAgRBm4J7PQRTHXIm5XsTgvAG7N2mRyGsWEe0AW1gI9YMHQCbJc0ZsiduhD/pKOixQDXqjoHuJW6p57TLkvGw99vnoStvuUa9lwmrWu9DdDkq8xNhyPd+ubRxD7UDdjK9eUUcWiMyEcO3vuQBvMc+mTNy/sD2LYERjw3eNbRbRG8Ijtfhk49ke9vaeXVus+AfQxBUdqz795wlp+RPDDRc7MBN6dj5m1/UDjiiNrQSAFWcIIfa5ioV2necyZ7G/7b6a8QRQ1XXOKRrAQAcv72BbPwI3thmilHn0J2uYgRCqoEwOwKXBOyN45Jw+T2un8lt7EshUydh/iqOBO0CbmKxLbV+UivNfDZJA8LcVMVpVktIsdSIL5gZdRQO6SAOPIJ2S4BpIJFXN2IdHlB9CoyrygfequUASb1Lp7heQQRo/o3yT76+k+YblQJJe0vSln1lyzXtJvIZzEQjJmh2HVUDp+QMcrfYs3HtUXLOUfFBRq/oQMrZD3552rTwE2HnWobO2YRRZAFnVnpWnbN7H/8wWzT26ZIGgSCpVpjuNmSlFj/J95+NaFmo+rMFNfsrXWjqctpvG7nLsYO6vk7cj9Wq5NAnmnwqS9qO5yePFhmKz0KIumOo0b0wDFVJqoVtrNwujUNT2Ix1w4l0opZBQVKlOp+XXZReLuVneuwMyC81NFDJ1BFYUb+nmu9hXaZdGuokovrf5hsxlI7TVnSvaatYZei5Y8KyRA1NFRdf2Y0H8ZTW3Iyq6jo7cqlKQFHGWxIbsanw7rFS5Lwo3N89pHabEMIdZW9g6XKTpDlRUVfADiD8lWNNV5rwdOD5fvjVZ+UrBJl3B+bORYF6o+kc9688xp0p9rEagIHAd7whJspKTpFa/olamjB9C4x0qaj16RQ+t/Md0jtNqxAOeXMdH73oXhdyXlOHm0CqOPVpjxjqcV8Ew0YLAVghRsvcDZXq4U/UARW1hD8sLcH6pEkOnvpNNG+de6IrPNCe8UdXG6VoER3KokQHo91S2M0O9YXiPV0an/IvM7qOkqd0BI4HIwMcnrgnNdJO0OhI8piSklfJU4S/YJGVkHt6esdoZesDO2qdwQJTyhdJFV90aehVCOy7W6B6LY6h+6r3QTYk4ObX2wjNuMV0A9u716G2K0mPg2DlH0UL610ICpk1fxDckZF0iEZ+cGLeCcIyGIH+3oSlYhJWDG1Lro8/5lQmd9B4/kctiZB8404YngcXt46M9tWPcNUAFtQdR9lXoCezPw==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(4022899009)(8096899003)(13003099007)(7053199007)(4013099003)(4053099003)(38070700018);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: pN/R27XTCKb47ibDxJV5s1b68LPlf2x+a5h1M3Oa+21Fmrtf4Jew/aEy8v3wnbUyyrmXd1J9iDMB2HHP++5HopbUbVp/BA/6M9+ipswQzooCy2pjk2IiNuj6asHQBWkGDTpE9/UixvuQINDEY0oZza+OumotCAvxOSDqvrLHwS/JH456S8yIR9ndS2Y90KsWy2OgaShQGvUFwbPLO2GGctPc1ry6YuhaXCeX5xH1vu59i6jc+lp/ulTpvT/SIx8AHhOl254wOoBbZPFpIS4fxlKCZ3ObTpEKZryrFDWeJlRlgibEGuJ9fQwEaM1VXJIt4j7ER4KNXJFr8p0/QVfMlh7/UD/QKB1AekBpL95z3zsOKHDV5UjLRi4Zp/mluLXzyEdPAj2b1LJEbY1O8JXhDvD8reKB6TGb7Q2ejl/UL2ktWyUjRxeUuyRrCsgL8Jt81DTm72XaY1T11/b05cHjSAhmYHtgozqkQcZiaLwNFjLUqh8kdmZvldQvHTV5sKBEAVRp0slGZrZFDapEo5VUIWEm7eazBxcTyV5d3Jf6bfU78xrsCZtMq9CxvnzROb7fo5T8o+52ZixZCGyZqGZTocxqThtf63AiOcPGbJ1/6fvvUyYqwrdON2OMzH2MwcM4s2pAou9UYUS0wiJ7b6Fn8h8uSlRA0UlNNqzGSzKiPZLp/8PAKEoBsOl4B6zvqoxfUQJtfClVcX/q/giBo5tDCTg7UmHv50EIkpM4aYR+QSBMa5+vHr7asXGO186zlyTsjpGuDC0Zg/Y1XPXWgc4xklD6E9vxfSb2u1oKlRHvLJxLWJfdAkPKD7MpZaGziPYtM6GEQ4k73oXgxHdECUIeAHfA+xxTRp8uN5ku5fyl7+kP++BaeYMxV59/+Px3aoO8+q9iPlB9j/LJYx/eDtm+RHb4r2GYAdWPeocNa05fDUrvRH0GpRWzs3qiPAhQDUC7MMUfsk2X85zRwvCxfBm74qL2S11kyzkb9WShUIvBXdyAw39kVYTkfatVKWFmbmNFC6e5ZgC4LlJlHVwmEVg0aSEqt5+S7RBjGzhXUvexSHaDoRj5g21eWR/kHKA5C0mGW7wxYoxGKwBpg9KBRLyAcrPa6u1ycQ4xmdr3EXfC1TduPt7i1gFwRpGK4Iot2ND07IF4VxpXiZMr/kuC+kSqlXh9n2kNnUqLjy6h1/BdJBb64I0z22S9wlNIQBilu71c+fUKRC54mec0JRIjoK+K00tBC/6gI/n+PypmssW49eQ8OWdhsD1EW86+A4vskDj5mUNY3szoAjRkBZeyyJnraPNICP0DLhr8mSwfeLqg6jFE4X84kCiY8uB+mUldMpNlcLfSnJgp+wwPfZi5JFNtbOdtH8Ul7gZfX2P7A1quTpNqoTnMUTdLpuL5jaAAMZsbt3qxOJVErGq8dtCivvq3dkLBBLrsktYapX6Ig5X9dmb/0WKAIy8S83burH5sj7iFbLoAacgzjfG/smet2fqczYZ6GVaS28AF0WFggy1Gee9IBpxd3XrSxUt4FTE+6lkvWES39TtPN9f8BXGGk9i1j+3AnWadIoDz4GAWrRz92xM=
Content-Type: multipart/related; boundary="_004_CWLP123MB34101DA34C117C3637F3D1D580C82CWLP123MB3410GBRP_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: ncsc.gov.uk
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CWLP123MB3410.GBRP123.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 01a9f0f5-390f-4c46-a4ae-08dd5b1eb8bb
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2025 13:16:06.2335 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 14aa5744-ece1-474e-a2d7-34f46dda64a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: nT/2iKIdFXcozuxD2OE37g3O5Z7x/TCXEXy/Tz2cqP8NJremg6XbUusJ6wanS75yEpr/sE8vG0V4Kcba4syeng==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO4P123MB6609
Message-ID-Hash: 4ZIVC2XCUPII4HDYJKXUPC6SS5MQG5YQ
X-Message-ID-Hash: 4ZIVC2XCUPII4HDYJKXUPC6SS5MQG5YQ
X-MailFrom: ben.s3@ncsc.gov.uk
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: "spasm@ietf.org" <spasm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [lamps] Re: [lamps-wg/draft-composite-sigs] Composite signs CMS and [I-D.salter-lamps-cms-ml-dsa] compliance (Issue #110)
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/KUgZAIQe8n1CEXMjI5R7seMFFdU>
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 Piotr, Just to clarify a point that may address some of this (assuming I’ve understood you correctly): draft-ietf-lamps-cms-ml-dsa currently specifies that SHA-512 must be _supported_, but it doesn’t mandate that SHA-512 must be _used_ (indeed, the same sentence specifies “however, other hash functions MAY also be supported”). So you can use ML-DSA with another digest algorithm if you like, it’s just that (conformant) implementations need to also support SHA-512 for compatibility purposes. Best, Ben From: Piotr Popis <piotr.popis=40enigma.com.pl@dmarc.ietf.org> Sent: 04 March 2025 12:32 To: 'Klaußner, Jan' <Jan.Klaussner@bdr.de>; 'Mike Ounsworth' <Mike.Ounsworth@entrust.com>; 'John Gray' <John.Gray@entrust.com> Cc: spasm@ietf.org Subject: [lamps] Re: [lamps-wg/draft-composite-sigs] Composite signs CMS and [I-D.salter-lamps-cms-ml-dsa] compliance (Issue #110) Hey All I'm afraid the issue of composite signatures and CMS needs to be discussed in more detail. I think there is agreement to maintain compatibility with other standards, including RFC 8419 (CMS in EdDSA), [draft-ietf-lamps-cms-ml-dsa] and RFC 8933 (the same digest algorithm is used for messageDigest as for signedAttrs). In the absence of signed attributes, we have the PURE version of ML-DSA, i.e. without an "external" digest function and according to section 3.3 of [draft-ietf-lamps-cms-ml-dsa] the algorithm specified in the digestAlgorithm field has no meaning (even if it were SHA512). The digestAlgorithm field in this case only applies to the traditional component and it is reasonable to ask whether the authors of [composite-signs] always provide for the SHA512 algorithm identifier in such a situation, as suggested by version 4? In my opinion, these should be the digest algorithm identifier according to Table 2 for the traditional component, and in addition for Ed25519 and Ed448 the identifiers SHA512 and SHAKE256 respectively – see section 3.2 of RFC 8419. In the case of signed attributes, the messageDigest must be calculated and according to section 11.2 of RFC 5652 the message digest is computed using the signer's message digest algorithm (the digestAlgorithm field of the SignerInfo sequence). According to [draft-ietf-lamps-cms-ml-dsa] for ML-DSA it must be SHA512, but should the same algorithm be used for the traditional component? Again, in my opinion, algorithms other than SHA512 should also be allowed for the traditional component. To sum up: different hash algorithms should be allowed for ML-DSA and the traditional component and it must be specified in the document that the OID indicated in the digestAlgorithm field of the SignerInfo sequence applies only to the traditional algorithm, because for ML-DSA it is always SHA512 (when there are signed attributes), or the external hash function is not used with ML-DSA (when there are no signed attributes). Hence, in chapter 8.2 there should be a table, suggested by me in issue 110, where the indicated hash functions apply to the traditional component: +-----------------------------------+----------------+ | Composite Signature AlgorithmID | digestAlgorithm| | |(for traditional| | | component) | +-----------------------------------+----------------+ | id-MLDSA44-RSA2048-PSS | SHA256 | +-----------------------------------+----------------+ | id-MLDSA44-RSA2048-PKCS15 | SHA256 | +-----------------------------------+----------------+ | id-MLDSA44-Ed25519 | SHA512 | +-----------------------------------+----------------+ | id-MLDSA44-ECDSA-P256 | SHA256 | +-----------------------------------+----------------+ | id-MLDSA65-RSA3072-PSS | SHA256 | +-----------------------------------+----------------+ | id-MLDSA65-RSA3072-PKCS15 | SHA256 | +-----------------------------------+----------------+ | id-MLDSA65-RSA4096-PSS | SHA384 | +-----------------------------------+----------------+ | id-MLDSA65-RSA4096-PKCS15 | SHA384 | +-----------------------------------+----------------+ | id-MLDSA65-ECDSA-P256 | SHA256 | +-----------------------------------+----------------+ | id-MLDSA65-ECDSA-P384 | SHA384 | +-----------------------------------+----------------+ | id-MLDSA65-ECDSA-brainpoolP256r1 | SHA256 | +-----------------------------------+----------------+ | id-MLDSA65-Ed25519 | SHA512 | +-----------------------------------+----------------+ | id-MLDSA87-ECDSA-P384 | SHA384 | +-----------------------------------+----------------+ | id-MLDSA87-ECDSA-brainpoolP384r1 | SHA384 | +-----------------------------------+----------------+ | id-MLDSA87-Ed448 | SHAKE256 | +-----------------------------------+----------------+ | id-MLDSA87-RSA4096-PSS | SHA384 | +-----------------------------------+----------------+ It seems that in CMS we have a problem with the fact that in SignedData in the SignerInfo sequence we have one digestAlgorithm field, which indicates the digest function, and at the same time in the composite signature we will probably have two digest functions (see table 2). Maybe we should consider introducing special OIDs to indicate a pair of digest algorithms, if - according to table 2 - there was an algorithm other than SHA512 for the traditional component? Whether or not the content of chapter 8 is changed, it seems that table 11 must be changed. I suggest considering reopening issue 110, or a completely new issue concerning chapter 8 "Use in CMS". Regards - Piotr Popis From: janklaussner <notifications@github.com> Sent: Friday, February 28, 2025 8:39 PM To: lamps-wg/draft-composite-sigs <draft-composite-sigs@noreply.github.com> Cc: PiotrPopis <piotr.popis@enigma.com.pl>; Mention <mention@noreply.github.com> Subject: Re: [lamps-wg/draft-composite-sigs] Composite signs CMS and [I-D.salter-lamps-cms-ml-dsa] compliance (Issue #110) @PiotrPopis<https://github.com/PiotrPopis>, @Honzaik<https://github.com/Honzaik> , thanks for pointing out the misaligment to draft-ietf-lamps-cms-ml-dsa<https://datatracker.ietf.org/doc/draft-ietf-lamps-cms-ml-dsa/>. I agree that we need to feed the unhashed content to Composite-ML-DSA.Sign(). However, I do not get why you want to describe the handling for the ML-DSA and traditional algorithm separately. For an CMS application there is only one interface -the composite one- that controls both component algorithms. As for the digestAlgorithm, the recent draft-ietf-lamps-cms-ml-dsa-02 changed the recommendation. Now SHA-512 MUST be supported for all versions of ML-DSA. Hence I would not follow your proposal but instead bump the hash for ML-DSA-44 to SHA-512. — Reply to this email directly, view it on GitHub<https://github.com/lamps-wg/draft-composite-sigs/issues/110#issuecomment-2691414617>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BLIOPUWIECSNYK53CGYY2D32SC3OXAVCNFSM6AAAAABW2ERNKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGQYTINRRG4>. You are receiving this because you were mentioned.Message ID: <lamps-wg/draft-composite-sigs/issues/110/2691414617@github.com<mailto:lamps-wg/draft-composite-sigs/issues/110/2691414617@github.com>> [Image removed by sender. janklaussner]janklaussner left a comment (lamps-wg/draft-composite-sigs#110)<https://github.com/lamps-wg/draft-composite-sigs/issues/110#issuecomment-2691414617> @PiotrPopis<https://github.com/PiotrPopis>, @Honzaik<https://github.com/Honzaik> , thanks for pointing out the misaligment to draft-ietf-lamps-cms-ml-dsa<https://datatracker.ietf.org/doc/draft-ietf-lamps-cms-ml-dsa/>. I agree that we need to feed the unhashed content to Composite-ML-DSA.Sign(). However, I do not get why you want to describe the handling for the ML-DSA and traditional algorithm separately. For an CMS application there is only one interface -the composite one- that controls both component algorithms. As for the digestAlgorithm, the recent draft-ietf-lamps-cms-ml-dsa-02 changed the recommendation. Now SHA-512 MUST be supported for all versions of ML-DSA. Hence I would not follow your proposal but instead bump the hash for ML-DSA-44 to SHA-512. — Reply to this email directly, view it on GitHub<https://github.com/lamps-wg/draft-composite-sigs/issues/110#issuecomment-2691414617>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BLIOPUWIECSNYK53CGYY2D32SC3OXAVCNFSM6AAAAABW2ERNKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGQYTINRRG4>. You are receiving this because you were mentioned.Message ID: <lamps-wg/draft-composite-sigs/issues/110/2691414617@github.com<mailto:lamps-wg/draft-composite-sigs/issues/110/2691414617@github.com>>