[openpgp] Re: certification with Persistent Symmetric Keys (PSKs)?
Heiko Schäfer <heiko.schaefer@posteo.de> Sun, 13 September 2026 13:54 UTC
Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id A8CF431 for <openpgp@ietf.org>; Sun, 13 Sep 2026 13:54:05 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=posteo.de header.s=1984.8680eb header.b=eE4SMr5O; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (mx.ietf.org: domain of heiko.schaefer@posteo.de designates 185.67.36.65 as permitted sender) smtp.mailfrom=heiko.schaefer@posteo.de
Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 54EEA240027 for <openpgp@ietf.org>; Sun, 13 Sep 2026 15:53:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.de; s=1984.8680eb; t=1789307638; bh=WXtPP93s3oh9VsCp6F3rqkpqmhYYv8c0bg0DQL2FLhE=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type: Content-Transfer-Encoding:From; b=eE4SMr5OV539mzhpm/fNAA1CV3XfoU+NH3XA7zu4okk59EuUR3JFojYc18p9aeJcs m1in664jk1jlB1SItxLUGg3pHIVG/cnv8LZNoE8+iuU/jAL2w1fOr3ffdqefZOw0Rd KH4kVCw4wK1h6yAeZRQKKEiq3HNX9wGUt5E4OtJhjaa/K3L76jbSlqlPBgTp8PCGMV czD5k1Zqza3/6p0naVHw1DVYm266tv64n5ssxU64wvzCakie2Z2RJMBisV84EpJ37I sS0soHVchsEUEa+rkvl7TynsUVOixQ//affERXFDvvMx/FlbAynJnthQsRqMFy5WsJ VolgZ6ZM/V4Mw==
Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4hjVBG01kzz9rxN for <openpgp@ietf.org>; Sun, 13 Sep 2026 15:53:57 +0200 (CEST)
Received: from services.empire.hs (services.foundation.hs [192.168.21.4]) by mail.foundation.hs (Postfix) with ESMTP id 548D9705C5 for <openpgp@ietf.org>; Sun, 13 Sep 2026 15:53:57 +0200 (CEST)
Received: from [192.168.21.187] (_gateway [192.168.21.1]) by services.empire.hs (Postfix) with ESMTPSA id 435ECC1BDC5 for <openpgp@ietf.org>; Sun, 13 Sep 2026 15:53:57 +0200 (CEST)
Message-ID: <1aa00114-2cfa-43ee-9c8f-fc044d5038c1@posteo.de>
Date: Sun, 13 Sep 2026 13:53:58 +0000
MIME-Version: 1.0
To: openpgp@ietf.org
References: <87ld9qot5h.fsf@fifthhorseman.net> <043c7e87-ae94-4f4a-ab3c-3dc61d400d28@andrewg.com>
Content-Language: en-US
From: Heiko Schäfer <heiko.schaefer@posteo.de>
In-Reply-To: <043c7e87-ae94-4f4a-ab3c-3dc61d400d28@andrewg.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Spamd-Bar: --
Message-ID-Hash: 5GNYSFL3L62WAP6YKND4PT6YSILKAF2J
X-Message-ID-Hash: 5GNYSFL3L62WAP6YKND4PT6YSILKAF2J
X-MailFrom: heiko.schaefer@posteo.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-openpgp.ietf.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [openpgp] Re: certification with Persistent Symmetric Keys (PSKs)?
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/uaxuZbeI13J2yC5mNgDkyHQrrPg>
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>
Hello dkg, Andrew, all, as an implementer, I would much prefer sticking to the current, very constrained grammar for PSKs. The different mechanics of PSKs cause additional complexity and require additional API surface. The current draft text limits this additional complexity to the layer of individual packets. At that layer, additional complexity is unavoidable: PSK packets perform a different class of operations than asymmetric key packets. They require additional parameters for all operations except PKESK decryption, compared to the analogous asymmetric operations (password unlocking of secret key parameters for all operations, as well as an RNG, and AEAD mode selection for both "producing" operations). Adding signatures to construct a "composed PSK-based transferable secret key" would mean that additional layers of OpenPGP implementations would need added API surface and business logic. In some sense, associating signature packets with a PSK seems like a natural extension, of course. And it would be cheap to write into the draft. It would have a non-trivial cost for implementations, though. I'm currently extremely unconvinced that the practical benefits would outweigh this cost. For the specific point that dkg raised: If we want to allow PSKs to issue identity certifications, I would suggest that we add language that allows applications to consider a PSK implicitly certification-capable, even in the absence of a direct key signature that marks them as such. Thanks, Heiko On 8/29/26 6:53 PM, Andrew Gallagher wrote: > On 28/08/2026 22:02, Daniel Kahn Gillmor wrote: >> >> On the other hand, with no key usage flags subpacket (because no >> self-signature, and because it can't be a subkey) it can't be marked as >> "certification capable". So it doesn't fit super well into the general >> OpenPGP expectations that keys are marked for their intended use. > I think this is a good point, and relaxing the constraints to permit a > direct key signature over the PSK packet does allow arbitrary metadata > to be attached to the key within the TSK specification, whereas > without it any metadata would have to be stored outside the spec. I > would be generally in favour of this, if there are no obvious > downsides... > > A > > > _______________________________________________ > openpgp mailing list -- openpgp@ietf.org > To unsubscribe send an email to openpgp-leave@ietf.org
- [openpgp] certification with Persistent Symmetric… Daniel Kahn Gillmor
- [openpgp] Re: certification with Persistent Symme… Andrew Gallagher
- [openpgp] Re: certification with Persistent Symme… Heiko Schäfer
- [openpgp] Re: certification with Persistent Symme… Daniel Huigens
- [openpgp] Re: certification with Persistent Symme… Andrew Gallagher