Re: [openpgp] Combining signature with signer's public key

vedaal@nym.hush.com Thu, 10 December 2020 21:53 UTC

Return-Path: <vedaal@nym.hush.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 BF7FC3A12D8 for <openpgp@ietfa.amsl.com>; Thu, 10 Dec 2020 13:53:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hush.ai
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zoExV_pW5wAF for <openpgp@ietfa.amsl.com>; Thu, 10 Dec 2020 13:53:56 -0800 (PST)
Received: from smtp3.hushmail.com (smtp3.hushmail.com [65.39.178.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C59F3A12D9 for <openpgp@ietf.org>; Thu, 10 Dec 2020 13:53:56 -0800 (PST)
Received: from smtp3.hushmail.com (localhost [127.0.0.1]) by smtp3.hushmail.com (Postfix) with SMTP id 39075E0308 for <openpgp@ietf.org>; Thu, 10 Dec 2020 21:53:55 +0000 (UTC)
X-hush-tls-connected: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hush.ai; h=date:to:subject:from; s=hush; bh=YhkPq/PTonFhdiJXMgQAY0ED3D4SpylO4MsmWpQkWjI=; b=YMdFZ35Bei5aENtZqIIhTRhjqhM/V8NI3TZJn5AGhizbI0JMPNAfv5XiQJD9sys9DeADcjr5/9HcwP/h0OFZHcdPTl4y6MlzhbX9rdQ/FlSIxS67g7yIORNtPzZynsYvnrLTiXkMvKEvm94U6rR2aO/ck9Cm/1d60SY9qiUU7+Yte0eGWjtYK6XHMAh5g0qGXKXjWBX0zeom+Lr8O4PCL35d7tZD68+hOK3Vv0wyedvW4k/gF3fbodgZCt3og+PVmiNQQ3mZEkc4cTRmtxAVZRmbMQ2UiorBs+5Th7fb3GV45noCQwZOoAHXepiwptbCQyVJfs6kFvGlHJlZd06uXA==
Received: from smtp.hushmail.com (w4.hushmail.com [65.39.178.61]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp3.hushmail.com (Postfix) with ESMTPS; Thu, 10 Dec 2020 21:53:54 +0000 (UTC)
Received: by smtp.hushmail.com (Postfix, from userid 48) id D75AF803B10; Thu, 10 Dec 2020 21:53:54 +0000 (UTC)
MIME-Version: 1.0
Date: Thu, 10 Dec 2020 16:53:54 -0500
To: Kai Engert <kaie@kuix.de>, openpgp <openpgp@ietf.org>
From: vedaal@nym.hush.com
In-Reply-To: <48be3fcf-cdce-9ef4-655b-63b6dddf9310@kuix.de>
X-hush-end-of-body-position: 35
Content-Type: multipart/alternative; boundary="=_d05d2fbeaed2a600213532dbe8b90f2e"
Message-Id: <20201210215354.D75AF803B10@smtp.hushmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/o-B0N5FOOWoakmCQ5yk7LOGXBJ8>
Subject: Re: [openpgp] Combining signature with signer's public key
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 10 Dec 2020 21:53:58 -0000

On 12/10/2020 at 4:38 PM, "Kai Engert"  wrote:Is it possible to
include the sender's own public key as part of a 
detached OpenPGP signature?

=====
Possible, but slightly tedious:

[1] Export the public key as an asc file
[2] Add a line after the last line, saying that the key as well as
whatever is to be signed in the message is now being signed by the
signer's key (list name and long fingerprint
[3] Armor sign the entire thing  (asc key file and extra line)
[4] Send the Armored signed message as the attachment instead of the
signature
vedaal