Re: [netconf] Zaheduzzaman Sarker's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)

Kent Watsen <kent+ietf@watsen.net> Fri, 02 February 2024 20:17 UTC

Return-Path: <0100018d6b779696-8b9c0751-4383-439c-9f88-d07819ddb58b-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 94084C14F5EF; Fri, 2 Feb 2024 12:17:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.903
X-Spam-Level:
X-Spam-Status: No, score=-6.903 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_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ptkFjlL-4R6h; Fri, 2 Feb 2024 12:16:57 -0800 (PST)
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 470A4C14F5E9; Fri, 2 Feb 2024 12:16:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1706905016; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=XC9isBeeOcnSiorLqMM7dH6Uf1UQJPeg9sWvTLgD0Js=; b=Ng4nHfIqYzr5Fs1TuvmsHJ62rqm3gI1J1P+xVHupwJyS3sJ/H6+Uy6iEtXXv0pcg RM1FsB2XFneS0fkk6vbSyJX+Itn1Wgmz6Uy8jnt2kfU9H3JLQTIrIG8xM5Y2k/LhnAW yCpKJt90sk2cKDkPQCHOAJq7rdQApXHPfA512+TA=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100018d6b779696-8b9c0751-4383-439c-9f88-d07819ddb58b-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B22C3E66-0979-4FE6-8AB0-B5B32A46D17E"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
Date: Fri, 02 Feb 2024 20:16:55 +0000
In-Reply-To: <170678695806.25662.10228230890884216897@ietfa.amsl.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-netconf-crypto-types@ietf.org, "netconf-chairs@ietf.org" <netconf-chairs@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>, Mahesh Jethanandani <mjethanandani@gmail.com>
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
References: <170678695806.25662.10228230890884216897@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3731.600.7)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.02.02-54.240.8.83
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/axpPjVFkj_F96QxEfc7CBnLlkrA>
Subject: Re: [netconf] Zaheduzzaman Sarker's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 02 Feb 2024 20:17:01 -0000

Hi Zaheduzzaman,

Thank you for your comment.
Please find response below.

Kent


> On Feb 1, 2024, at 6:29 AM, Zaheduzzaman Sarker via Datatracker <noreply@ietf.org> wrote:
> 
> Zaheduzzaman Sarker has entered the following ballot position for
> draft-ietf-netconf-crypto-types-29: No Objection
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
> for more information about how to handle DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-netconf-crypto-types/
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Thanks for working on this specification. I have no objection from transport
> protocol point of view.
> 
> I was wondering if the following description is sufficiently clear to the
> implementers -
> 
> leaf public-key-format {
>      nacm:default-deny-write;
>      type identityref {
>        base public-key-format;
>      }
>      mandatory true;
>      description
>        "Identifies the public key's format. Implementations SHOULD
>         ensure that the incoming public key value is encoded in the
>         specified format.";
>    }
> 
> Which format is specified here ? and how the implementation can ensure the
> compliance to the specific format for the incoming public key value?
> 
> I am missing some reference/example/direction here.

In this case, the “identityref” is to "public-key-format”.

"public-key-format” has two sub-identities:
	- subject-public-key-info-format
	- ssh-public-key-format

For subject-public-key-info-format, the “description” statement says:

     description
       "Indicates that the public key value is a SubjectPublicKeyInfo
        structure, as described in RFC 5280 encoded using ASN.1
        distinguished encoding rules (DER), as specified in
        ITU-T X.690.";

For ssh-public-key-format, the “description” statement says:

     description
       "Indicates that the public key value is an SSH public key,
        as specified by RFC 4253, Section 6.6, i.e.:
   
          string    certificate or public key format
                    identifier
          byte[n]   key/certificate data.";


Does this answer your question?


Kent