Re: [openpgp] Embedded TPK subpacket
Justus Winter <justuswinter@gmail.com> Mon, 25 March 2019 10:48 UTC
Return-Path: <justuswinter@gmail.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 4E467120421 for <openpgp@ietfa.amsl.com>; Mon, 25 Mar 2019 03:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 w-rA5x-UlRYA for <openpgp@ietfa.amsl.com>; Mon, 25 Mar 2019 03:48:13 -0700 (PDT)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D43AE12039B for <openpgp@ietf.org>; Mon, 25 Mar 2019 03:48:12 -0700 (PDT)
Received: by mail-wm1-x32d.google.com with SMTP id v14so8497288wmf.2 for <openpgp@ietf.org>; Mon, 25 Mar 2019 03:48:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=AcEV3DWzWIf6sz5ZMdaIwKZDMLRBWVkYwvTcKstbBAc=; b=JVUbToZISwoPoeaPXC4xLqJMb1LqzNfIT1soUSrjtTYjbkaALMUqhjA20LMRfnzzlF cvNVtL7NLDzTFvPduuGpqOrVzzZE1TID/VGCc4a78GRuiURJd9q/3xoaGUpYO0/FMkrC dKizXeP/a0+ONbgpV+zgCUML/OzXZsNn2mfyg4yegTqxGDWkqJ30XXn3B7p+xITWBJBv oAmoAcxBrZ5n4xlsxYgUwDemhcrKivZlvf/KW+rnG1UKJDgk5A7d9aocJ/AuL6cTI/fF Z08JDNZF53pwFPOz1kx+sDnAk0hpKRXHbSLft6doKluxN/mabz4/wWTE6mpFsQ932l7W gffg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=AcEV3DWzWIf6sz5ZMdaIwKZDMLRBWVkYwvTcKstbBAc=; b=po3utrEQJiytBVFM2wEo5fUEnQ7hWpyPvOTnwh8G26Qd8D1AGSoT3FeeYFighxoJ1a lZRgGoo4z5agBVopnnI2b8vS2XXBJzAiaYWlUVpSGMlhsEaQBsBMTiH9a1W3ms62fJHi Mwoo57relNEU1/cCzBseAmaqqDoEI9hEr1iewM1iDlF6c8UimjjonHyNz3mx4rIWbmhe Dikls6sZl85d62lgoJOS6jebAlP6AjawRtcXUJGhKNwVHyKDiS2UHwgaDmvztrwW4fgN XD66hG+1wWTzhbSB9nIXEYnHLs3cPrnAyKrrvlVQGonGF+TkTlINeFI5XDgdH0cdHTh9 tmwQ==
X-Gm-Message-State: APjAAAVqL9X+LrLBSlwFPqHD8sIqAcxRydxy7uVmdEy9r9r5Y9hZcPjN qevziRjzd8WyR15HAeZGgDw=
X-Google-Smtp-Source: APXvYqwGvtXAvcPe+PU02vwlJqA+2p0/FfdUI1tydoiMUxggdZiDNi2WbKcy3/XS++HkDs6tSJh5tg==
X-Received: by 2002:a1c:ca06:: with SMTP id a6mr9514081wmg.14.1553510891393; Mon, 25 Mar 2019 03:48:11 -0700 (PDT)
Received: from localhost (port-92-193-51-13.dynamic.qsc.de. [92.193.51.13]) by smtp.gmail.com with ESMTPSA id a6sm3499wrp.49.2019.03.25.03.48.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 03:48:10 -0700 (PDT)
From: Justus Winter <justuswinter@gmail.com>
To: Marcus Brinkmann <marcus.brinkmann=40ruhr-uni-bochum.de@dmarc.ietf.org>, openpgp@ietf.org
In-Reply-To: <1e6052ec-36ba-d14d-5028-b4aac973a494@ruhr-uni-bochum.de>
References: <87ef6v71jm.fsf@europa.jade-hamburg.de> <1e6052ec-36ba-d14d-5028-b4aac973a494@ruhr-uni-bochum.de>
Date: Mon, 25 Mar 2019 11:48:09 +0100
Message-ID: <87bm1z6xhy.fsf@europa.jade-hamburg.de>
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/34gOe8tJbgMGc-f48h2MK_bKeL0>
Subject: Re: [openpgp] Embedded TPK subpacket
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: Mon, 25 Mar 2019 10:48:19 -0000
Hi Marcus :) thanks for the prompt answer! Marcus Brinkmann <marcus.brinkmann=40ruhr-uni-bochum.de@dmarc.ietf.org> writes: > This is a bit awkward if you only want to do encryption (there is no > subpacket then). Some think one should always encrypt and sign, but the > issue at least needs to be raised and considered. That is true. For me, not-sign-then-encrypt is not such a prominent use case. Note that this only concerns the key-gossiping use case. Distributing the revoker's TPK with revocations is always possible. > Can you clarify what keys are allowed as embedded TPKs? Just the > signing key for that signature, or arbitrary keys? Arbitrary keys. > If the latter (for example to allow more use cases such as key > rollover), then the new subpacket would be the first subpacket not to > have any relationship to the signature it is contained in, which would > be awkward. Really? Plenty of signature subpackets deal with keys, user preferences, or can simply contain arbitrary data (notations). > It would also potentially allow interesting attack vectors (injecting > arbitrary keyring data). GnuPG's keyring is uncurated, and it uses trust models to compute the validity of userid,key-bindings. Similar, Sequoia's keystore can contain keys that have no bindings. > Also, as you said, there are already some ways to transfer public keys > in email as attachment or header. Some email readers already look in > these places and have a GUI to import these keys. You say your proposal > requires no cooperation by the MUAs, but this seems to rely on very > narrow trust models not requiring any user interaction. Maybe you can > expand on that topic a bit? Are the existing mechanisms obsoleted by > it, or is it an alternative? If the latter, can your proposal be > extended to cover existing use cases? My proposal is ment to obsolete the existing mechanisms. The fact that we now have multiple incompatible mechanisms is a bit sad, and I'm trying to extend OpenPGP so that we can have interoperable implementations again. By requiring no MUA cooperation I ment to say "no MUA modifications other than the usual PGP integration". For example, if you look at Autocrypt, implementing it means that the MUA needs to do a lot of low-level key manipulations. As I see it, this is much more work than what is already done for many MUAs. My proposal aims at bringing the key gossiping to MUAs without requiring further modifications. > The embedded key can contain signatures, and these signatures can again > have embedded keys. This would allow for arbitrary recursion, which > from experience makes for interesting bugs. Maybe you can add some > considerations for that to your proposal? I don't see that as too problematic. We already have embedded signatures, which can contain embedded signatures, and it doesn't seem to be a problem there. Cheers, Justus
- [openpgp] Embedded TPK subpacket Justus Winter
- Re: [openpgp] Embedded TPK subpacket Marcus Brinkmann
- Re: [openpgp] Embedded TPK subpacket Justus Winter
- Re: [openpgp] Embedded TPK subpacket Vincent Breitmoser
- Re: [openpgp] Embedded TPK subpacket Marcus Brinkmann
- Re: [openpgp] Embedded TPK subpacket Neal H. Walfield
- Re: [openpgp] Embedded TPK subpacket Justus Winter
- Re: [openpgp] Embedded TPK subpacket Vincent Breitmoser