[openpgp] Re: call for adoption of draft-ehlen-openpgp-nist-bp-comp?

Falko Strenzke <falko.strenzke@mtg.de> Wed, 04 September 2024 04:37 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 3FF89C13AE34 for <openpgp@ietfa.amsl.com>; Tue, 3 Sep 2024 21:37:37 -0700 (PDT)
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 3D6RxeMwrRqj for <openpgp@ietfa.amsl.com>; Tue, 3 Sep 2024 21:37:32 -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 ietfa.amsl.com (Postfix) with ESMTPS id C0582C14F736 for <openpgp@ietf.org>; Tue, 3 Sep 2024 21:37:30 -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 4844bPLS020915 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT); Wed, 4 Sep 2024 06:37:26 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mtg.de; s=mail201801; t=1725424646; bh=dXB/EXvK79/qz4KB33DeSR++/+JLema9H0l+PacKKt0=; h=Date:Subject:To:References:From:Cc:In-Reply-To; b=GjNvOW+1igSQN5PyW0wBU97+DNCVrPpLBeZeKX2R81fZ8PBJk2Kft9pzjQtIB+NQE 7kcixtQGCWpgGHDkAXJvonl9h0GJR4OeF1stVDiZ9Xa10JtIP93L/0Kg4KBiHx7cW/ bTzcdYMnqjpnjMDxEegCnOoXAqIkeWgbJNu+m9znNoBiikDok08AYs+be1cPs/OX3X qzNxd1BFhp+3h4xO07W3gwYnI/ff7YF4GNDsqKyVt08UuaAphlBX5J92L/OmPlCe3U AInTvEVtqxLu9rBOCVZJc9CiKQVmkiiM8RNCEb+H34x9HYHlfFGJ1uTsPtl/8vv8Jb UtVXDUjLxKI8w==
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 4844bNQH028371 (version=TLSv1.3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256 verify=NOT); Wed, 4 Sep 2024 06:37:24 +0200
Message-ID: <27a58bc9-a1d3-4d7e-b06c-c50a08289d04@mtg.de>
Date: Wed, 04 Sep 2024 06:37:23 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: "Hale, Britta (CIV)" <britta.hale@nps.edu>, "openpgp@ietf.org" <openpgp@ietf.org>
References: <563556e4-6a57-41e5-a8da-ae1ff27c08c6@mtg.de> <D753AC29-A81C-49D8-B9A0-7FF0E443D3B8@nps.edu>
From: Falko Strenzke <falko.strenzke@mtg.de>
Content-Language: en-GB
Organization: MTG AG
In-Reply-To: <D753AC29-A81C-49D8-B9A0-7FF0E443D3B8@nps.edu>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms070501020403010107090702"
Message-ID-Hash: 24KVLMW4E2PV4ZBLLV2SKERWGZECI43N
X-Message-ID-Hash: 24KVLMW4E2PV4ZBLLV2SKERWGZECI43N
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
CC: "Ehlen, Stephan" <stephan.ehlen@bsi.bund.de>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [openpgp] Re: call for adoption of draft-ehlen-openpgp-nist-bp-comp?
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/XsEErNsvDy3oeFay0_-Xd5TaCuU>
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 Britta,

thanks a lot for your valuable input to our proposed draft. However, we 
think there might be a general misunderstanding about the nature of 
draft-ehlen-openpgp-nist-bp-comp. Namely, this draft only adds further 
parameter sets to draft-ietf-openpgp-pqc and borrows all cryptographic 
constructions from there. This is stated in Section 1.4 
<https://www.ietf.org/archive/id/draft-ehlen-openpgp-nist-bp-comp-00.html#name-applicable-specifications-f> 
and specifically for the KEM combiner in Section 5.2.2 
<https://www.ietf.org/archive/id/draft-ehlen-openpgp-nist-bp-comp-00.html#name-key-combiner>. 
Note that the main document draft-ietf-openpgp-pqc has already been 
adopted by the WG, although it is not finalized, yet.

Accordingly, the general design choices have to be discussed with 
respect to the main document draft-ietf-openpgp-pqc and the only issue 
that really concerns draft-ehlen-openpgp-nist-bp-comp by itself is the 
choice of parameter sets or, like Daniel argues, questioning the need 
for additional parameter sets in the first place.

