Re: [netconf] [Anima] Reuse of SZTP-CSR YANG definition in BRSKI-AE

Michael Richardson <mcr+ietf@sandelman.ca> Sat, 19 June 2021 21:29 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 920683A20BE; Sat, 19 Jun 2021 14:29:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 jH8ATYdQnMg0; Sat, 19 Jun 2021 14:29:40 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B46EE3A0C81; Sat, 19 Jun 2021 14:29:40 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 5AE3B38C29; Sat, 19 Jun 2021 17:31:04 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nH60W6Tk-SMF; Sat, 19 Jun 2021 17:31:02 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 25F6B38B71; Sat, 19 Jun 2021 17:31:02 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id DF6F359; Sat, 19 Jun 2021 17:29:35 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Kent Watsen <kent+ietf@watsen.net>, "Fries, Steffen" <steffen.fries@siemens.com>, "Werner, Thomas" <thomas-werner@siemens.com>, netconf@ietf.org, "anima@ietf.org" <anima@ietf.org>
In-Reply-To: <0100017a1b4d2e94-aeaaa06e-8dc0-4163-a747-692e72b0d75c-000000@email.amazonses.com>
References: <3a31e33678484625b9f4f3810e673e56@siemens.com> <0100017a1b4d2e94-aeaaa06e-8dc0-4163-a747-692e72b0d75c-000000@email.amazonses.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Sat, 19 Jun 2021 17:29:35 -0400
Message-ID: <8407.1624138175@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Jcaz24BjPVy7VnZAm9X2_1a1aXw>
Subject: Re: [netconf] [Anima] Reuse of SZTP-CSR YANG definition in BRSKI-AE
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: Sat, 19 Jun 2021 21:29:46 -0000

Kent Watsen <kent+ietf@watsen.net> wrote:
    > [future threads about SZTP should CC NETCONF, the WG that
    > published/maintains SZTP]

Yes, and not netmod?

    sf> In one use case, the pledge has no direct connection to the registrar
    sf> and a registrar-agent communicates with the pledge. In that specific
    sf> case we do not have a TLS connection between the pledge and the
    sf> registrar-agent and protect the exchanged objects by an additional
    sf> signature. This is done by embedding the necessary information into a JOSE object.

...

    sf> The question
    sf> (https://github.com/anima-wg/anima-brski-async-enroll/issues/10) now
    sf> is, if this construct is possible, as we are just using a subset
    sf> (sztp-csr:csr) of the YANG  module " ietf-sztp-bootstrap-server" from
    sf> draft-ietf-netconf-sztp-csr?

    kw> This is not possible.

I feel that the question might have been so specific that it didn't match.

My thought was to do CORECONF (possibly using CoAP over BTLE), to retrieve a
CSR from a device.  It seems to fit right into the ietf-sztp-bootstrap-server
pattern to me.

So, I'm unclear why ietf-sztp-csr:csr-support couldn't be used.
Is it because the module augments sztp, and we don't need it all?

We really just want container csr-support, csr-generation, csr, ???

Maybe we could chat about this more.
We have a regular Thursday 9:30 EST design team.

    >> The alternative would be to define an own module modeled in a similar.

    > You can do this.

I think that we can have some common mindshare here.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide