Re: [openpgp] Clarify status of subkeys with certification use
Leo Gaspard <ietf@leo.gaspard.ninja> Fri, 25 May 2018 22:01 UTC
Return-Path: <ietf@leo.gaspard.ninja>
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 2D6F812DA3E for <openpgp@ietfa.amsl.com>; Fri, 25 May 2018 15:01:56 -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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=leo.gaspard.ninja
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 u288mEObmp3f for <openpgp@ietfa.amsl.com>; Fri, 25 May 2018 15:01:53 -0700 (PDT)
Received: from smtp.gaspard.ninja (grym.ekleog.org [94.23.42.210]) (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 52ED612DA3F for <openpgp@ietf.org>; Fri, 25 May 2018 15:01:52 -0700 (PDT)
Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id f0303d65 for <openpgp@ietf.org>; Fri, 25 May 2018 22:01:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=leo.gaspard.ninja; h=subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s= grym-20170528; bh=zxRsRPLnAVBNVaAZp/UaUiRl/ig=; b=WEG0shzrCGHDpw JhOYj+MQKb4wsJJ5LreMdUSl2+aCOnA4d+x7IdYy7rtu1KeB5/xxKNGfiNXKAcMh WVjq4xb/GVkZp1sIPomYq2/mBEdOxh8geQdK2hezNPFdS/p9sMctxuQnVI010LXL aL/Xrvee78OL1PB4ZVyUeU8/cwC9E=
Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTPSA id 952fce1b (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <openpgp@ietf.org>; Fri, 25 May 2018 22:01:48 +0000 (UTC)
To: openpgp@ietf.org
References: <c37c7f94-edef-7f2d-9151-787112abcbfc@sumptuouscapital.com> <8736yg2gz3.wl-neal@walfield.org> <7dcf3192-e004-c95f-7b62-cdbb31f40c0d@leo.gaspard.ninja> <87k1rrfrh9.fsf@fifthhorseman.net>
From: Leo Gaspard <ietf@leo.gaspard.ninja>
Message-ID: <8ab6499f-e874-9aa8-3f8e-1f1c77d1fe4c@leo.gaspard.ninja>
Date: Sat, 26 May 2018 00:01:48 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <87k1rrfrh9.fsf@fifthhorseman.net>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/AwYyr_A45SvdugHr5EgBF-CYnEc>
Subject: Re: [openpgp] Clarify status of subkeys with certification use
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.22
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, 25 May 2018 22:01:57 -0000
On 05/25/2018 09:46 PM, Daniel Kahn Gillmor wrote: > On Fri 2018-05-25 12:26:54 +0200, Leo Gaspard wrote: >> >> Another use case supporting this opinion: certification subkeys are also >> a way to increase the security of an offline OpenPGP key, as with them >> it becomes possible to put the master key behind a diode while still >> being able to certify keys, and only ever move data out: > > you might have made the master key "more secure", but you've done so by > transfering the capabilities of the master key (certification) out to > the less-controlled keys. what's the win here? secret keys are not in > themselves important objects -- what's important is the capabilities > that the network assigns to the corresponding public keys. Well, I'd argue the master secret key *is* an important object: it has accumulated UID signatures that may become impossible to recover were it to have to be revoked. Hence this idea, allowing to revoke a certification subkey, that in itself has no value indeed. > Also, when some certification in a chain has an expiration date on it, > is the whole chain of certifications bound by the narrowest > ("bottleneck") expiration date, or is there some other governing > principle? I'd say the narrowest expiration date would make most sense (actually, I can't think of any other reasonable way to handle expiration dates). > And when a leaf certifiation expires earlier than marked because some > middle element in the chain becomes unusable (remember, subkey > expiration dates can change; subkeys can be revoked), how would you > present this change to the user? Well, isn't that the same issue as when a previously-trusted master key that had signed the end-of-chain key expires / is revoked? > And further still: how many levels deep should such a certification > chain go? > > I think it's pretty easy to argue "0 levels" (i.e. "no > certification-capable subkeys") for simplicity of implementation and > usability concerns. > > I'd suggest that no implementation is willing to argue for "∞ levels" > because at some point the chain of verification becomes too expensive to > cope. > > Are you arguing for some particular limited level of depth? if so, how > do you justify that level? For my use case (ie. protecting the master key), a single level is necessary, and there is a need only for a single certification subkey For Neal's use case, I haven't thought extensively about it, but think one could be enough, depending on whether we want the user to have to access his master key when adding a device (and I guess we want, as otherwise revocation of a device-that-had-signed-another-device becomes a UI nightmare) So, I'd say, one ?
- [openpgp] Clarify status of subkeys with certific… Kristian Fiskerstrand
- Re: [openpgp] Clarify status of subkeys with cert… Daniel Kahn Gillmor
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Leo Gaspard
- Re: [openpgp] Clarify status of subkeys with cert… Kristian Fiskerstrand
- Re: [openpgp] Clarify status of subkeys with cert… Kristian Fiskerstrand
- Re: [openpgp] Clarify status of subkeys with cert… Daniel Kahn Gillmor
- Re: [openpgp] Clarify status of subkeys with cert… Daniel Kahn Gillmor
- Re: [openpgp] Clarify status of subkeys with cert… Leo Gaspard
- Re: [openpgp] Clarify status of subkeys with cert… Leo Gaspard
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Leo Gaspard
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Leo Gaspard
- Re: [openpgp] Clarify status of subkeys with cert… Neal H. Walfield
- Re: [openpgp] Clarify status of subkeys with cert… Werner Koch