Re: [urn] URI Scheme with Complex Equality Rules

"Randy Armstrong (OPC)" <randy.armstrong@opcfoundation.org> Fri, 26 August 2022 14:18 UTC

Return-Path: <randy.armstrong@opcfoundation.org>
X-Original-To: urn@ietfa.amsl.com
Delivered-To: urn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A506C14F74C for <urn@ietfa.amsl.com>; Fri, 26 Aug 2022 07:18:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=opcfoundation.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kAkAkuYxQ6bg for <urn@ietfa.amsl.com>; Fri, 26 Aug 2022 07:18:34 -0700 (PDT)
Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2066.outbound.protection.outlook.com [40.107.102.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 886A4C14F73A for <urn@ietf.org>; Fri, 26 Aug 2022 07:18:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ckd3WKfdIUCCNlRKo/XZcb8hQzBd8mmptd1tYxArW4WJVvC9vBUUhUgyehxmoTbELhZoMgtKRtyR7WozAj8p8anSTqiApV247GXiggdgqpU9r4eml7KZSQCyLRu0rsH+ezP2tshgWL2Z9Oe2DpnUuVfaz0cIL7L3Bn9QHR2ZWV4mG/MBf5oCvZpnAoiqiUWmAiGuur1RJS7QbdgoII7qR0J2tbotpUhqEzvMW0p+cWc2gU+oaXSGXDZQZEoRGtot5xtB2zZP+wy5GClL6bjGgmJYnDB1xUJ9c7tb+eRiT5fAQ/fHVJ/ifAcbZUace7SNMH8tEh9Bsp3CWdGw0Nw3mg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=c0BMjH+GRosvwrG4kd4bxvjMQ2MKqyk2pr/yXMp2Usk=; b=k8G7RUVdYZ0YVcqkXO2cHK7xThJaae9s/6Mx6OFhlJo0WC87Po3f3+bU2tl4nCjX3Pgr+TRlhG0BWkwRe2GRQFTB2syzIq2YAu5E9OFnsvRQGrhyMREbBdKAYPCmcdKBvDYTLDjN6cnyVMKF1uAYI09v87EF8i7eluqwGgzEIrXOJ35sLVa1Eg+jhS8t+2WAyflMJIxmgkEV3ijnsRMU/Xg5Idp0uUzqw/vK7oV3lRbYTlqfahxBRmVOdt42BBe4aNIa6mSWhRFJTkvTucqGiTG0QEW2ACpMrJjJSao8Xi8rDLzwEy7qPvZSHuBuekzPuo0VsWpazQbQjYMYhhovdg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=opcfoundation.org; dmarc=pass action=none header.from=opcfoundation.org; dkim=pass header.d=opcfoundation.org; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opcfoundation.org; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c0BMjH+GRosvwrG4kd4bxvjMQ2MKqyk2pr/yXMp2Usk=; b=W/5KMA1hFU0xm5ipIQGo721zPOkW26WIitHY1urtxgWtfYKwDS2hVrgJhuB51sioRgB5+IE+9ttGjhtmHySq8HYMpFCuVywX8dIkRIJrcrbN/+P6580SiI8JTTp2hlDxFC/v2wY9eLysli0btkFuG4mgjeJkfTwQk7TahKGd0bU=
Received: from SJ0PR08MB8288.namprd08.prod.outlook.com (2603:10b6:a03:41a::13) by SJ0PR08MB7652.namprd08.prod.outlook.com (2603:10b6:a03:3f8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15; Fri, 26 Aug 2022 14:18:30 +0000
Received: from SJ0PR08MB8288.namprd08.prod.outlook.com ([fe80::adf3:8a85:fb5:b4e9]) by SJ0PR08MB8288.namprd08.prod.outlook.com ([fe80::adf3:8a85:fb5:b4e9%4]) with mapi id 15.20.5566.016; Fri, 26 Aug 2022 14:18:30 +0000
From: "Randy Armstrong (OPC)" <randy.armstrong@opcfoundation.org>
To: Ted Hardie <ted.ietf@gmail.com>
CC: "urn@ietf.org" <urn@ietf.org>
Thread-Topic: [urn] URI Scheme with Complex Equality Rules
Thread-Index: Adi5RdKLri+3/KgdR52SF5RvnPpLsgABvvsAAAAPmyA=
Date: Fri, 26 Aug 2022 14:18:30 +0000
Message-ID: <SJ0PR08MB82881C9645C9F215BBB5CB03FA759@SJ0PR08MB8288.namprd08.prod.outlook.com>
References: <SJ0PR08MB8288507205BE2CD811F5D19BFA759@SJ0PR08MB8288.namprd08.prod.outlook.com> <CA+9kkMBbeHRn+pQEO4v90d0ifCaxEZW7FU2QRUtgD8oiuD0JKg@mail.gmail.com>
In-Reply-To: <CA+9kkMBbeHRn+pQEO4v90d0ifCaxEZW7FU2QRUtgD8oiuD0JKg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=opcfoundation.org;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b14db4c3-1003-410b-8f8c-08da876dda0b
x-ms-traffictypediagnostic: SJ0PR08MB7652:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9xnwMwBM2WD0zfkSWWx/JSgb9ODeaTMRn4d93ZHqjnUZpYjSQoY/h9Ivuz+QN5nKwSi5ZB58GdXiFPHPE36ejBONX5pfecmMlSeREQwGwZmVvcjH8XmJUwJe2sea7WIIlb5vcKK5nsca38Irvr8aFdeavWbdvdwQodi0nC2zw4kXfs6KEa7BrJckM/SuJ5PEiV+fYiMjh5+ExlWB5Jd0zWXc8My56A04g36mzFUF3DpI9YrbHWFzIQFmOMMPS3eZzzjUip2BJZDAa4/K0RnimpSUIV8tRi/rFafowolmVxHBfOJ0eYfI4j62qNs9J/UMSWcGLVlJGKIC9bRThyZQ08QCeTVgLNzWgcB/bwR2471/+d+iucpmQeUNZmHOiVmTVHVtqJ92bwv3pOc7i37WGxwJ7LrJPpUZXT7saQqYb9izSr/cXMyN3CBPmXACqDAg3YFlpYDhliotH0uFNSAOnBWF83oEkyk7ze7CSmzRoFYmN7fnaguWRo3SvHYVpDSyT7p1dWGbPcEjXXfy8llx9613E+DJcMN+9mPpHbWfAz284t8145vTPSiKXCu3FbJQc77BZyE18ijwRac2rmpY/IsM4RaXNRpfzScb/pPktM0IvwqkaG9VbAnnpcT/zvYplANSRphBgPBRpXqzmAfaCrRim+OWjcGlB7XW7subo/uXxkl6syUgHLSnD1Xw3s6MUaW9G87sXlwpvvgaCfdW1MiW1YuCKOJRBbswUQh5B2X+PKyxidCA97Tot26hInLVDJ1csug6DbBk5eS7hYFrwBOS6J+232eF/1NsKjLe/Ew=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR08MB8288.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(39840400004)(136003)(396003)(366004)(346002)(376002)(71200400001)(478600001)(55016003)(966005)(9326002)(122000001)(6506007)(7696005)(76116006)(8676002)(64756008)(66946007)(4326008)(66446008)(66556008)(66476007)(316002)(41300700001)(8936002)(52536014)(6916009)(5660300002)(83380400001)(9686003)(33656002)(53546011)(2906002)(186003)(66574015)(38100700002)(38070700005)(86362001)(166002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: DxzIQ9UWXiFEH5wnuswFHUI28s0H7KOSe7L7i1eRvxvIzftib8/TKjKOhNhgwXztPHQU8ViA55JdTDt/pIeN6tifrKa+NcXiOUGm4QSSS/spLYK45dXFM2ep2YQ0POx4I2X6yfMdJd6Bch3g6B5grIphH/L7gJHFhMy2lB8PcLWpuvbX2D8wIQpUrMugr9PQCYSF5pdvjnoWQ4pr3gFQScXcxbDyCBGm884bp6xaD0Vm69ntmH6eG8bcoZ0gakKiDHaQqDwCPR8FQFHffhLvKzBTI3Td4VEFfO324kgpVvVc4LZf5x4pR3X+Ic6tNhCL0cgTQC+G2BcybmXC3MJ6pbp+dn1lTSUGptuMdZ/G7P5g0ojW2Lfn31ZwWwBSaH8k78wbMB/+4iqXPiSbJyJ+lrIgtwr2xZCccVzBLywdRDLKOW7Rl21XxNZAF+Z96K95CNc70lBrewzPXmKq2b2FG5Gv0yj2wXnSASJN+mF5SMFTggTzgdjwVxhVyK/fOyRjIMySdi2qQ74UWHGqt/wF67MNJ9V4OEqa9CFGHaT92hojmlbGu8a3/KvdLaZp30qTBZOGSXPmUp6FykqSGBp1ix7dDRTHWq5opBcs6zde1BIXZjcRK5ZcKoTdPmH03bToAD/urY+5QqM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FA759SJ0PR08MB8288namp_"
MIME-Version: 1.0
X-OriginatorOrg: opcfoundation.org
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR08MB8288.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b14db4c3-1003-410b-8f8c-08da876dda0b
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2022 14:18:30.5253 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2d8ef4e4-d41c-489c-8004-bb99304b60fe
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: boz0AKYTzDY/U/N1QgQf7eL/QLS0952Cz0Iv9d7bOA680IwEGc2sCuYnfoypLqiBxdD76ZrnpTR+f401s9vii7KhMpYYipbHGvZL4QDzs3+sRsVMNXkfimv7a5Y5nJX0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR08MB7652
Archived-At: <https://mailarchive.ietf.org/arch/msg/urn/fCwWpgnXiAFx70lLeOvvnQcN5hM>
Subject: Re: [urn] URI Scheme with Complex Equality Rules
X-BeenThere: urn@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Revisions to URN RFCs <urn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/urn>, <mailto:urn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/urn/>
List-Post: <mailto:urn@ietf.org>
List-Help: <mailto:urn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/urn>, <mailto:urn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2022 14:18:38 -0000

Hi Ted,

Thanks for the reply.
I was thinking of a URI scheme instead of a URN NID, however,  it appears URI scheme requires that we create RFC which is a much more cumbersome process.

The OPC Foundation is author/maintainer of IEC 62541 and we are trying to fix the incorrect URN usage in the spec today.
The identifiers are used in the subjectAltName of X509 Certificates and uniquely identify the application that the Certificate is assigned to.

The uniqueness of our identifiers is within the scope of the system so an IP address can be system unique and static.
We specifically do not want to use ‘http’ because people tend to assume they are valid URLs with backing websites.

Regards,

Randy

From: Ted Hardie <ted.ietf@gmail.com>
Sent: Friday, August 26, 2022 10:08 PM
To: Randy Armstrong (OPC) <randy.armstrong@opcfoundation.org>
Cc: urn@ietf.org
Subject: Re: [urn] URI Scheme with Complex Equality Rules

Hi Randy,

Based on a skim of your use case, I can't yet see why minting a URI scheme would not work.

opcid://authority/parameters

The authority here would be the DNS name or IP address, and the definition of the scheme could establish that you wanted case insensitive matching for the parameters (where the context would be stored).  Is there something in IEC 62541 that would make this approach unviable? I admit that  I did not spend any francs to get it, so I don't have examples of what the context might look like, so if you have examples you can share, that would be useful.

Note that while URNs are guaranteed to be unique across the lifetime of an identifier, your scheme doesn't seem likely to want that, as it is relying on the DNS and IP address assignment, neither of which guarantees that property.

regards,

Ted


On Fri, Aug 26, 2022 at 1:47 PM Randy Armstrong (OPC) <randy.armstrong@opcfoundation.org<mailto:randy.armstrong@opcfoundation.org>> wrote:
I am sending this issue to this email as per the suggestion in RFC 8141.

The OPC Foundation (https://opcfoundation.org) has a need to uniquely identify OPC UA (IEC 62541) network resources but we do not want the complexity that comes with the various URN schemes.

Specifically we need:


  1.  Equality checks with case-insensitive string comparisons;
  2.  Human readable strings with uniqueness provided by a DNS name or IP address (always lower case).
  3.  A valid URI.
  4.  R/Q/F components not allowed.

We have been using urns of the form: urn:<dnsname>:<additional context>, however, this is not technically allowed by the URN RFC.
We do not want a syntax that needs to be parsed before any comparison can be done.

We could submit a request for our own nid but we don’t really have any syntax requirements other than the dns name and the case-insensitive string comparisons.

What is the best way forward?

Regards,

Randy Armstrong
OPC Foundation





_______________________________________________
urn mailing list
urn@ietf.org<mailto:urn@ietf.org>
https://www.ietf.org/mailman/listinfo/urn