[openpgp] Re: WGLC for draft-ietf-openpgp-pqc [was: Re: I-D Action: draft-ietf-openpgp-pqc-08.txt]
Daniel Huigens <d.huigens@protonmail.com> Tue, 06 May 2025 08:55 UTC
Return-Path: <d.huigens@protonmail.com>
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 729F5254286F for <openpgp@mail2.ietf.org>; Tue, 6 May 2025 01:55:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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=protonmail.com
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 aBY9H-3YV6Km for <openpgp@mail2.ietf.org>; Tue, 6 May 2025 01:55:52 -0700 (PDT)
Received: from mail-10629.protonmail.ch (mail-10629.protonmail.ch [79.135.106.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 01E322542846 for <openpgp@ietf.org>; Tue, 6 May 2025 01:55:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1746521750; x=1746780950; bh=phY6dl7OHNLA95Mu/yff0jj/ouBjrq10ULRB37cZJ0s=; 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=jNlzv0LJZrRUVagUkDDeFD0pLLs9A1ICvMhTwg6lGHvMpoKIgsonVSiik2hI97hkh bPDmODgVyflR/zUB35lAwwG7UKN1LSI367n3xE8EgF9lQ3USqK+2L4J6wG/TNmrIpJ lIMvYt/Ut72uW+Ta+vhXt8IM8N5RHF3Ai69iGnS+we8qMNEwUFKzR3DqqtJPrQGrL5 +iUhwXhUPWz7LB0wMRoltI9SHfz1q5ue9ZRHmd2Eb9z7XRSRjHiDYFQx9z6fcBLx3L fl0kOSh7YeN7/jOHeYagHHbiN3ygDbp6kuGl+lphj3+pCBwhEBiLfd1RUUvorjQzhg aT/lDFzxcgZ0w==
Date: Tue, 06 May 2025 08:55:46 +0000
To: Falko Strenzke <falko.strenzke@mtg.de>
From: Daniel Huigens <d.huigens@protonmail.com>
Message-ID: <1Cy4_AoVZRRNmL5PYdv06RQUmi4eUgDx3O2aCAohihtvL3n3Nfzk0Duzg5VT9EskYcihg_NbayiBxMRIQNSXiqVpxWBqyCoM1JbWWkMqiFQ=@protonmail.com>
In-Reply-To: <cd0c95ae-07ef-41fb-aa82-cf7dcaf2f44b@mtg.de>
References: <174470653269.1286532.14892820163225351018@dt-datatracker-64c5c9b5f9-hz6qg> <LSicuu3DyGQdz5FlANti-HGJ6GuAucc5BKufbsCa603EsSZ0q1XMXYvt_OubLd0UQkg0gh2F--9y9WpoqWfQu5XU-KEcJ15GG66cSFk9ByU=@wussler.it> <87wmblcr8i.fsf@fifthhorseman.net> <3uEh1vLBaG5Cnfic_80Z3QJK3eh_rSNuuX0ZGlrItoy2_HuZ2vtUfqPDjQC-uxdQ2CurgFVG79ET4QyQ3zSgiX8xvTwVERPeA3vOhqjSHpc=@protonmail.com> <cd0c95ae-07ef-41fb-aa82-cf7dcaf2f44b@mtg.de>
Feedback-ID: 2934448:user:proton
X-Pm-Message-ID: 4d6776c3ee6dc7b76e8f51a4463174ad355dc3db
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1=_J3WSK1WixHC3keLViILZ5B36h8tDCKNZI2LCm8AdQE"
Message-ID-Hash: FZ6OMGU26ZI55RKMKWHTPAAVAESSQSCI
X-Message-ID-Hash: FZ6OMGU26ZI55RKMKWHTPAAVAESSQSCI
X-MailFrom: d.huigens@protonmail.com
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: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, openpgp@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [openpgp] Re: WGLC for draft-ietf-openpgp-pqc [was: Re: I-D Action: draft-ietf-openpgp-pqc-08.txt]
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/haxvL0MvW3MTc2KMaL51g0vaecw>
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 Falko, On Tuesday, May 6th, 2025 at 08:08, Falko Strenzke <falko.strenzke@mtg.de> wrote: > I don't see a problem in different implementations selecting different subkeys from the test vectors. While I understand that this is not an ideal situation, I also don't think that it is in the responsibility of the PQC draft to present test vectors that only allow an unanimous subkey selection. As you say yourself, we had agreed that this draft will not make a prescription on the subkey selection process. The natural effect of this is that different implementations may arrive at different sets of encryption subkeys. But it is the responsibility of the PQC draft to enable post-quantum security, and make recommendations for actions that achieve that, no? Currently, if you follow the second recommendation in Section 8.3, and then use implementations that implement the draft, you won't achieve post-quantum security in 2 out of 3 implementations, although the draft seems to imply it should (but nevertheless those implementations don't violate the draft). For me that's a bit of a contradiction. > We should also not forget that the actual purpose of the so-called encryption subkey selection process is to allow the certificate holder to express their preference regarding encryption subkey selection. I don't fully agree. For me the goal is to reach a consensus for a reasonable encryption subkey selection algorithm for senders, in order to achieve consistency and predictability for the certificate holder, and yes that in turn can help them craft their certificate in a way that causes their preferences to be honored. > Moreover, the implementation of the encryption subkey selection mechanisms to be defined by the WG will remain a the discretion of the relevant OpenPGP implementation / mail client / user (sender) in any case. Accordingly, varying results for the encryption subkey selection process will remain normal. If the OpenPGP implementations don't agree with the proposal, then we haven't achieved consensus, which is what I wanted to try to achieve. Maybe that's overly optimistic but let's not give up before we've tried :) > Thus I don't see the need for either alternative 1. & 2. you give below. I also think the current statements in the draft saying that adding a PQC encryption subkey enables their use by senders that can parse them is valid and doesn't require to be changed. In my view, these statements do not trespass into the domain of an encryption subkey selection mechanism. They are simply stating the fact that, given that PQC encryption subkeys are present, these keys *can* be used by the sender. Whether the sender decides to do that in a specific case is another question – which is outside the domain of the PQC draft, as I think there is currently general agreement. Section 3.5 says more than that, it says that "the keyholder of an existing v4 certificate [can] add such a subkey to defend against store-now, decrypt-later attacks from quantum computers without moving to a new primary key". But this is only true if the sender selects that subkey, which again is only true in 1 out of 3 implementations of the draft today. For me that means we should either change that text, or say that the other two implementations are not compliant with the draft (and give some guidance for what they should do instead). --- All of that being said, there is kind of a third option which is: we leave draft-openpgp-pqc as-is, but we very quickly write up another draft for encryption subkey selection which makes the above statement in draft-openpgp-pqc true. I think that's a risky course of action if we don't manage to achieve consensus in the end, though, as we'll be left with an RFC for PQC in OpenPGP with a statement that's not true and a recommendation that doesn't work. Best, Daniel
- [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