Re: [netmod] x509c2n:cert-to-name problem

Kent Watsen <kent+ietf@watsen.net> Mon, 28 October 2019 15:48 UTC

Return-Path: <0100016e130d724c-9d02480e-901f-4e5a-90b4-6acd1095bb26-000000@amazonses.watsen.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A737120932 for <netmod@ietfa.amsl.com>; Mon, 28 Oct 2019 08:48: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, 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=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 c5fg1MATGhnI for <netmod@ietfa.amsl.com>; Mon, 28 Oct 2019 08:48:00 -0700 (PDT)
Received: from a8-64.smtp-out.amazonses.com (a8-64.smtp-out.amazonses.com [54.240.8.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAFB81208F8 for <netmod@ietf.org>; Mon, 28 Oct 2019 08:47:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1572277678; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=55vfeuqFvu3LFDW5qeccpeRiJUyS/EtPGerlrh5fMRo=; b=TIDPgvJU5rH/fcrWoOfY+RZFkm0FSUjRWaUv7/WB1ICxW3416Sh7qpA4sWQpzqHQ +dDYQwlYFsDSU6MiaGGcnu6eU1WdTnjXW8BNgpGIYQmrEGwLK4nuoK/y8rQz65d+QZf H51KBcaedEjUfgB+u8XJfmwthYwHDwfaLH8c05FI=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016e130d724c-9d02480e-901f-4e5a-90b4-6acd1095bb26-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_628B4528-BEAE-4C82-A199-DC996D858382"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 28 Oct 2019 15:47:58 +0000
In-Reply-To: <20191028.102216.1541488608391720310.mbj@tail-f.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
To: Martin Bjorklund <mbj@tail-f.com>
References: <netconf-wg/https-notif/issues/3/545072069@github.com> <20191023.101844.48270589337022568.mbj@tail-f.com> <0100016e0416c312-13b65019-1c32-4fc8-b8b2-f2b7cc591a00-000000@email.amazonses.com> <20191028.102216.1541488608391720310.mbj@tail-f.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.10.28-54.240.8.64
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/5YjP5iIak5YsDzGR_TDR1e0rLmA>
Subject: Re: [netmod] x509c2n:cert-to-name problem
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Oct 2019 15:48:01 -0000

Hi Martin,


> I'll check with my co-author and get back.

Thanks.


> No, in many SMIv2 objects, a zero-length value is used for optional
> nodes (due to the way the protocol (SNMP) works).  In YANG we don't do
> this, since the protocls (NETCONF etc) can handle non-existing
> optional leafs.

In that case, there might be two issues:

	1) the description statement excluding CA certs (mentioned before)
	2) `mandatory true` should be `mandatory false` ?

Kent // contributor