Re: [saag] height of PKI

Russ Housley <housley@vigilsec.com> Wed, 26 August 2020 14:44 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55EA03A1546 for <saag@ietfa.amsl.com>; Wed, 26 Aug 2020 07:44:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 7i6quYT3jV-z for <saag@ietfa.amsl.com>; Wed, 26 Aug 2020 07:44:00 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 119D33A1545 for <saag@ietf.org>; Wed, 26 Aug 2020 07:44:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 6D599300B06 for <saag@ietf.org>; Wed, 26 Aug 2020 10:43:57 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Mlp_b1OeMYoz for <saag@ietf.org>; Wed, 26 Aug 2020 10:43:55 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id B41E8300AB1; Wed, 26 Aug 2020 10:43:55 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <5ac5c357-0eeb-d321-c743-03817684fe22@sandelman.ca>
Date: Wed, 26 Aug 2020 10:43:57 -0400
Cc: IETF SAAG <saag@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2AA3B4ED-732B-49D4-9441-94EAB3CF31F1@vigilsec.com>
References: <20200728191331.GV41010@kduck.mit.edu> <e928e548-f82d-2809-200e-0fc4ac93db14@cs.tcd.ie> <20200728194235.GY41010@kduck.mit.edu> <5ac5c357-0eeb-d321-c743-03817684fe22@sandelman.ca>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3445.104.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/kJ1NgMIbBXyP-GemtlWfo1EYhbo>
Subject: Re: [saag] height of PKI
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Aug 2020 14:44:01 -0000


> On Aug 25, 2020, at 11:14 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
> On 2020-07-28 3:42 p.m., Benjamin Kaduk wrote:
>> Sorry for the clumsy description.  Basically, if you squint hard, you could
>> claim that at least some types of pinning are actually a PKI, just a
>> degenerate PKI.  E.g., in a PKI I have to pin at least one trust anchor as
>> the root of the PKI, and if that pinned trust anchor just happens to also
>> be the certificate directly used in the protocol, it's still a PKI, just a
>> tree of height one.
> 
> I had suggested that a PKI that consisted of ROOT, Intermediate, and EE
> had a height of "three".
> Some disagreed, and said that the EE didn't count, and it was a height of "two"
> Others disagreed: the EE counts, but the root doesn't count, so it's a height of "two"
> 
> So is your case above a height of "one", or a height of "zero"
> 
> If there is a definitive answer, I haven't found it yet.

You may find the description of pathLenConstraint in Section 4.2.1.9 of RFC 5280 helpful.

Russ