Re: [openpgp] primary key binding signature requirement

"Neal H. Walfield" <neal@walfield.org> Sat, 03 December 2022 14:49 UTC

Return-Path: <neal@walfield.org>
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 A361EC1522B7 for <openpgp@ietfa.amsl.com>; Sat, 3 Dec 2022 06:49:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
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 98lGacvfV35Z for <openpgp@ietfa.amsl.com>; Sat, 3 Dec 2022 06:49:12 -0800 (PST)
Received: from mail.dasr.de (mail.dasr.de [202.61.250.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79A21C14F720 for <openpgp@ietf.org>; Sat, 3 Dec 2022 06:49:11 -0800 (PST)
Received: from p5de92f23.dip0.t-ipconnect.de ([93.233.47.35] helo=forster.huenfield.org) by mail.dasr.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <neal@walfield.org>) id 1p1TpF-0001fJ-0j; Sat, 03 Dec 2022 15:49:09 +0100
Received: from grit.huenfield.org ([192.168.20.9] helo=grit.walfield.org) by forster.huenfield.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <neal@walfield.org>) id 1p1TpE-00AyQe-1S; Sat, 03 Dec 2022 15:49:08 +0100
Date: Sat, 03 Dec 2022 15:49:08 +0100
Message-ID: <878rjo4k63.wl-neal@walfield.org>
From: "Neal H. Walfield" <neal@walfield.org>
To: Aron Wussler <aron@wussler.it>
Cc: IETF OpenPGP WG <openpgp@ietf.org>
In-Reply-To: <4xf4guGg2quiLcVvBQI78yHRQmwuV3NK-tyKFMw9pdwv5MXBmgnAUIu0vDxYK0L8dz3zQdwV5JoPozx98gIoCtgFVbNBg03UQSt8YfE_7YM=@wussler.it>
References: <87v8mv4gfe.wl-neal@walfield.org> <4xf4guGg2quiLcVvBQI78yHRQmwuV3NK-tyKFMw9pdwv5MXBmgnAUIu0vDxYK0L8dz3zQdwV5JoPozx98gIoCtgFVbNBg03UQSt8YfE_7YM=@wussler.it>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
X-SA-Exim-Connect-IP: 192.168.20.9
X-SA-Exim-Mail-From: neal@walfield.org
X-SA-Exim-Scanned: No (on forster.huenfield.org); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/_TYBdBvpYK58JB5UMYK5C9GPBio>
Subject: Re: [openpgp] primary key binding signature requirement
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Dec 2022 14:49:14 -0000

On Fri, 02 Dec 2022 23:38:05 +0100,
Aron Wussler wrote:
> > if a subkey binding signature includes the Key Flags subpacket and
> > the certification capability (0x1) or the signing capability (0x2)
> > is set, then the subkey binding signature must also contain a valid
> > primary key binding signature issued by the subkey over the primary
> > key.
> 
> I agree with this.
> 
> As a side note, I don't know whether we should allow subkeys to issue certifications.
> 
> In real life I found poor support for subkeys with certification capability. I found no real way to create such keys (without messing with them manually) and other implementations didn't understand certifications made from that key.
> 
> Maybe we should either forbid that entirely or explicitly support it.

I agree that support for certification-capable subkeys is quite poor.
And, I think that is quite unfortunate.

A certification-capable subkey can be particularly helpful when using
an offline primary key: even though the primary key is offline, it is
still possible to create third-party signatures online.  This is a
major pain point for me.  When I want to certify a certificate, I need
to boot up my offline computer, transfer the certificate, certify it,
and then transfer it back.  Having a certification-capable subkey
would reduce that friction.

I'm also aware of a company that does centralized key management, and
doesn't give users access to their primary key.  This means that users
are not able to directly create third-party certifications.  Instead
they have to use a web portal.  That, of course, integrates horribly
with other tooling.  Certification-capable subkeys would also help
here.

Anyway, I believe this discussion is out of scope for the crypto
refresh.

Neal