[openpgp] Re: Size of ML-DSA Secret key in draft-ietf-openpgp-pqc and other considerations
Falko Strenzke <falko.strenzke@mtg.de> Tue, 11 February 2025 06:56 UTC
Return-Path: <falko.strenzke@mtg.de>
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 99A08C180B60 for <openpgp@ietfa.amsl.com>; Mon, 10 Feb 2025 22:56:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.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, SPF_HELO_NONE=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=mtg.de
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 nDQ-GC-53kqX for <openpgp@ietfa.amsl.com>; Mon, 10 Feb 2025 22:56:44 -0800 (PST)
Received: from www.mtg.de (www.mtg.de [IPv6:2a02:b98:8:2::2]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (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 0AE7FC16941D for <openpgp@ietf.org>; Mon, 10 Feb 2025 22:56:42 -0800 (PST)
Received: from minka.mtg.de (minka [IPv6:2a02:b98:8:1:0:0:0:9]) by www.mtg.de (8.18.1/8.18.1) with ESMTPS id 51B6uekM012015 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT) for <openpgp@ietf.org>; Tue, 11 Feb 2025 07:56:40 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mtg.de; s=mail201801; t=1739257000; bh=SyYzpMkmJnInHtgWHh5GaljB7BW+X9iQm+kF1nDDo3E=; h=Date:Subject:To:References:From:In-Reply-To; b=KnWR4LjU/QZhPRVrtc4ntE+nPhYfo9eIRhh6E2hNdaxTTLGBX6+/0eArfGDd1cpnJ nxMfptNF6kQiad9IrMoVPRbyfZZdhBBAZiZi6rgtiV1Btpxd4RFJwMK88Qx0rILJeC A19J58gBfRfbSg4WyKlbgMYVAeYUMP02f3I1bMi1g/TZVTL2KlHbmBS4QrFdIGeHMr ttcN/EEz+gOC+sMhwYhPfrVtuvpDs4I3dYS1yOzwd9Xjv4mCxmHHOWZ0WfseLR8hIQ 5724o1DPCeMbll58dAMGKB8EqRUSPEdqE+ol6a1d5w/D0ZTXEBrNVSci+PEGGqyptR Q+vGdhnxzI1pA==
Received: from [10.8.0.100] (vpn-10-8-0-100 [10.8.0.100]) by minka.mtg.de (8.18.1/8.18.1) with ESMTPS id 51B6udKi003631 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT) for <openpgp@ietf.org>; Tue, 11 Feb 2025 07:56:40 +0100
Message-ID: <dabadadf-c65a-4f57-bcd5-3057aec9174c@mtg.de>
Date: Tue, 11 Feb 2025 07:56:39 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: openpgp@ietf.org
References: <f8e34cda2473b36fa3db819fd09fe05ed8fdc35d.camel@redhat.com> <0NnLQ5QK6Pu-Z6OJUjwKuU3n5joUWg5LWhh5PwIzZIKfqD-vMkv5fxt2oZJKeA1MZP0leh6LGwLzjH6CtFf02Pg0KNkknx4LdzGmHhEbTsk=@wussler.it> <2ef0cb6899f56e5d8f50aa0b3aa3238d64fae281.camel@redhat.com> <rmWB0qyA-ZVBoC7QgnHl_tUg4HUBgTFIXytY03V3d9ihX3K7eSYAhYwoSJ-RpxCKhArQy4-OOpcuMJ6KsrKtoLtMB5nQ2NPuMAZlXV0pEko=@wussler.it>
Content-Language: en-GB
From: Falko Strenzke <falko.strenzke@mtg.de>
Organization: MTG AG
In-Reply-To: <rmWB0qyA-ZVBoC7QgnHl_tUg4HUBgTFIXytY03V3d9ihX3K7eSYAhYwoSJ-RpxCKhArQy4-OOpcuMJ6KsrKtoLtMB5nQ2NPuMAZlXV0pEko=@wussler.it>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms010504040303060608040201"
Message-ID-Hash: 4J4XLSMVZMZQCTKUDT6KOAOSIYW37HI6
X-Message-ID-Hash: 4J4XLSMVZMZQCTKUDT6KOAOSIYW37HI6
X-MailFrom: falko.strenzke@mtg.de
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
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/Z5wpaMUMdWxfSR6-NP3W7Q0Lzfk>
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>
Hi Aron, I agree with the proposed change. By no means the OpenPGP PQC RFC should be a blocker for CNSA compliance. Best regards, Falko Am 10.02.25 um 22:23 schrieb Aron Wussler: > Hi Simo, > >> Yes this is the only "blocker" I have, >> We use PGP for signing packages and we really need a way to be CNSA 2.0 >> compliant. > Sounds like a fair point! I prepared a PR here:https://github.com/openpgp-pqc/draft-openpgp-pqc/pull/166 > > If the list agrees with this, happy to get it merged :) > > Cheers, > Aron > > > > -- > Aron Wussler > Sent with ProtonMail, OpenPGP key 0x7E6761563EFE3930 > > > > On Monday, 10 February 2025 at 21:33, Simo Sorce<simo@redhat.com> wrote: > >> Hi Aron, >> >> On Mon, 2025-02-10 at 17:14 +0000, Aron Wussler wrote: >> >>> Note that the specification is only for the wire format, and transferring among identical tokens will still be possible, no matter the format we choose. >> It think this might come to bite in the future, but I do not have the >> energy to argue for it now. Once we'll have interop issue I'll let you >> guys deal with it :) >> >>> 2. Code points >>> This was discussed at IETF 117, 118 and 119. We concluded that this could be done in a separate doc, adding a further codepoint for ML-DSA (or ML-KEM) as standalone when the WG feels ready for it. >> Just to be clear the reason I am asking is that CNSA 2.0 "seems" to >> exclude hybrids (I know, not my choice, they also do not allow SLH-DSA >> which I would very much prefer for long term signatures... ). >> >> I think I can "work around" this by simply ignoring the spec and >> considering a signature valid even if the EdDSA part is unchecked, and >> live with that. >> >> For tokens that support only one key this is more challenging, but I >> guess one of the two keys will have to stay on disk and be less secure >> until a new spec that allows for "pure" algorithms is provided. >> >>> 3. Signature data digests >>> I honestly have seen that requirement, and am still wondering why the hell it is there. I don't understand it, and the "SHA-3 limits interoperability" reason sounds really weird to me, feels to me as "we have a machine in the basement that can break this hash". Happy to hear other reasons tho. >>> >>> Said this, if for you this is a blocker for RHEL, I think we can revisit the hash binding requirement. >> Yes this is the only "blocker" I have, >> We use PGP for signing packages and we really need a way to be CNSA 2.0 >> compliant. >> At this time it means ML-DSA-87 for signatures and either SHA-384 or >> SHA-512 for content hashes. >> >> I do not think the NSA can break SHA2 as they allow SHA3/SHAKE as >> internal implementations in the signature algorithms. I think this is >> more of a case of: "we have accelerators that can speed up SHA2 but not >> SHA3 and we want to keep using them for the time being to produce >> content hashes" >> >> This is my speculation, several of their positions are questionable, >> but I still need to be able to support their preferences as they are >> not broken (as far as we know). >> >> Best, >> Simo. >> >> -- >> Simo Sorce >> Distinguished Engineer >> RHEL Crypto Team >> Red Hat, Inc >> >> _______________________________________________ >> openpgp mailing list --openpgp@ietf.org >> To unsubscribe send an email toopenpgp-leave@ietf.org >> >> _______________________________________________ >> openpgp mailing list --openpgp@ietf.org >> To unsubscribe send an email toopenpgp-leave@ietf.org -- *MTG AG* Dr. Falko Strenzke Phone: +49 6151 8000 24 E-Mail: falko.strenzke@mtg.de Web: mtg.de <https://www.mtg.de> ------------------------------------------------------------------------ MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany Commercial register: HRB 8901 Register Court: Amtsgericht Darmstadt Management Board: Jürgen Ruf (CEO), Tamer Kemeröz Chairman of the Supervisory Board: Dr. Thomas Milde This email may contain confidential and/or privileged information. If you are not the correct recipient or have received this email in error, please inform the sender immediately and delete this email.Unauthorised copying or distribution of this email is not permitted. Data protection information: Privacy policy <https://www.mtg.de/en/privacy-policy>
- [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