Re: [abnf-discuss] [urn] Informal NID registration interest

Carsten Bormann <cabo@tzi.org> Tue, 30 March 2021 14:14 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9D063A15C4 for <abnf-discuss@ietfa.amsl.com>; Tue, 30 Mar 2021 07:14:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 OO60uzLC8Q6D for <abnf-discuss@ietfa.amsl.com>; Tue, 30 Mar 2021 07:14:40 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA92E3A15C1 for <abnf-discuss@ietf.org>; Tue, 30 Mar 2021 07:14:39 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F8rzx3fcNzyhk; Tue, 30 Mar 2021 16:14:37 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <63D60ED7-CB73-46E1-937A-56CD3F99C35E@ericsson.com>
Date: Tue, 30 Mar 2021 16:14:37 +0200
Cc: "abnf-discuss@ietf.org" <abnf-discuss@ietf.org>, "kate@aerobatt.com" <kate@aerobatt.com>
X-Mao-Original-Outgoing-Id: 638806477.010065-6bacfd65c9061bba1c82d93568dc1b9b
Content-Transfer-Encoding: quoted-printable
Message-Id: <F9E7EA70-C10D-4DD0-9753-D339B3C3B7FE@tzi.org>
References: <63D60ED7-CB73-46E1-937A-56CD3F99C35E@ericsson.com>
To: Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/6LPhgBa6y_zKQGXxwWJkg6c1Ldc>
Subject: Re: [abnf-discuss] [urn] Informal NID registration interest
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussion about tools, activities and capabilities involving the ABNF meta-language" <abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/abnf-discuss/>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 14:14:45 -0000

On 2021-03-30, at 15:48, Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org> wrote:
> 
>   NSS                = %s"urn:" NID ":" TenantId "@" TenantVersion ":"
>                         IssuerId "@" IssuerVersion ":" Purpose "@"
>                         PurposeVersion "/" ResourceId "@" ResourceKeyVersion

RFC 3986 URI schemes are somewhat reluctantly case-insensitive (see section 3.1 [1]), so the %s is good for generating URNs, but not for checking URNs.

>    NID                = "urn" - DIGIT

Can’t parse — was the “-”  meant to be a literal?

>    TenantId           = 3*(label)

This is pretty weird, so you want at least three loalphas in that ID?

>    label              = loalpha / loalpha *(alphanum / "-") alphanum


I stopped here; further review might be easier with some examples and some rationale.

Grüße, Carsten


[1]: https://www.rfc-editor.org/rfc/rfc3986.html#section-3.1