Re: [openpgp] Transport public keys inside the message body

Simon Josefsson <simon@josefsson.org> Fri, 16 February 2024 14:25 UTC

Return-Path: <simon@josefsson.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 EBBFEC14F5F7 for <openpgp@ietfa.amsl.com>; Fri, 16 Feb 2024 06:25:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=josefsson.org header.b="AVMtoYZn"; dkim=pass (2736-bit key) header.d=josefsson.org header.b="Xak3vAns"
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 tZXYmMaOaF9J for <openpgp@ietfa.amsl.com>; Fri, 16 Feb 2024 06:25:48 -0800 (PST)
Received: from uggla.sjd.se (uggla.sjd.se [IPv6:2001:9b1:8633::107]) (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 86D85C14F68E for <openpgp@ietf.org>; Fri, 16 Feb 2024 06:22:50 -0800 (PST)
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description; bh=c5enyUbVjHfA54BECRKf4AlacYkNXkAnn6KiQK3sUsM=; t=1708093368; x=1709302968; b=AVMtoYZn0+jdsXUA0gNthsbpSluDrpJFQhlazD8CfE+slavuA03VmY6xFWcwdUUNc1ZOwogI3Ww JK+YABSs3Cg==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=c5enyUbVjHfA54BECRKf4AlacYkNXkAnn6KiQK3sUsM=; t=1708093368; x=1709302968; b=Xak3vAnsJyJbkE5HP6U4ykgDgpP+w9lkPzysZRTzipy6P5fZWy0ctyRRtvM1q8XILdAK0f8KHVX DVyvDosZZ0Rb34iKHxyRuZXqJqNX++b0IsWGXE1VhY861rapqTYMWkO7dy+6t8uF034SdTqRyr8Yk r8mFgt1Smi0ej3a/ss1RPrI3J4bwBzgcTT+a6QVNKSOXzA+y1wDzrjQWZaNo114l4hHjewtXyApxg bQHHB8rdYcgGEdSom7k3jdtrSV4kTCe/nYz/4JlGYFnruHaVh+t7KHvQu3MtZQLNit4FKOUe/UXdg LSuEJuaHgAXozTdWsU3/PcROdZKQIzBlj6MSiYLlPlGydpFiKqty48dUjii6WB9QrD50gF+ZIqnsq aHVxD/pnzvRXdFlTJB3/rWzRJs49TE1m8HsRrNOr7iSSTXSjrlOkSCsx+1wLvGlzJwa3IknEZ;
Received: from [2001:9b1:41ac:ff00:823f:5dff:fe09:16ac] (port=45718 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <simon@josefsson.org>) id 1raz70-003jAU-2P; Fri, 16 Feb 2024 14:22:46 +0000
From: Simon Josefsson <simon@josefsson.org>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: openpgp@ietf.org
References: <1a5e4659-c7a7-4c73-8427-eb391736794e@kuix.de> <0E2C8CD9-310A-48B5-B7F5-E11633DFE611@andrewg.com> <87h6i92rbd.fsf@fifthhorseman.net>
OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt
X-Hashcash: 1:23:240216:openpgp@ietf.org::CGx1xuKdMmiyIqgc:6dT6
X-Hashcash: 1:23:240216:andrewg@andrewg.com::nHCDri5d04lTPeet:D4WG
X-Hashcash: 1:23:240216:kaie@kuix.de::RRx5aaBVXHRrVouo:M44z
X-Hashcash: 1:23:240216:dkg@fifthhorseman.net::kdozSk4pzHLHQ/+N:HNEc
Date: Fri, 16 Feb 2024 15:23:10 +0100
In-Reply-To: <87h6i92rbd.fsf@fifthhorseman.net> (Daniel Kahn Gillmor's message of "Thu, 15 Feb 2024 19:20:06 -0500")
Message-ID: <87cyswpjxt.fsf@kaka.sjd.se>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/uiJnP6F_eKRvC0iPNuKPrSz9zA8>
Subject: Re: [openpgp] Transport public keys inside the message body
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: Fri, 16 Feb 2024 14:25:54 -0000

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> OTOH, if the other side *is* capable, i'd like to signal my own
> capability to them in a way that their tooling can pick up on, but is
> otherwise invisible to a non-capable user.

Would OpenPGP:'s preference field achieve this?

https://datatracker.ietf.org/doc/html/draft-josefsson-openpgp-mailnews-header#section-3.3

/Simon