Re: draft-ietf-rtgwg-yang-key-chain was: Re: [Netconf] Draft Charter Proposal for NETCONF WG

"Acee Lindem (acee)" <acee@cisco.com> Fri, 24 March 2017 12:46 UTC

Return-Path: <acee@cisco.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E59F12968A; Fri, 24 Mar 2017 05:46:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 EtsqavFynQpz; Fri, 24 Mar 2017 05:46:38 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD249129685; Fri, 24 Mar 2017 05:46:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9282; q=dns/txt; s=iport; t=1490359598; x=1491569198; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=BZlzhC3/Mo/WDf1RPWE50rBBpNuHLYsSCrOQnbcNDx8=; b=Xs8dG8EUCo4DC/i0Haoxn53j0756MPgiV4D/DrcXts5fxktWM3JEiTxT Rz4uLBDoBZiRM7Ue4ch97cCLFJ4nvOe3R8ZTZrEkWBS9AT6LHHI4Vz/k0 6j9lYm1W2zMS8u2sSLmuh8jQXvx8IolZgyrjrni0qRDnSTmYnKZQESaHZ o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D/AwACFNVY/4UNJK1dGQEBAQEBAQEBAQEBBwEBAQEBg1SBEloHg1uKD5FOkzqCD4IOhiICGoMKPxgBAgEBAQEBAQFrKIUVAQEBAQM0RQwEAgEIFQECBBQUAgIwJQIEAQ0FigeMEJwsD4EYBoIoikEBAQEBAQEBAQEBAQEBAQEBAQEBAQEdgQWKOIRAFE6CMoJlAQSJF4ZJgU2LLAGSSoF8iQGGM4hXiw0BHziBBFkVGCmEWB0ZgUp1hzKBL4ENAQEB
X-IronPort-AV: E=Sophos;i="5.36,214,1486425600"; d="scan'208";a="224368989"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Mar 2017 12:46:37 +0000
Received: from XCH-RTP-013.cisco.com (xch-rtp-013.cisco.com [64.101.220.153]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v2OCkbbs024376 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 24 Mar 2017 12:46:37 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-013.cisco.com (64.101.220.153) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 24 Mar 2017 08:46:36 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Fri, 24 Mar 2017 08:46:36 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "t.petch" <ietfa@btconnect.com>, Kent Watsen <kwatsen@juniper.net>, "rtgwg@ietf.org" <rtgwg@ietf.org>
CC: "draft-ietf-rtgwg-yang-key-chain.all@ietf.org" <draft-ietf-rtgwg-yang-key-chain.all@ietf.org>
Subject: Re: draft-ietf-rtgwg-yang-key-chain was: Re: [Netconf] Draft Charter Proposal for NETCONF WG
Thread-Topic: draft-ietf-rtgwg-yang-key-chain was: Re: [Netconf] Draft Charter Proposal for NETCONF WG
Thread-Index: AdKROeE3sjloti5TfEiMBOab9w67OwAgSeNTAAMyYgAABKtfAAAmUhvuAAqrwYAAXzKn3gAB6uUAAAIQ/gAAyiJeAAAC57eAAAAVAwAAAlfsAAACJWiAAAN6WAD//+pRAIAPgnqAgATDTICAASefpIAAKg0AgABUkwD//9E3gIACAQEA///Hy4CAAALPAIABiLtBgABzYwD//8LIgAAdCxrhAAP7RIA=
Date: Fri, 24 Mar 2017 12:46:36 +0000
Message-ID: <D4FA8CF2.A3F37%acee@cisco.com>
References: <CABCOCHSacn15vfo8MR0K-UJJo6E0AZ14Gwj3M43KYkgbtwK8Kg@mail.gmail.com> <005101d2975f$ae87ac20$0b970460$@ndzh.com> <017d01d29769$0df70b20$29e52160$@gmail.com> <010701d29771$a45f66e0$ed1e34a0$@ndzh.com> <026601d2977f$8d059600$a710c200$@gmail.com> <685B9088-7557-4C6E-9A8F-54C3208DB312@juniper.net> <7217bc23-0e1e-c250-929d-e18c3f0a800f@cisco.com> <07b601d2a197$9865d5b0$c9318110$@gmail.com> <02ee01d2a22b$295b2be0$4001a8c0@gateway.2wire.net> <BA52FB19-D4B9-4E1A-BFE5-7CCE6F5554B1@juniper.net> <20170321174358.GA36769@elstar.local> <65E2B5E1-A1D0-45C1-94E8-F10A35042295@juniper.net> <FF00B7D1-0418-49C5-93AF-59D837354879@gmail.com> <4A73C3C3-61F3-4988-B163-264B29EE1BA0@juniper.net> <445D4A52-0EC8-4AAD-ABC4-22CAC3B3169A@juniper.net> <03a101d2a3fd$35353ae0$4001a8c0@gateway.2wire.net> <C429E3CA-891F-4EEF-B96C-B85EE0F64FC4@juniper.net> <D4F9AB80.A3DFF%acee@cisco.com> <02d601d2a48c$82a82500$4001a8c0@gateway.2wire.net>
In-Reply-To: <02d601d2a48c$82a82500$4001a8c0@gateway.2wire.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.196]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <948CD18346CB86499F737956008548C0@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/DA7gRcJ4nTFbb-C8FaMkj9Lgjgw>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Mar 2017 12:46:40 -0000

Hi Tom, 

On 3/24/17, 6:24 AM, "t.petch" <ietfa@btconnect.com> wrote:

