[openpgp] Re: Size of ML-DSA Secret key in draft-ietf-openpgp-pqc and other considerations
Aron Wussler <aron@wussler.it> Tue, 11 February 2025 20:17 UTC
Return-Path: <aron@wussler.it>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39A90C1DFD29 for <openpgp@ietfa.amsl.com>; Tue, 11 Feb 2025 12:17:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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=wussler.it
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 WOCGa9VNgBIY for <openpgp@ietfa.amsl.com>; Tue, 11 Feb 2025 12:17:30 -0800 (PST)
Received: from mail-10624.protonmail.ch (mail-10624.protonmail.ch [79.135.106.24]) (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 E7A6DC1DC7E5 for <openpgp@ietf.org>; Tue, 11 Feb 2025 12:17:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wussler.it; s=protonmail2; t=1739305047; x=1739564247; bh=DT8nnHZM+fOQEokgxErHOHoTEmalgN00fOEa+VoVRbA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=n2TqtbK7o/PHRHLyeXJEHru0kSvG7NRHon0aiS4pExy9l9QN8M67VVrqOuhkorFYm N45R6RMdRHKc8GNXJzSAonfndp3RLq7sfDm2cgyZbB5vp4lssxc3GPc/c9sZM7ZEeB pyy5v0vgEQMblwtepyrLQ7e4qwd08HBz59y7cpUkh+wzn/klWgPou+9OttZuqiJsBH FjKs7ueEPq69Wzxj72JKG/L8ZNn5vt2Kd74x3FYG17iGTyk7XHOMsl/Wzk8MAO/6Zr 9xCzZgtdv1LfCEb0/HJ+fmnwMgz9Q02CcRNT7eXIdCMuHx+421ZaU6CgQrzrEnW/CL QKP23Ulk0yvdw==
Date: Tue, 11 Feb 2025 20:17:22 +0000
To: Daniel Huigens <d.huigens=40protonmail.com@dmarc.ietf.org>
From: Aron Wussler <aron@wussler.it>
Message-ID: <JkepzmzcmQkQG27FTCvZmK01mF5uCfVcT-ZW3s-G3JeFi9q8RwULq7jO0URpSnMT2ibD_E-QOmVJOV_VKxC0K3NwZEdXVmvGa9BkJBZH4xs=@wussler.it>
In-Reply-To: <T5qQDRoFipqypjxS7EqVzE2G3ATqCJFNm_31Mkd4ixyC6oRHD_hWWnJJp-tEBsNpC2iZe9FnbFl6Gw8TvhX5kisx1uUBnndBfVzo21vPQkk=@protonmail.com>
References: <f8e34cda2473b36fa3db819fd09fe05ed8fdc35d.camel@redhat.com> <0NnLQ5QK6Pu-Z6OJUjwKuU3n5joUWg5LWhh5PwIzZIKfqD-vMkv5fxt2oZJKeA1MZP0leh6LGwLzjH6CtFf02Pg0KNkknx4LdzGmHhEbTsk=@wussler.it> <2ef0cb6899f56e5d8f50aa0b3aa3238d64fae281.camel@redhat.com> <rmWB0qyA-ZVBoC7QgnHl_tUg4HUBgTFIXytY03V3d9ihX3K7eSYAhYwoSJ-RpxCKhArQy4-OOpcuMJ6KsrKtoLtMB5nQ2NPuMAZlXV0pEko=@wussler.it> <dabadadf-c65a-4f57-bcd5-3057aec9174c@mtg.de> <c32af9d7e4c142b38e3fb9beb6ae5f26@bsi.bund.de> <1c8ebdf0-f99f-4899-876e-1086d782ae74@mtg.de> <T5qQDRoFipqypjxS7EqVzE2G3ATqCJFNm_31Mkd4ixyC6oRHD_hWWnJJp-tEBsNpC2iZe9FnbFl6Gw8TvhX5kisx1uUBnndBfVzo21vPQkk=@protonmail.com>
Feedback-ID: 10883271:user:proton
X-Pm-Message-ID: 9ebe1b3902dd563e5c8b50beabd094fb7f2a7a85
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha512"; boundary="------a01bfb2bcc72b436ef37b35e780865e58198741b1c031f55fe8a76fbd51e1b83"; charset="utf-8"
Message-ID-Hash: SBWDUWBPB62BLNYMAAEX3YKM4DCEN6Y6
X-Message-ID-Hash: SBWDUWBPB62BLNYMAAEX3YKM4DCEN6Y6
X-MailFrom: aron@wussler.it
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-openpgp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Johannes Roth <johannes.roth@mtg.de>, "openpgp@ietf.org" <openpgp@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [openpgp] Re: Size of ML-DSA Secret key in draft-ietf-openpgp-pqc and other considerations
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/eggbxbf50IzlnPFBWy8ByPyVxN8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Owner: <mailto:openpgp-owner@ietf.org>
List-Post: <mailto:openpgp@ietf.org>
List-Subscribe: <mailto:openpgp-join@ietf.org>
List-Unsubscribe: <mailto:openpgp-leave@ietf.org>
Hello, I personally believe that it's either a hard failure or it doesn't really matter. We can have some recommended hashes, but if on the verifying end all get accepted, then it's not a security improvement. Regarding the table I proposed in the PR, I am not really a fan of it, and believe we could just remove it and replace it with a guidance sentence: ``` In order not to extend the attack surface, composite ML-DSA + EdDSA signatures SHOULD use SHA3 for the signature data digest because ML-DSA internally uses a SHAKE256 digest. Implementations MAY allow use of SHA2 for CNSA 2.0 compliance. ``` (Added this as a comment in the PR too) Cheers, Aron -- Aron Wussler Sent with ProtonMail, OpenPGP key 0x7E6761563EFE3930 On Tuesday, 11 February 2025 at 09:52, Daniel Huigens <d.huigens=40protonmail.com@dmarc.ietf.org> wrote: > On Tuesday, February 11th, 2025 at 09:11, Johannes Roth wrote: > > > can't we keep SHA3 as well, meaning we allow both a SHA3 and a SHA2 > > variant? The user / policy can then decide what to use. > > > Yeah, I would even say something like; we SHOULD use SHA3 to match > the security of the signing algorithm, but MAY use SHA2 if needed > for CNSA compliance. > > Maybe this can be accomplished by keeping the existing text and > table and just changing the MUST to a SHOULD, and then either > adding some text or an additional column for the fallback option? > > Best, > Daniel > > _______________________________________________ > openpgp mailing list -- openpgp@ietf.org > To unsubscribe send an email to openpgp-leave@ietf.org
- [openpgp] Size of ML-DSA Secret key in draft-ietf… Simo Sorce
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Aron Wussler
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Simo Sorce
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Aron Wussler
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Falko Strenzke
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Kousidis, Stavros
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Johannes Roth
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Daniel Huigens
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Andrew Gallagher
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Simo Sorce
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Aron Wussler
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Falko Strenzke
- [openpgp] Re: Size of ML-DSA Secret key in draft-… Simo Sorce