[openpgp] Re: WGLC for draft-ietf-openpgp-pqc
Falko Strenzke <falko.strenzke@mtg.de> Wed, 14 May 2025 06:40 UTC
Return-Path: <falko.strenzke@mtg.de>
X-Original-To: openpgp@mail2.ietf.org
Delivered-To: openpgp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 783CA2856AA4 for <openpgp@mail2.ietf.org>; Tue, 13 May 2025 23:40:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=mtg.de
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 sRg9aIRbyBiu for <openpgp@mail2.ietf.org>; Tue, 13 May 2025 23:40:09 -0700 (PDT)
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 mail2.ietf.org (Postfix) with ESMTPS id 168902856A97 for <openpgp@ietf.org>; Tue, 13 May 2025 23:40:07 -0700 (PDT)
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 54E6dvTM001930 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT); Wed, 14 May 2025 08:39:57 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mtg.de; s=mail201801; t=1747204797; bh=ooqJvGKT5kTLBOjluQihZLDQtzHJRpkiWuhKC4LrxsU=; h=Date:Subject:To:References:From:In-Reply-To; b=p/G6eO1fAJMs4UWd++GzTfHfiyPQ5XK6T05kKEYKr3luSX+pe/FwUGaje/fqvJYsl gDa4weArizHPjegPBH9eDQFSRcrGJzdRlqzQLqiW542WL6Bk2Mg+mygromkQG1namn C5HtXvdySndcJgdNPsj6NhKSs2Pv/iekLUcB2myJ6z0AKw0UBRjkgMwo3YXwkApD7u gUFTIX0yEKntxnRFmf7Y+kdY4im1tyS3Vr64INAlPZZdyj8aD5nLNXrjpHQrfG5/9i EsxT9S6UtifCzz0H1M5rKVdiZEzTPbhDyoTYhi7OHyExMJM2Li82fa8rlVVvLGPD4I O4QE6L8zEPoBA==
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 54E6dtso002356 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT); Wed, 14 May 2025 08:39:56 +0200
Message-ID: <96729095-d88f-480e-b6f7-8d3b84599ccd@mtg.de>
Date: Wed, 14 May 2025 08:39:55 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, openpgp@ietf.org
References: <174470653269.1286532.14892820163225351018@dt-datatracker-64c5c9b5f9-hz6qg> <LSicuu3DyGQdz5FlANti-HGJ6GuAucc5BKufbsCa603EsSZ0q1XMXYvt_OubLd0UQkg0gh2F--9y9WpoqWfQu5XU-KEcJ15GG66cSFk9ByU=@wussler.it> <87wmblcr8i.fsf@fifthhorseman.net> <87ikm5eoey.fsf@fifthhorseman.net> <1a15934d-50be-46dc-8300-189834c70e3f@cs.tcd.ie>
Content-Language: en-GB
From: Falko Strenzke <falko.strenzke@mtg.de>
Organization: MTG AG
In-Reply-To: <1a15934d-50be-46dc-8300-189834c70e3f@cs.tcd.ie>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms000705070100010804070802"
Message-ID-Hash: VY6CU63SKDTSH56QWQHONVID7HEJHRAL
X-Message-ID-Hash: VY6CU63SKDTSH56QWQHONVID7HEJHRAL
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: WGLC for draft-ietf-openpgp-pqc
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/KkVdv7bLUvI5xwS3LrDJxIAAVho>
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 Stephen, see my comments inline. Am 14.05.25 um 00:11 schrieb Stephen Farrell: > > I have a few personal comments below, none of which should delay us > in publication. (Unless they resonate much more widely than I expect.) > > It looks to me (and dkg, based on off-list mail) like we do have > consensus to proceed with this, but in chair-mode, we should look back > over the WGLC comments and send a mail to the list to confirm that etc. > I think we may want a -09 draft too based on the earlier comments, but > should then be good to push ahead. > > My non-blocking personal comments/queries are below - it is ok to ignore > 'em, honest:-) > > Cheers, > S. > > - I think (but am not 100% sure) we want it to be true that > no implementation makes unexpected multiple uses of any > secret or private value at any time. For example, KEM > private values when sending a mail to multiple recipients > or signature private keys when signing twice with algs > 32/33. > I don't fully understand what you are referring to by "secret or private values" here. For instance, what do you mean by "KEM private values"? Do you mean the key shares from the individual KEMs (e.g. "mlkemKeyShare" in the draft) that are created by the KEM encapsulations or the result of the KEM combiner ("KEK" in the draft)? These values are never reused. For the encryption / encapsulation only the public keys are input values to the operation. Or do you mean that the corresponding private keys should not share key material? In my understanding the only question that needs to be addressed is whether private key material can be reused – for instance a private ML-KEM+X25519 key could in principle share the EC key material with a standalone X25519 key. See my comment below on how the draft deals with that and why. > Is that the case? If so, should we say it (more) > explicitly? We almost do say this in a few places, some of > which RECOMMEND not re-using, others of which call for > "independent" generation. Is this something we could > tighten up on without breaking any use-cases? If we do have > some real use-case that needs to re-use a secret or private > value, (basically other than multiple alg-specific signing > private key use), can we describe that as the > counter-example to just saying RECOMMENDED rather than MUST > NOT? Do I understand you correctly that you are OK with keeping the current statement that generating fresh keys is RECOMMENDED but you propose to include an example for the case where keys might be reused? For the background: Initially, we had precluded key reuse entirely. Based on issue #71 <https://github.com/openpgp-pqc/draft-openpgp-pqc/issues/71> raised by Justus we weakened the statement to the current form in PR #88 <https://github.com/openpgp-pqc/draft-openpgp-pqc/pull/88/files>. The concrete use case from Justus was the reuse of an ECC key on a hardware token that is already used as a standalone key and should be reusable in a newly generated PQC-composite key. (So that the user doesn't have to buy or handle to hardware tokens). What statement I could imagine to add is to explicitly say that only such reuse of private key material is allowed as in Justus' example, but not the reuse of the private key seeds across algorithm IDs (as you mention for the two SLH-DSA 128bit algorithms, or between any other PQC algorithm where the seed lengths match). Such key reuse seems a bit far-fetched to me, though. Would you prefer that we include such a statement anyhow? > > - 2.1: Five is IMO too many signature options. Can we not > reduce that number? If not (as I suspect, I always lose > this argument;-) then it'll help with later document > processing if we can document why we need five in e.g. an > email, in case someone asks, which they probably will. (I > forget if we covered this specifically in earlier debates > sorry, if a reference provides a good answer, that's just > fine.) First of all, I respectfully disagree that the draft is defining many new algorithms. In comparison with LAMPS (as per current draft versions) , this is only a very small subset. Just to give a rough overview: LAMPS defines all 12 SLH-DSA parameters, where OpenPGP defines 3. LAMPS defines ML-DSA and ML-KEM combinations not only with the Edwards curves, but also with NIST and Brainpool curves. Not to mention combinations with RSA. Second, we need to keep in mind that due to the decision of defining each security parameter set as a distinct code point, we naturally arrive a more code points than this is the case for the historic algorithms. We only introduce 3 new algorithms, but due to the parameter multiplicity (which is already very restricted in my view) we end up with 2+2+3 = 7 code points. Third, I want to remind us that we reduced the number of new algorithms already significantly from the initial proposal (less SLH-DSA code points, removal of Brainpool curves). > > - I didn't check the appendices/examples, but I know others > have (thanks!). We should also get somoene to confirm on > the list that the set of examples in the version we forward > for publication are (still) ok, again in an email to the > list so we can point to that later. As posted on the list by Aron, in the draft repository the test vectors have already changed again, so it makes sense for people to wait for the 09 version for the final check. > > - nit: We use ":=" without definition, and I'd say just > "=" would be just as good? I personally agree to this proposed change. RFC 9580 also uses "=". Best regards, Falko > > > > _______________________________________________ > 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] I-D Action: draft-ietf-openpgp-pqc-08.t… internet-drafts
- [openpgp] Re: I-D Action: draft-ietf-openpgp-pqc-… Aron Wussler
- [openpgp] WGLC for draft-ietf-openpgp-pqc [was: R… Daniel Kahn Gillmor
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… andrewg
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Bart Butler
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Neal H. Walfield
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Justus Winter
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Aron Wussler
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Justus Winter
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Andrew Gallagher
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Daniel Kahn Gillmor
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Daniel Huigens
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Heiko Schäfer
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Falko Strenzke
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Michael Richardson
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Daniel Huigens
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Andrew Gallagher
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Daniel Huigens
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Aron Wussler
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Daniel Huigens
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Heiko Schäfer
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [wa… Aron Wussler
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Daniel Kahn Gillmor
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Stephen Farrell
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Falko Strenzke
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Stephen Farrell
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Simo Sorce
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Stephen Farrell
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Daniel Kahn Gillmor
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Simo Sorce
- [openpgp] Re: WGLC for draft-ietf-openpgp-pqc Aron Wussler