Re: [netconf] I-D Action: draft-ietf-netconf-crypto-types-09.txt
Martin Bjorklund <mbj@tail-f.com> Tue, 25 June 2019 20:42 UTC
Return-Path: <mbj@tail-f.com>
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 D81B112029B for <netconf@ietfa.amsl.com>; Tue, 25 Jun 2019 13:42:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 aGQLy6BE8QjZ for <netconf@ietfa.amsl.com>; Tue, 25 Jun 2019 13:42:47 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 260461200FF for <netconf@ietf.org>; Tue, 25 Jun 2019 13:42:47 -0700 (PDT)
Received: from localhost (h-4-215.A165.priv.bahnhof.se [158.174.4.215]) by mail.tail-f.com (Postfix) with ESMTPSA id AE5541AE02F0; Tue, 25 Jun 2019 22:42:43 +0200 (CEST)
Date: Tue, 25 Jun 2019 22:42:43 +0200
Message-Id: <20190625.224243.332607515244909664.mbj@tail-f.com>
To: kent+ietf@watsen.net
Cc: frank.xialiang@huawei.com, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <0100016b8f701d10-02dff612-5c5f-4ed3-938d-8b9f25679996-000000@email.amazonses.com>
References: <C02846B1344F344EB4FAA6FA7AF481F13E7B118B@dggemm511-mbx.china.huawei.com> <20190625.084508.905200182299290020.mbj@tail-f.com> <0100016b8f701d10-02dff612-5c5f-4ed3-938d-8b9f25679996-000000@email.amazonses.com>
X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-or5lzGn3HaO9GLoKq2EiKBjOS8>
Subject: Re: [netconf] I-D Action: draft-ietf-netconf-crypto-types-09.txt
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, 25 Jun 2019 20:42:49 -0000
Hi, Kent Watsen <kent+ietf@watsen.net> wrote: > > > So, to start with, for each of the types in the crypto module, could > > you specify the link to the corresponding IANA registry? > > Yes, please send out the links so we have more clue... > > > > To take a step back, my perception for how we got here is thus: > > 1) the keystore draft wishes to store keys (perhaps created at the > time of manufacturing) that can subsequently be referenced by > downstream models, such as in the SSH and TLS client/server drafts. > > 2) to support this goal, the crypto-types draft defined some types for > keys (first as identities, now as enumerations). > > 3) crypto savvy folks wanted to embrace and extend the definitions in > crypto-types to be more complete (i.e., more then just keys) > > 4) to enable the SSH and TLS models to use types defined in their > protocol specs, mapping tables were added to those drafts to map the > protocol-specific types to the generic crypto-types type. So perhaps this is not the best solution? The big set of types (in crypto-types) will change over time, and the subsets used in various applications will also change over time. The best solution for such sets in the IETF seems to be IANA registries, with corresponding IANA-maintained YANG modules. > 5) the IPsec folks now have a similar problem, to which the answer > might be to do the same as the SSH and TLS drafts (i.e., define > mappings from IPSec-specific types to crypto-types types) > > 6) the general underlying issue is likely exasperated by the > crypto-types draft defining more types than needed for just keys > (i.e., the more it tries to support, the more mapping tables are > needed), albeit this in itself seems like a good thing. > > 7) it's unclear to me where the root cause of the problem lies. It > seems that the crypto folks may have instigated this long ago, by > creating overlapping definitions for identical algorithms, which then > manifested in the form of multiple IANA registries. > > 8) our efforts to normalize this may be futile, and yet we want to > support keystore. Perhaps we can take a step back and define just the types we need right now for keystore, in order to finish these drafts. Then we (or some other WG) can immediately start to work on an update to crypto-types that would define more types for other purposes as well. /martin > Please correct any misstatements, as I'm speculating on some of the > above. > > Thinking out of the box, if we were to fold on crypto-types defining > algorithms, perhaps keystore could store instances of something like > an abstract base class that is subclassed by downstream modules (ssh, > tls, ipsec). The problem with this approach is that the keys become > purpose-specific and so, e.g., if a device has a > manufacturer-generated key, that key could only be used for the single > purpose (e.g., TLS) and not for any other purpose (e.g., SSH, IPSec, > etc.). Sure, the vendor could create key multiple purpose-specific > "keys" for the same underlying key store in hardware, but it would > ultimately fail to support any purpose, potentially defined later in > time. > > Kent // contributor >
- [netconf] I-D Action: draft-ietf-netconf-crypto-t… internet-drafts
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Kent Watsen
- [netconf] 答复: I-D Action: draft-ietf-netconf-cryp… Xialiang (Frank, Network Standard & Patent Dept)
- Re: [netconf] 答复: I-D Action: draft-ietf-netconf-… Wang Haiguang
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Martin Bjorklund
- [netconf] 答复: I-D Action: draft-ietf-netconf-cryp… Xialiang (Frank, Network Standard & Patent Dept)
- Re: [netconf] 答复: I-D Action: draft-ietf-netconf-… Martin Bjorklund
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Kent Watsen
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Martin Bjorklund
- [netconf] 答复: 答复: I-D Action: draft-ietf-netconf-… Xialiang (Frank, Network Standard & Patent Dept)
- Re: [netconf] 答复: 答复: I-D Action: draft-ietf-netc… Martin Bjorklund
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Kent Watsen
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Martin Bjorklund
- Re: [netconf] I-D Action: draft-ietf-netconf-cryp… Kent Watsen
- [netconf] 答复: I-D Action: draft-ietf-netconf-cryp… Xialiang (Frank, Network Standard & Patent Dept)
- Re: [netconf] 答复: I-D Action: draft-ietf-netconf-… Wang Haiguang
- Re: [netconf] : I-D Action: draft-ietf-netconf-cr… tom petch
- [netconf] 答复: : I-D Action: draft-ietf-netconf-cr… Xialiang (Frank, Network Standard & Patent Dept)
- Re: [netconf] : I-D Action: draft-ietf-netconf-cr… Wang Haiguang
- [netconf] algorithms in crypto-types Kent Watsen