Re: [netconf] ietf crypto types - permanently hidden

Kent Watsen <kent@watsen.net> Tue, 04 June 2019 16:24 UTC

Return-Path: <0100016b234ea8bc-090dd50a-90ef-43ad-b58c-a57b477210c9-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 8E97712004A for <netconf@ietfa.amsl.com>; Tue, 4 Jun 2019 09:24:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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 p3rtSxS8P8Ir for <netconf@ietfa.amsl.com>; Tue, 4 Jun 2019 09:24:56 -0700 (PDT)
Received: from a8-32.smtp-out.amazonses.com (a8-32.smtp-out.amazonses.com [54.240.8.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 470981200DE for <netconf@ietf.org>; Tue, 4 Jun 2019 09:24:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1559665486; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=VcAZhAmnGcKI65PU+MLUffk4HcNE4RtlKWBoaREVGMY=; b=SiL7DaDWIrfZMsQndDrZsgLc95LhOS8YRaAHbyv0Dueun1NMgSLIX5h3Kq4Jqx+w ZP7L1K7qSIb64PNmAXAPqAfU6OefMiaXq0laMZLYabJhuWSAR5TTLYs8cr5DD3KhR+Z JKtkzvei/iC0BknyneJenftgMQhXg/kFfCsAYE4o=
From: Kent Watsen <kent@watsen.net>
Message-ID: <0100016b234ea8bc-090dd50a-90ef-43ad-b58c-a57b477210c9-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_DFF4ED94-BC0C-4919-9094-8734505699E9"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Tue, 04 Jun 2019 16:24:46 +0000
In-Reply-To: <20190530144715.ypon36hh62mhbk3f@anna.jacobs.jacobs-university.de>
Cc: "netconf@ietf.org" <netconf@ietf.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <0100016a7e7a9e54-d4987061-96d8-49f3-a2bf-36b98851b3a3-000000@email.amazonses.com> <0100016a7e822689-e6fdbdbe-ba84-43e1-aefe-47196fe692e3-000000@email.amazonses.com> <e6930b6e52a642bda9f1bd76731ce9c3@XCH-RCD-007.cisco.com> <20190507.141926.1879619200930898148.mbj@tail-f.com> <0100016a942528d9-f65afd2a-2cc7-451d-93d8-788495f6a13a-000000@email.amazonses.com> <20190508054622.rz64qmxdhbx53x4g@anna.jacobs.jacobs-university.de> <0100016aa7b06b97-15f7703f-58b7-40a9-8afe-a54dd2b809e2-000000@email.amazonses.com> <0100016aeb7ee1aa-93dbb2f2-f4ff-432f-9a26-a10abb96b03b-000000@email.amazonses.com> <VI1PR07MB4735A8741475AB48FC53FACD83180@VI1PR07MB4735.eurprd07.prod.outlook.com> <0100016b09177be4-ad12ed9f-ddc5-4c13-9470-39b2768513cb-000000@email.amazonses.com> <20190530144715.ypon36hh62mhbk3f@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.06.04-54.240.8.32
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/4ODtCOyfoeJsy4Jq90-XvSbLgaQ>
Subject: Re: [netconf] ietf crypto types - permanently hidden
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, 04 Jun 2019 16:24:59 -0000

Hi Juergen,

> Some comments:
> 
> - Not sure what security best practice is and where it is defined.

https://mailarchive.ietf.org/arch/msg/netconf/duOgrXt6P-WwO-Vdole9SsxS2vg <https://mailarchive.ietf.org/arch/msg/netconf/duOgrXt6P-WwO-Vdole9SsxS2vg>

>  Creating the key on the device has the benefit that the key may
>  never have to leave the device but it also requires that I can trust
>  the device to create good keys. (People recall the glitch that led
>  to weak openssh keys on many Linux systems? And given todays world,
>  which devices should I trust to generate strong keys?) I might
>  decide that creating keys with known software I am willing to trust
>  is far better than trusting a key generator shipped by a random
>  device manufacturer.

Yes, and I've said the same here as well.  Both options should be supported.

> - Side effects are bad and should be avoided. If something requires an
>  rpc/action, make it an rpc/action.
> 
> - If you create something, give it a name; once things are named (or
>  have other unique properties), config can then refer to these named
>  objects. A create key operation might simply return a fingerprint
>  for the key as the key's name.

I'm unsure how to apply this beyond what has been discussed.


Kent