Our suggestion is that you read draft-ietf-openpgp-pqc and check which 
of your critique you want to bring to the OpenPGP working group. This 
draft also has a Security Considerations section which hopefully 
contains the justifications you are looking for.

We want to proactively address some of the concerns you raised under the 
assumption that you direct it against draft-ietf-openpgp-pqc as well.

     1. /WG appropriateness./

We clearly think it is appropriate for the OpenPGP WG to work on the PQC 
integration into OpenPGP. This is conformance with the current charter. 
And we are not specifying new cryptographic algorithms, thus there is 
not per se a need to ask CFRG. Our composite constructions are 
straightforward and come with security considerations. That being said, 
of course we are open to concrete proposals for change — any input is 
welcome.

     2. /Goal ambiguity./

Specifying encryption and signature in draft-ietf-openpgp-pqc was agreed 
on by the working group. We don’t see how this is violating any 
established principle. In OpenPGP this was already practiced for ECC in 
RFC 6637. We believe that such decisions are within the freedom of the 
working group.

     3. /Overlap with other efforts./

We are aware that there is a design team in CFRG working on KEM 
combiners and one of the authors of draft-ietf-openpgp-pqc is involved 
in the team. However, so far no concrete constructions have been 
presented. Once that is the case early enough in the process of 
finalizing draft-ietf-openpgp-pqc, we are happy to check whether we can 
adopt such a construction. Currently, we are awaiting the publication of 
[1]. We will then check if we can adopt a construction from NIST. This 
would be indeed our preferred choice. But ultimately, such decisions are 
up to the OpenPGP working group.

Furthermore, we are regularly in dialogue with the authors of the 
corresponding LAMPS drafts. In particular the considerations for PQC 
integration into the CMS protocol within LAMPS share some similarities 
to considerations for OpenPGP. Our dialogue with LAMPS is mainly thanks 
to Mike Ounsworth’s continued efforts to align the different groups 
regarding matters of the PQC integration. This sometimes happens in the 
official meetings, sometimes in GitHub issues in our draft repo, and 
sometimes in off-list discussions. We recently agreed to check a 
possible alignment of our KEM-combiner construction with LAMPS after the 
publication of SP 800-227 and to present the similarities and 
differences we end up with to other IETF groups (most likely in a PQUIP 
session).

You mention that there are “efforts in […] PQUIP for KEM combiners, 
signature combiners”. This sounds as if PQUIP was working on 
cryptographic mechanisms, which is something that is explicitly 
precluded by their charter.

     3. /Lack of formalism and security goals clarity./

These issues probably mostly concern the main draft 
draft-ietf-openpgp-pqc, unless the “lack of formalism” really applies to 
aspects of this draft that are not present in the “main draft”. We think 
that some of the issues you might have identified could already turn out 
to be covered by the “Security considerations” section of 
draft-ietf-openpgp-pqc but we acknowledge that it could be a good idea 
to refer (in the main draft, however) to your (more recent) work 
“draft-ietf-pquip-hybrid-signature-spectrums” and the security notions 
mentioned in it.

Best regards,

Falko and Stephan (as authors of draft-ehlen-openpgp-nist-bp-comp and 
draft-ietf-openpgp-pqc)

