Re: [openpgp] To bind or not to bind

Andrew Gallagher <andrewg@andrewg.com> Tue, 02 April 2024 11:09 UTC

Return-Path: <andrewg@andrewg.com>
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 8AB47C14F6AC for <openpgp@ietfa.amsl.com>; Tue, 2 Apr 2024 04:09:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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=andrewg.com
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 FfQD8__w9igS for <openpgp@ietfa.amsl.com>; Tue, 2 Apr 2024 04:08:57 -0700 (PDT)
Received: from fum.andrewg.com (fum.andrewg.com [135.181.198.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25E0EC15107E for <openpgp@ietf.org>; Tue, 2 Apr 2024 04:08:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=andrewg.com; s=andrewg-com; t=1712056133; bh=VXnkFyKmcSstmdNwu+eOOOy6bdMpDXekY8Zm//bFqGI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=hBMbl5+3rdCxU2JO0/MLDioXyFPBEdhjWW1xebPsTaM03pM8pj5smj/L1eJDi4Cpu IeRKKe6aHaNK/ocdC7VoVmXeiEL8H3P+yDS8MGGr44Cj+8dQCJfCsZWF7cDYAYA+74 RnA2KRW1g3CaYLPJYuyQZ430ABx3ExXhKibqNL6g2S4cjgGlHN1DsK62a3I4QaeoTD a+H0ISFAHYINK5FnS4Xm5Jn/yBoiTHk/Q+fQpAFddKaEpXdJHAEsk6c3OmtwBTY/FY MysjV2TWKUgnSqBJeN0ZZeKPbqI843QAp18R137ICb64mOXAzfwAooOBTdaiqzaSAe ZOH6lmC1nDGWA==
Received: from smtpclient.apple (serenity [IPv6:fc93:5820:7349:eda2:99a7::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by fum.andrewg.com (Postfix) with ESMTPSA id BA3555DC4C; Tue, 2 Apr 2024 11:08:52 +0000 (UTC)
Content-Type: multipart/signed; boundary="Apple-Mail=_E84D7ABC-B13E-43D7-9468-0B408A204E74"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\))
From: Andrew Gallagher <andrewg@andrewg.com>
In-Reply-To: <EE3FF75F-6F99-4BFA-BD2C-6FEA29C06DCE@andrewg.com>
Date: Tue, 02 Apr 2024 12:08:36 +0100
Cc: Justus Winter <justus@sequoia-pgp.org>, Falko Strenzke <falko.strenzke@mtg.de>, Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Aron Wussler <aron@wussler.it>, IETF OpenPGP WG <openpgp@ietf.org>
Message-Id: <E52CBCB6-8C86-4FFE-9FF5-56E2933AF2AE@andrewg.com>
References: <87a5mqi0xi.fsf@europ.lan> <23B46D65-EAF7-43D0-A5F1-04D28B698559@andrewg.com> <87sf0h32d3.fsf@fifthhorseman.net> <cd9a18d9-2d13-48d2-98e0-2ae268f68215@mtg.de> <87y1a6has4.fsf@europ.lan> <14a80b96-9860-461d-b9fe-e38e3bf651b1@mtg.de> <87v858gcmv.fsf@europ.lan> <8169558D-E770-495C-89BB-93F9BD42035A@andrewg.com> <87sf0bhnjc.fsf@europ.lan> <EE3FF75F-6F99-4BFA-BD2C-6FEA29C06DCE@andrewg.com>
To: Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3731.700.6.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/83pHlhD6PxpK-klCqLtTTkgx0ok>
Subject: Re: [openpgp] To bind or not to bind
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: Tue, 02 Apr 2024 11:09:01 -0000

On 27 Mar 2024, at 16:58, Andrew Gallagher <andrewg=40andrewg.com@dmarc.ietf.org> wrote:
> 
> I just tried to add the v4 ML-KEM test key from draft-pqc-02 to my own GitHub account. It failed at import time saying:
> 
> "We got an error adding your GPG key. Please verify the input is a valid GPG key.”

A further data point: uploading the same test key to a hockeypuck v2.2.0-beta instance results in the unknown encryption subkey being cleanly ignored:

> Search results for ‘0xb2e9b532d55bd6287ec79e17c62adc0ddd1edd73'
> Type bits/keyID cr. time exp time key expir
> 
> pub (4)eddsa263/b2e9b532d55bd6287ec79e17c62adc0ddd1edd73 2013-07-01T00:00:00Z
> 
> uid PQC user (Test Key) <pqc-test-key@example.com>
> sig cert c62adc0ddd1edd73 2013-07-01T00:00:00Z ____________________ ____________________ [selfsig]
> 
> sub (4)ecdh263/95bed3c63f295e7b980b6a2b93b3233faf28c9d2 2013-07-01T00:00:00Z
> sig sbind c62adc0ddd1edd73 2013-07-01T00:00:00Z ____________________ ____________________ []

(Although hockeypuck delegates crypto operations to a stable version of go-crypto/openpgp, it handles packet grammar natively)

A