Re: [netconf] More complications

Kent Watsen <kent@watsen.net> Tue, 15 June 2021 15:06 UTC

Return-Path: <0100017a1035ee97-d50af178-3949-420b-b78b-571fe99b24b2-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 612AD3A3343 for <netconf@ietfa.amsl.com>; Tue, 15 Jun 2021 08:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 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_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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 BEYWeWe7ebvh for <netconf@ietfa.amsl.com>; Tue, 15 Jun 2021 08:06:49 -0700 (PDT)
Received: from a48-93.smtp-out.amazonses.com (a48-93.smtp-out.amazonses.com [54.240.48.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 449773A3341 for <netconf@ietf.org>; Tue, 15 Jun 2021 08:06:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1623769608; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=qqg/3GmKRgZ1fs8LLpbX4EtfuaU0u3jYPURWS+L+q4Q=; b=YPadptHt4m3EoDr+GmfvcJDIgugnF5bAUsDevfWVsPkFrROggQ0JZhR2QMdPV1/b +QtdgLzheiZ0MSuYGb/qQ6EAV13oqK5NQP8no8AMHL5w4oooile+aZoHuXT4V3R99yH s7QDZblkSO2oxz+Fr6/hsjLASSas16GLh3URazkc=
From: Kent Watsen <kent@watsen.net>
Message-ID: <0100017a1035ee97-d50af178-3949-420b-b78b-571fe99b24b2-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3BA66C14-9E86-4824-AF99-DB8DE337BD11"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
Date: Tue, 15 Jun 2021 15:06:47 +0000
In-Reply-To: <20210615121804.weihro7eusvnfym6@anna.jacobs.jacobs-university.de>
Cc: "netconf@ietf.org" <netconf@ietf.org>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, tom petch <ietfc@btconnect.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <AM7PR07MB624835D8BE54144D97221817A02B9@AM7PR07MB6248.eurprd07.prod.outlook.com> <010001798c0d947e-4d2d14f5-9f0e-450d-ac99-e18c260f0c2b-000000@email.amazonses.com> <AM7PR07MB6248FF0E1E5A053D4FA2BDC4A0299@AM7PR07MB6248.eurprd07.prod.outlook.com> <01000179a0aa5d37-4810234e-8db2-434d-b8fa-780c1648955a-000000@email.amazonses.com> <AM7PR07MB624888AD4CB3C09809B22702A0259@AM7PR07MB6248.eurprd07.prod.outlook.com> <01000179a5bdc371-b665451f-61d4-4364-9d55-e9369f3adc8e-000000@email.amazonses.com> <AM7PR07MB6248BBDEECB1134C56426F73A0239@AM7PR07MB6248.eurprd07.prod.outlook.com> <0100017a0aebfbf3-9e9c22e8-da12-4364-a572-8ce7fd43bf0f-000000@email.amazonses.com> <AM7PR07MB6248E24C8235FBD8573017C8A0309@AM7PR07MB6248.eurprd07.prod.outlook.com> <540b31e5-10a6-495f-cf44-820adb6213b3@sit.fraunhofer.de> <20210615121804.weihro7eusvnfym6@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2021.06.15-54.240.48.93
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/VtEOZJlK8dTkflOfXIq8Jjw-L-I>
Subject: Re: [netconf] More complications
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: Tue, 15 Jun 2021 15:06:55 -0000

Thanks Juergen and Tom.

Henk, thanks for poking in on this thread.  Given that it appears the PSK/RPK support in TLS 1.3 is work-in-progress, Tom’s suggestion to defer modeling the TLS 1.3 part of the model at this time makes sense to me - do you agree?

If so, then it seems that we should update the model now to have a “choice statement” or “sibling-container statements", adding “if-feature” statements as needed, and then just define the TLS 1.2 solution, enabling the TLS 1.3 solution to slide-in “perfectly” via a future effort.  

Could you (or maybe Tom) help us know if a “choice statement” or “sibling-container statements” is needed?  The answer may vary for the TLS-client vs the TLS-server...

K.



> On Jun 15, 2021, at 8:18 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> The way TLS is used with NETCONF is defined in RFC 7589. If any of
> that needs clarification to properly support TLS 1.3, then we need to
> revise RFC 7589. Defining the proper configuration knobs should follow
> from that.
> 
> And as Kent reminds us, the scope of the TLS configuration draft is
> much wider than just NETCONF over TLS. Hence, dropping support for
> certain TLS 1.3 features, that may be essential in some use cases,
> should be done with great care. (And lets keep in mind that dropping
> standard configuration knobs just means that there are no standard
> configuration knobs, it does not mean that a certain protocol feature
> won't be used, it will just be configured using other non-standard
> means).
> 
> /js
> 
> On Tue, Jun 15, 2021 at 01:53:19PM +0200, Henk Birkholz wrote:
>> Hi all,
>> 
>> a fellow IETF'ler poked me to pay attention to this thread. Sorry for the
>> latency.
>> 
>> Hm - dropping PSK support for TLS 1.3 seems to be leaving a bunch of
>> implementations in the IoT space behind that are inching towards migration,
>> currently.
>> 
>> How urgent is this? I can certainly massage the current YANG module, but (in
>> theory) I am occupied by another SDO meeting this week.
>> 
>> Viele Grüße,
>> 
>> Henk
>> 
>> 
>> On 15.06.21 13:36, tom petch wrote:
>>> From: Kent Watsen <kent+ietf@watsen.net>
>>> Sent: 14 June 2021 15:27
>>> 
>>> [CC-ing Henk, to whom a question is directed to below]
>>> 
>>> 
>>> Hi Tom,
>>> 
>>>> Top posting a new and different issue.
>>> 
>>> Thanks for updating the subject line.
>>> 
>>> 
>>>> server case psk references ServerKeyExchange and psk-identity-hint neither of which exist in TLS1.3.  The client sends an extension PreSharedKeyExtension which contains a list of identities from which the server selects one as selected-identity for which the identifier is uint16 indexing into the client's list. RFC8446 s.4.2.11.
>>>> 
>>>> The client description also needs amending.
>>>> 
>>>> TLS1.2 was extended to use tickets in this area to aid session resumption; these have now gone and been replaced by this extension.  I would not suggest adding support for tickets.
>>>> 
>>>> As I may have said before, TLS 1.3 is different.
>>> 
>>> Henk, could you help with these edits?   Support for PSK and raw public key were added to draft-ietf-netconf-tls-client-server per your request and, if memory serves me, didn’t you help me with the YANG update too?   I suppose what is needed is a either a “choice” statement (with cases for 1.2 and 1.3) *or* sibling-container statements (in case it’s necessary both are configured in case, e.g., the client sends one or the other)...
>>> 
>>> <tp>
>>> Or else drop support for PSK with TLS1.3 at this time because too little is known about it outside the use for HTTP.  I am starting to see I-D about how to use TLS1.3 with application X, even for HTTP,  and I think that such an I-D will be needed for many applications with or without PSK.
>>> 
>>> Tom Petch
>>> 
>>>> Tom Petch
>>> 
>>> Kent
>>> 
>> 
>> _______________________________________________
>> netconf mailing list
>> netconf@ietf.org
>> https://www.ietf.org/mailman/listinfo/netconf
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> 
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf