Re: [netconf] draft-ietf-keystore - certificate leafref

Kent Watsen <kent@watsen.net> Wed, 12 June 2019 10:39 UTC

Return-Path: <0100016b4b459a4b-58d12364-7b0d-4f73-8fb4-66a9d8595079-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 CBC9912007A for <netconf@ietfa.amsl.com>; Wed, 12 Jun 2019 03:39:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham 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 VQnbxwpgUTvC for <netconf@ietfa.amsl.com>; Wed, 12 Jun 2019 03:39:43 -0700 (PDT)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAEAB12008D for <netconf@ietf.org>; Wed, 12 Jun 2019 03:39:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1560335981; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=SC9WMbhDxvNPvVUIiY6U7xoGM6VNwlN5aYfNzfG6jgo=; b=nNirtjoZ9zZdffe5SJY2o4fG26zq67oVUmLc4C3rsXsrJh2MwhOuM2MKL49qDk6b u6IskYmys7FNOeSzY+MfCffZiZACBLJtVBpzx9E5bwSLadbPDyA3xz/haMBwoLkSdgA faFzuJBPBLO3oJhoTi8xeX4nmMlst6ApXV0/c4vU=
Content-Type: multipart/alternative; boundary=Apple-Mail-E3AA98EE-A61F-45FA-98AE-20E68C0C1729
Mime-Version: 1.0 (1.0)
From: Kent Watsen <kent@watsen.net>
X-Mailer: iPhone Mail (16F203)
In-Reply-To: <VI1PR07MB4735046FD5C54DF0763BA80583EC0@VI1PR07MB4735.eurprd07.prod.outlook.com>
Date: Wed, 12 Jun 2019 10:39:41 +0000
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: 7bit
Message-ID: <0100016b4b459a4b-58d12364-7b0d-4f73-8fb4-66a9d8595079-000000@email.amazonses.com>
References: <VI1PR07MB4735046FD5C54DF0763BA80583EC0@VI1PR07MB4735.eurprd07.prod.outlook.com>
To: =?utf-8?Q?Bal=C3=A1zs_Kov=C3=A1cs?= <balazs.kovacs@ericsson.com>
X-SES-Outgoing: 2019.06.12-54.240.8.83
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/aYeYRkNZu2C1tVZjuqm13QsinuA>
Subject: Re: [netconf] draft-ietf-keystore - certificate leafref
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, 12 Jun 2019 10:39:45 -0000

Hi Balazs,

Yes, that would be better.  Please provide the NEW text needed. 

Kent 

Sent from my iPhone

> On Jun 12, 2019, at 5:14 AM, Balázs Kovács <balazs.kovacs@ericsson.com> wrote:
> 
> Hi Kent,
>  
> Ietf-keystore model contains this leafref:
>  
>      typedef asymmetric-key-certificate-ref {
>        type leafref {
>          path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key"
>             + "/ks:certificates/ks:certificate/ks:name";
>        }
>        description
>          "This typedef enables modules to easily define a reference
>           to a specific certificate associated with an asymmetric key
>           stored in the keystore.";
>      }
>  
> Shouldn’t the leafref be constrained to point to a certificate within a specific asymmetric-key list element?
>  
> Example:
> https://mailarchive.ietf.org/arch/msg/netmod/m0s9xAcDpJVm1a0-eWyTDvpXtZ0
>  
> Best Regards,
> Balazs
>  
>