[netconf] "trust-anchor" usage (was: truststore usage in ietf-ssh/tls-client/server)

Kent Watsen <kent+ietf@watsen.net> Wed, 09 October 2019 15:49 UTC

Return-Path: <0100016db135a50c-8e6fd140-fad9-4e05-81db-b1b37785a9a2-000000@amazonses.watsen.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83142120104 for <netconf@ietfa.amsl.com>; Wed, 9 Oct 2019 08:49:09 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 N5qemGT5g23i for <netconf@ietfa.amsl.com>; Wed, 9 Oct 2019 08:49:07 -0700 (PDT)
Received: from a8-96.smtp-out.amazonses.com (a8-96.smtp-out.amazonses.com [54.240.8.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 725A61200C1 for <netconf@ietf.org>; Wed, 9 Oct 2019 08:49:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1570636146; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=fuKzzOlg61AyjC+ySZu1vVelUvsz/+v4hpEVcRbWeNM=; b=bGedt47QeBp5wLOKzpf2fQolEcmNKVSBuEcChi/79uyGOzvicqk17uSvkg2iY3oZ TKvh7StOAyY73SKGPtYTbH/PdO9pcNKfh9JG4cOn1BAFAAO9M7KBMjXs7HnK677KLbQ JDTL2RckcFUabJzJzFenLs1RCq9cEnOsuuyPw/24=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016db135a50c-8e6fd140-fad9-4e05-81db-b1b37785a9a2-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F7C0283B-7E3C-4736-8CC2-BAD049812A3D"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Wed, 09 Oct 2019 15:49:06 +0000
In-Reply-To: <20191009070334.tzpxb6wfvlwvyvks@anna.jacobs.jacobs-university.de>
Cc: Balázs Kovács <balazs.kovacs=40ericsson.com@dmarc.ietf.org>, "Salz, Rich" <rsalz@akamai.com>, "netconf@ietf.org" <netconf@ietf.org>
To: Juergen Schoenwaelder <J.Schoenwaelder@jacobs-university.de>
References: <AM0PR07MB51879334FAD36D55675307E3839E0@AM0PR07MB5187.eurprd07.prod.outlook.com> <0100016da755ddce-18e94501-441b-471d-af1e-03ba88fde0ba-000000@email.amazonses.com> <AM0PR07MB51877236CE073078C5B90F9A839A0@AM0PR07MB5187.eurprd07.prod.outlook.com> <0100016dad284c4d-821b1403-49d4-41bb-87bf-275f611e6fe1-000000@email.amazonses.com> <E2A52BEB-FDA0-4F3B-A11F-052BD7A68120@akamai.com> <AM0PR07MB51875014434A6F0676198C7283950@AM0PR07MB5187.eurprd07.prod.outlook.com> <20191009070334.tzpxb6wfvlwvyvks@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.10.09-54.240.8.96
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/d0j0Xi-hZyPAWFTaNMnRRXkKpiw>
Subject: [netconf] "trust-anchor" usage (was: truststore usage in ietf-ssh/tls-client/server)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Oct 2019 15:49:10 -0000

[changing the subject line]


> it may help to adopt terminology defined in RFC 4949.

Indeed, but let's start this inquisition with crypto-types:

	$ grep trust-anchor ietf-crypto-types.yang

	  typedef trust-anchor-cert-x509 {
	  typedef trust-anchor-cert-cms {
	  grouping trust-anchor-cert-grouping {
	      type trust-anchor-cert-cms;
	  grouping trust-anchor-certs-grouping {
	      type trust-anchor-cert-cms;

But also note:

	$ grep end-entity ietf-crypto-types.yang 

	  typedef end-entity-cert-x509 {
	  typedef end-entity-cert-cms {
	  grouping end-entity-cert-grouping {
	      type end-entity-cert-cms;
	  grouping end-entity-certs-grouping {
	      type end-entity-cert-cms;
	    uses end-entity-cert-grouping;
	        uses end-entity-cert-grouping;

Note in particular the "cms" types, as they hold a partial sequence of certificates.  The "trust-anchor" sequence always leads to a root certificate.  The "end-entity" sequence always leads to a "CA False" certificate.  These types are meaningfully used in the client/server suite of drafts.  For instance, a TLS server can present a partial end-entity certificate chain which the client stitches into a partial trust-anchor certificate chain.  It is important to support partial chains for operational reasons, not to mention a number of crypto libraries don't support partial certificate path validation.

In RFC 4949, "certification path" or "trust chain" or "trusted CA" seem close.


Kent // contributor