>Acee
>
>Changing the title and switching to rtgwg! and inserting after <tp>
>
>Tom Petch
>
>----- Original Message -----
>From: "Acee Lindem (acee)" <acee@cisco.com>
>Sent: Thursday, March 23, 2017 9:01 PM
>
>
>Hi Kent, Tom, et al,
>
>On 3/23/17, 4:40 PM, "Kent Watsen" <kwatsen@juniper.net> wrote:
>
>>Hi Tom,
>>
>>> Sorry about mixing up keystore and keychain - I did download the
>>> updated draft last week but failed to find it when I was drafting
>>> my post. However, while I know the English semantics of store and
>>> chain, I do find it more difficult to attach different semantics
>>> to keystore and key-chain, and I do find the Abstracts of the two
>>> I-Ds rather similar which leaves me uncertain about the scope of
>>> the work in Netconf.
>>
>>understood.
>>
>>> When the proposed charter says
>>> "  1. Finalize the YANG data module for a system-level keystore
>>>       mechanism, that can be used to hold onto asymmetric private
>>>       keys and certificates that are trusted by the system
>>>       advertising support for this module."
>>>
>>> I am still uncertain.
>>
>>understood.
>>
>>> You are saying symmetric keys may come in future but should this
>>> be part of the charter now? I am divided on this.
>>
>>I'm also divided on it, but it is the case that we had passwords
>>(read "symmetric keys")
>
>I wouldn¹t equate a password with a symmetric key.
>
>>in the previous version of the keystore
>>draft and, the reason that they're not there now is because we
>>moved the passwords to the ietf-ssh-client module in the current
>>version of the draft...a decision that I consider to be "under
>>review" and to be discussed in Chicago.
>>
>>> You are saying you are unsure about system-level but what is it
>>> then, not that I have ever realised what is meant by system-level
>>> (unless it means not just for routers, but then the Abstract of
>>> key-chain, for the first five sentences, sounds like a system-wide
>>> model with sentence six only saying it is commonly used for routing
>>> protocols, it does not say it is not also for system-wide use!).
>>>
>>> I would then avoid system-level, since I do not understand it:-(
>>
>>I agree, for the reasons you mentioned, hence why I've resisted
>>putting "system" into the draft's or the module's name.  Admittedly,
>>the draft's abstract/intro currently say "system", which should
>>probably be removed.
>>
>>> "Generic keystore mechanism" perhaps.
>>
>>Perhaps, or just "keystore" with some more words around its
>>common uses, kind of like how Acee's key-chain draft says that
>>it's commonly used in routing protocols.
>>
>>> I note that the charter does say 'asymmetric' which I think needs
>>> saying and also adding to the I-D; and I do think that the Netconf
>>> I-D should recognise the existence of other I-Ds relating to the
>>> storage of  keys, although that detail is not a matter for the
>>> charter.
>>
>>The draft currently says "private keys", which a veiled reference
>>to asymmetric keys.  It certainly can say this more overtly.
>>
>>The draft used to have some words regarding the key-chain draft,
>>but Acee didn't think such sections were useful and so I took it
>>out in the most recent version.  If we add something back in now,
>>it would be along the lines of how the key-chain module is
>>specialized for a narrow purpose, while the keystore module is
>>useful in several contexts.
>
>That would be fine. I have added ³applications using symmetric keys² to
>the Abstract and Introduction of the key-chain draft. While one could
>conceivably use key-chains for other purposes, I fully believe there are
>much more straight-forward ways to model keys and/or other security
>objects required for these usages. I don¹t see key-chains ever evolving
>to
>more than exactly as the Abstract describes them:
>
>   This document describes the key chain YANG data model.  A key chain
>   is a list of elements each containing a key string, send lifetime,
>   accept lifetime, and algorithm (authentication or encryption).  By
>   properly overlapping the send and accept lifetimes of multiple key
>   chain elements, key strings and algorithms may be gracefully updated.
>   By representing them in a YANG data model, key distribution can be
>   automated.  Key chains are commonly used for routing protocol
>   authentication and other applications requiring symmetric keys.  In
>   some applications, the protocols do not use the key chain element key
>   directly, but rather a key derivation function is used to derive a
>   short-lived key from the key chain element key (e.g., the Master Keys
>   used in the TCP Authentication Option(TCP-AO)).
>
><tp>
>
>Yes, I like all key references to say either symmetric key or asymmetric
>key, such as 'the private key of an asymmetric key pair' a comment which
>I will make on the Netconf list for the Netconf I-D.
>
>For the rtgwg I-D, I would like you to reorder the Abstract to make its
>applicability clearer for the casual reader, to whit,
>
>NEW
> This document describes the key chain YANG data model.
> Key chains are commonly used for routing protocol
>   authentication and other applications requiring symmetric keys.
>A key chain
>   is a list of elements each containing a key string, send lifetime,
>   accept lifetime, and algorithm (authentication or encryption).  By
>   properly overlapping the send and accept lifetimes of multiple key
>   chain elements, key strings and algorithms may be gracefully updated.
>   By representing them in a YANG data model, key distribution can be
>   automated.
>In
>   some applications, the protocols do not use the key chain element key
>   directly, but rather a key derivation function is used to derive a
>   short-lived key from the key chain element key (e.g., the Master Keys
>   used in the TCP Authentication Option(TCP-AO)).

Thanks Tom - I agree that this is a better clearer organization of the
Abstract and Introduction. This will be in the update I post next week.

Thanks,
Acee 



>
>as I have implied on the Netconf list, the current layout has me reading
>the first five sentences and thinking that this is an all-embracing key
>related model, then I get to sentence six and think, well, I am confused
>now.  Putting that sentence about routing protocols earlier would leave
>me less confused.
>
>Tom Petch
>The only augmentations I¹d envision would be additional algorithms and
>potentially other key attributes. Of course, one can never fully predict
>the future.
>
>Thanks,
>Acee
>
>
>
>>
>>
>>Kent
>>
>>
>