Re: [saag] height of PKI

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 26 August 2020 21:55 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 64AF63A08AD for <saag@ietfa.amsl.com>; Wed, 26 Aug 2020 14:55:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 vZMi2iyMlpIw for <saag@ietfa.amsl.com>; Wed, 26 Aug 2020 14:55:01 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7E883A0898 for <saag@ietf.org>; Wed, 26 Aug 2020 14:55:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8C7913898F; Wed, 26 Aug 2020 17:34:01 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FUQ8Awv6Iyi0; Wed, 26 Aug 2020 17:34:00 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 62F603897F; Wed, 26 Aug 2020 17:34:00 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id AA45686; Wed, 26 Aug 2020 17:54:58 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Russ Housley <housley@vigilsec.com>
cc: IETF SAAG <saag@ietf.org>
In-Reply-To: <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> <2AA3B4ED-732B-49D4-9441-94EAB3CF31F1@vigilsec.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 26 Aug 2020 17:54:58 -0400
Message-ID: <12056.1598478898@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/K79Cu_mqo4pGmMpfFbUH7IpBJAU>
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 21:55:03 -0000

Russ Housley <housley@vigilsec.com> 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.

That's interesting, but in of itself, it does not establish a zero-indexed or
one-index absolute count, as it describes an interval.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-