[1] National Institute of Standards and Technology (2024) 
Recommendations for key- encapsulation mechanisms, (National Institute 
of Standards and Technology, Gaithers- burg, MD), NIST Special 
Publication (SP) 800-227. [Forthcoming; will be available at 
https://csrc.nist.gov/publications]

Am 28.08.24 um 19:07 schrieb Hale, Britta (CIV):
>
> All,
>
> I have several concerns about this draft:
>
> 1) WG appropriateness.
>
> There is very little in this draft that is unique to OpenPGP. While I 
> applaud the early leaders in pushing PQ standards in the IETF for 
> their efforts, in whatever working group would take initiative, now 
> that things have come to a more mature standing and the first NIST 
> standards are out, being systematic would be wise, so that the right 
> WGs are reviewing and correlating these. Otherwise we risk a mayhem of 
> individual standards draft spread across the IETF all offering their 
> own versions of ‘ML-KEM’ or ‘ML-KEM’ hybrid unique to the different WGs.
>
> Traditionally, the CFRG is the WG to set the guidelines for algorithms 
> (which algorithm combiners still are). In my opinion, PQUIP for 
> general coordination and the CFRG for specific algorithm drafts are 
> the right places for this. It is not reasonable to assume that 
> everyone in OpenPGP is tracking PQUIP or the CFRG, which can also be 
> seen in the dearth of comments on the OpenPGP mailinglists. As a 
> consequence, few here may pick up on the fact that the terminology in 
> this draft differs from several documents already tracked by PQUIP, 
> and the overlap with existing KEM and signature combiners is not made 
> clear here. Such clarity would be well handled in CFRG if we do not 
> break from the norm of algorithms going to them. Other combiners 
> presented in PQUIP have been similarly sent to CFRG, so it would be 
> concerning if a given non-CFRG WG presses ahead on a solo versions.
>
> Note that this is equally important on substantive cryptographic 
> drafts and non-substantive (i.e., regardless of how cryptographically 
> invasive a combiner is or is not, or even whether or not there is a 
> combiner at all). We need clarity and consistency in IETF algorithms, 
> vs. 20 different “ML-KEM combiner” standards for 20 different WGs, and 
> it requires responsibility by all WGs to ensure that does not happen. 
> After all, we do not currently have 20 different standards for AES, so 
> it is best to avoid incurring the ensuant complexity when going into 
> post-quantum efforts. If this draft is sufficiently different from 
> others in CFRG, then the clarity of different security or use goals, 
> etc. will be handled there with guidance on ensuring the right 
> language in the draft to make that clear.
>
> 2) Goal ambiguity.
>
> The goals of this draft mix of KEM combiners and signatures. These are 
> very separate algorithm types. We (the IETF, NIST standards, ISO, 
> etc.) do not historically mix those into a single draft. This is even 
> more important as the relative security goals aimed for each combiner 
> in the draft are different: the KEM aims to achieve strong 
> non-separability, whereas the signature combiner does not even aim to 
> achieve weak non-separability. It would seem appropriate to break 
> these into distinct drafts.
>
> 3) Overlap with other efforts.
>
> There are multiple efforts in the CFRG and PQUIP for KEM combiners, 
> signature combiners, etc. This draft does not reference any of those 
> and I note overlaps in the proposed efforts. If the draft was routed 
> through the correct WGs (e.g., CRFG and PQUIP) it could likely achieve 
> deduplication and also consistency in terminology and presentation. 
> Only protocol-specific draft (i.e., protocol combiners, not algorithm 
> combiners) seem appropriate for other WGs – this goes back to item (1).
>
> 3) Lack of formalism and security goals clarity.
>
> There is also a lack of clarity in formalism in this draft:  the 
> signature combiners listed are a ‘parallel’ approach but their 
> security is not stated as such (esp. see PQUIP drafts on this). Also, 
> the signatures are listed as “composite” but are not according to the 
> PQUIP terminology draft (they are hybrid only). The goals for doing 
> combiners are frequently security goals, so precision on those is very 
> important in order to assess whether or not the draft is even 
> achieving its own intent.
>
> Given all of the above, I recommend that the draft be moved instead to 
> CFRG. If the combiner is an approved algorithm, then OpenPGP will be 
> able use the code points for that and there is the added bonus that if 
> it has wider applicability other WGs can also use them. If further 
> protocol customization for **how** OpenPGP applies an algorithm is 
> needed, that can be achieved in a separate draft, and does not seem to 
> be a goal of this draft anyway.
>
> Britta
>
> *From: *Falko Strenzke <falko.strenzke@mtg.de>
> *Organization: *MTG AG
> *Date: *Wednesday, August 28, 2024 at 5:55 AM
> *To: *"openpgp@ietf.org" <openpgp@ietf.org>
> *Subject: *[openpgp] call for adoption of 
> draft-ehlen-openpgp-nist-bp-comp?
>
> NPS WARNING: *external sender* verify before acting.
>
> Dear OpenPGP Chairs,
>
> at IETF 120 we presented our draft introducing the PQ/T composites 
> with NIST and Brainpool curves 
> https://github.com/openpgp-pqc/draft-ehlen-openpgp-nist-bp-comp.
>
> In the meeting Stephen said the working group would be given some time 
> to read the draft and then a call for adoption would be issued. Given 
> that the content of the draft is not substantially new but is more or 
> less the content that was branched off from the already adopted 
> draft-ietf-openpgp-pqc, it seems to me that the six weeks that have 
> since passed should be enough time. Are the chairs ready to issue the 
> call for adoption any time soon?
>
> Best regards,
> Falko
>
> -- 
>
> *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 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>