[openpgp] Re: WGLC for draft-ietf-openpgp-pqc

Aron Wussler <aron@wussler.it> Wed, 14 May 2025 20:01 UTC

Return-Path: <aron@wussler.it>
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 0436A289ED79 for <openpgp@mail2.ietf.org>; Wed, 14 May 2025 13:01:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_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=wussler.it
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 ChNHXTzAkB7O for <openpgp@mail2.ietf.org>; Wed, 14 May 2025 13:01:33 -0700 (PDT)
Received: from mail-4317.protonmail.ch (mail-4317.protonmail.ch [185.70.43.17]) (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 mail2.ietf.org (Postfix) with ESMTPS id ECFBA289ED60 for <openpgp@ietf.org>; Wed, 14 May 2025 13:01:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wussler.it; s=protonmail2; t=1747252891; x=1747512091; bh=MYGpge0PHkc18Ved0+OnMUTwlt3zip0aTFOys17vFzM=; 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=PNYcy7MO3UV8knKxFn4zUp107xGN/mY5GlQUf2RmVo220hMnrtzJymg4qmEuxzf0w J6TpaTOQ4X7xBNnbtHdfCCt8Vp8DnSDhrQMn3ILs1UaJfCV9YAAsxzy9NuQlcPZ4UT foEpPb04emZ9eVAGZxluZtMyHsg5ZgfePeeovM33TL/Seb/HJoVwxOcWKxhub1tnyl NGGgGvXwAr6BkPyiL/tfy7byhlrybnc3NC0BHK0jOtXZo2T1vLj/mNn9huw7PRcnbX AdrXXKkZ0eMjAzgPt68z/lkhnR0fmULLD2V9MJR6Y4mS+wgfuYKBfBBFfdxv60bhNp MQYsfKIbkj0jA==
Date: Wed, 14 May 2025 20:01:25 +0000
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
From: Aron Wussler <aron@wussler.it>
Message-ID: <3x9CkdzugSIvBl-BARkJp5eEklgPA2qI3ddbsPBUYiRrnvP3YMW8gDJCms4i9ScmCwh0Pcn6PParx8bOr51Fu64a8ZO8gm9gsQdVYppv1LA=@wussler.it>
In-Reply-To: <87sel7cadq.fsf@fifthhorseman.net>
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> <87sel7cadq.fsf@fifthhorseman.net>
Feedback-ID: 10883271:user:proton
X-Pm-Message-ID: 7de36cd7393a2f5e37af98394bb09863a5f7ab3b
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha512"; boundary="------d65df577f0ea2ceea4ac60cd08aecdc120e3df8bf4ac58578d4b823354611437"; charset="utf-8"
Message-ID-Hash: BU7QHRV6QAUNZTS6KPGFTYBZO7JIJHTG
X-Message-ID-Hash: BU7QHRV6QAUNZTS6KPGFTYBZO7JIJHTG
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: Stephen Farrell <stephen.farrell@cs.tcd.ie>, openpgp@ietf.org
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/sBDXnzaAlTPD6o101goVI6xPRVE>
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 and dkg,

# Key material reuse
I agree with dkg and Simo that enforcing a MUST for key material reuse is impossible. It used to be a MUST in earlier versions of the draft, and this was lowered because of concerns with HW tokens and enforceability.

# Algorithm selection
We're working on a PR that describes the algorithm usages and provides non-normative guidance.

# := nit
Approved your PR @dkg, I think we should just merge it

# Test vectors
The test vectors we included in the editor's copy were run via the interop test suite on 3 different implementations

# Releasing the new draft
As soon as we got the algorithm guidance in, I would be in favor of releasing version 09 without further delay

Cheers,
Aron

--
Aron Wussler
Sent with ProtonMail, OpenPGP key 0x7E6761563EFE3930



On Wednesday, 14 May 2025 at 20:31, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:

> On Tue 2025-05-13 23:11:33 +0100, Stephen Farrell wrote:
> 

> > - 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. 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?
> 

> 

> I have the impression that it's a RECOMMENDED because ⓐ some people
> might have hardware keys that they feel obliged to reuse (yet another
> reason why hardware keys are problematic), but also ⓑ it would be
> unenforceable as a MUST. It's not going to be an interoperability issue
> unless the keyholder's peers reject certificates that share public key
> material.
> 

> I don't think anyone is seriously contemplating asking OpenPGP
> implementations to reject a certificate with shared public key material.
> 

> I wouldn't object if the draft were to explicitly call out the ⓐ case as
> the exception to the SHOULD, though it makes me sad to justify bad
> protocol choices based on bad hardware/software choices. Are there any
> other plausible reasons why someone would want to re-use?
> 

> > - 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.)
> 

> 

> I agree that 5 is a lot, but it's not much compared to the full zoo.
> Count yourself lucky, Stephen ☺
> 

> I'd welcome a simple MR that tries to describe the justifications.
> 

> > - 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.
> 

> 

> Agreed, this would be great to have in a reportback on-list from the
> interoperability test suite, as the test vectors stabilize.
> 

> > - nit: We use ":=" without definition, and I'd say just
> > "=" would be just as good?
> 

> 

> sounds reasonable:
> https://github.com/openpgp-pqc/draft-openpgp-pqc/pull/186
> 

> --dkg
> _______________________________________________
> openpgp mailing list -- openpgp@ietf.org
> To unsubscribe send an email to openpgp-leave@ietf.org