Re: [netconf] Roman Danyliw's No Objection on draft-ietf-netconf-crypto-types-30: (with COMMENT)

Kent Watsen <kent+ietf@watsen.net> Fri, 09 February 2024 00:37 UTC

Return-Path: <0100018d8b4c70c8-1b40e6bb-3d73-4fa9-82ef-9ebd57f867da-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 7668AC14F71F; Thu, 8 Feb 2024 16:37:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.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_MSPIKE_H4=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 X520byvcOvhW; Thu, 8 Feb 2024 16:37:40 -0800 (PST)
Received: from a8-33.smtp-out.amazonses.com (a8-33.smtp-out.amazonses.com [54.240.8.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89FFAC14F6B8; Thu, 8 Feb 2024 16:37:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1707439059; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=47s7X0vb3ApStWYCY1RwwmY3x5B4VRp0m/RXx7UpE5A=; b=OBBtydWyQ7NmPasWvWUX8dGwMemxL+z9nU7ZrQzf4HHvW7iMMEtTe1vE++Aij2l2 6j8rm7j57gb+ZccHziqstKdf2Up7vrkYNCs5fmN4zTFLUPEaM1RGG8RqmtRrGURHzi7 MlXal/Y42UC1A+TcAqqdU+HL03ZyuVfH/9xxhZ/c=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100018d8b4c70c8-1b40e6bb-3d73-4fa9-82ef-9ebd57f867da-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EBCB1F2B-3274-4FE2-B46C-1FB564234FA0"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
Date: Fri, 09 Feb 2024 00:37:39 +0000
In-Reply-To: <170742054836.21097.11420102928962274820@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>
To: Roman Danyliw <rdd@cert.org>
References: <170742054836.21097.11420102928962274820@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3731.600.7)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.02.09-54.240.8.33
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/sj34putDTZFrScSxqioZJ9WRvHc>
Subject: Re: [netconf] Roman Danyliw's No Objection on draft-ietf-netconf-crypto-types-30: (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, 09 Feb 2024 00:37:45 -0000

Hi Roman,

Please find comments below.

PS: I’ll be publishing updates to all nine drafts this evening.

Kent



> On Feb 8, 2024, at 2:29 PM, Roman Danyliw via Datatracker <noreply@ietf.org> wrote:
> 
> Roman Danyliw has entered the following ballot position for
> draft-ietf-netconf-crypto-types-30: 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:
> ----------------------------------------------------------------------
> 
> Thank you to Valery Smyslov for the SECDIR review.
> 
> I support the Paul's DISCUSS position.
> 
> Thanks for addressing my DISCUSS feedback and most of my COMMENT feedback.
> 
> ** Section 3.5.
>   When accessing key values, it is desireable that implementations
>   ensure that the strength of the keys being accessed is not greater
>   than the strength of the underlying secure transport connection over
>   which the keys are conveyed.  However, comparing key strengths can be
>   complicated and difficult to implement in practice.
> 
> I don’t understand the guidance in this section.  I would have benefited from
> clarity in the following areas.

We agreed to remove this section in my earlier response to you today.
The guidance was weak...

Just the same, I answer your questions below…


> -- Explain the impact of using keys whose strength exceeds the underlying
> transport connection (i.e., it doesn’t offer more security)

To your comment, I’ll assume that “using keys” means that the keys were being accessed/conveyed via a NETCONF or RESTCONF protocol operation (e.g., <get-config>, <edit-config>, etc.).  More specifically, “using keys” that not mean that the keys were participating in a cryptographic operation.

The impact is that the key should be destroyed, as its strength has been weaken to the strength of the underlying protocol.  E.g., a 4096 key conveyed over a 1024 transport is really as strong as the 1024 key.


> -- The verb “accessing” is confusing.  Let’s say that an implementation notices
> a discrepancy between key strength, what is it supposed to do?

The word “access” was being used to mean "conveyed in the payload of a NETCONF or RESTCONF protocol operation”.


> -- The last sentence (“However, comparing ...) seems to acknowledge (correctly)
> that this advice might not be practical.  Is the WG sure the text is needed?

Agreed, this is why we removed Section 3.5.


> ** Section 3.6
>   Implementations SHOULD only use secure transport protocols meeting
>   local policy.  A reasonable policy may, e.g., state that only
>   ciphersuites listed as "recommended" by the IETF be used (e.g.,
>   [RFC7525] for TLS).
> 
> -- Would there be instances where implementation would use secure transport
> that _doesn’t_ meet local policy?

Section 3.6 was removed also, because there is no reason for this document to repeat guidance that must exist elsewhere.


> -- RFC7525 has been obsoleted.  s/RFC7525/RFC9325/

It’s gone!  


Thanks again,
Kent