Re: [netconf] crypto-types fallback strategy

Kent Watsen <kent+ietf@watsen.net> Mon, 16 September 2019 17:04 UTC

Return-Path: <0100016d3b08795d-2e86aef5-b98a-4a15-b8b2-c11cd0d417de-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 25597120867 for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2019 10:04:42 -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 AE0nqEWQ_Doo for <netconf@ietfa.amsl.com>; Mon, 16 Sep 2019 10:04:37 -0700 (PDT)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BCEE7120145 for <netconf@ietf.org>; Mon, 16 Sep 2019 10:04:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1568653474; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=dWxpPVgVRT6i2w2D5LWbk2b7ie10MsZrGe1GqVoSrV0=; b=X3S242U2aBA5aMq+CosURkxThmK0Vzz0Nm0yc4+Uty4Xpt5Gjc4J186AXpjzfja5 X8dbwhI6V7y5FcSUO50ayV3eMG2U8GvkhN5AkqF8j7JZL861vQarcDr178GETlGzyD0 +AnOuD+XJEovhJkjS/icOEyH5ie1T7ud3MgzOvbA=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016d3b08795d-2e86aef5-b98a-4a15-b8b2-c11cd0d417de-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E71470E8-EC57-4958-989B-23AD5F1B4AB6"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 16 Sep 2019 17:04:34 +0000
In-Reply-To: <20190913140505.2ivwf34byefaafli@anna.jacobs.jacobs-university.de>
Cc: "Salz, Rich" <rsalz@akamai.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>, Russ Housley <housley@vigilsec.com>, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>, Sean Turner <sean@sn3rd.com>
To: Juergen Schoenwaelder <J.Schoenwaelder@jacobs-university.de>
References: <0100016d21ee2101-fb4f3288-1975-4a7d-a499-cb42ff8d9e14-000000@email.amazonses.com> <MN2PR11MB4366AE6CF9E03B15EBEA3A39B5B30@MN2PR11MB4366.namprd11.prod.outlook.com> <D6740042-7CD9-466F-911A-BA4339042B5D@akamai.com> <20190913140505.2ivwf34byefaafli@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.09.16-54.240.8.83
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/z_J9G3xy6FQ85NAa_yX8IiVkWHs>
Subject: Re: [netconf] crypto-types fallback strategy
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: Mon, 16 Sep 2019 17:04:42 -0000

Hi Juergen,

> Perhaps it is best to not look too much behind the curtain and just
> talk about using existing names, avoiding to dive into details what
> these names really are and where they come from. Perhaps we need to
> move to a more opaque type that can hold names of crypto algorithms
> and we point to well-known names (i.e., defined in some IANA
> registries) that apply to certain protocol contexts.

I use thinking that we'd use numbers only, or more precisely, the ASN.1 OID structure.   An OID's common "name" value is only "needed" for presentation; though it makes using `genarate-asymmetric-key" and `generate-symmetric-key` more complicated, as both actions need to take an "algorithm" parameter.

Kent // co -author