Re: [core] CRI Extension for multiple schemes

Carsten Bormann <cabo@tzi.org> Wed, 17 June 2020 21:00 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 981923A0C70 for <core@ietfa.amsl.com>; Wed, 17 Jun 2020 14:00:22 -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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 l28cQe0a9Ba9 for <core@ietfa.amsl.com>; Wed, 17 Jun 2020 14:00:20 -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 1E3023A0C71 for <core@ietf.org>; Wed, 17 Jun 2020 14:00:19 -0700 (PDT)
Received: from [172.16.42.112] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (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 49nHX134ZnzyTb; Wed, 17 Jun 2020 23:00:17 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20200617203816.GA2643779@hephaistos.amsuess.com>
Date: Wed, 17 Jun 2020 23:00:16 +0200
Cc: Jim Schaad <ietf@augustcellars.com>, core@ietf.org
X-Mao-Original-Outgoing-Id: 614120416.767845-be49bfe25e3a395839b2c775c6a7080c
Content-Transfer-Encoding: quoted-printable
Message-Id: <B7597E17-9BF6-4C32-8917-B1561DD952F2@tzi.org>
References: <002f01d641a7$26c44870$744cd950$@augustcellars.com> <20200617203816.GA2643779@hephaistos.amsuess.com>
To: Christian Amsüss <christian@amsuess.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/AoxvWVkAmQHMD95QbTTu-kC3NdI>
Subject: Re: [core] CRI Extension for multiple schemes
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Jun 2020 21:00:32 -0000

On 2020-06-17, at 22:38, Christian Amsüss <christian@amsuess.com> wrote:
> 
> Having a shortcut in CRIs sounds tempting, but I dread the
> translatability to the rest of the web ecosystem where those are
> unavailable, and the need to deal with aliased URIs in general.

Right.

So the question really is:

If we do our own URI variant, do we go all the way and exploit the benefits of having our own variant, even as a superset of URIs, or do we remain stuck with the URIs as they have been for a quarter century?

I’m maybe a bit more on the audacious side here, as long as we can keep the subset of CRIs that maps 1:1 to URIs large enough.  Apart from transport (really: plumbing) hints in URIs, we have always missed security hints (beyond the coaps bit) there.  I think if we could solve this problem, the divergence from URIs might be worth it — that is much less certain just for the plumbing.

The way these security hints could look like is of course way out in research land; if we want to explore this, we should have an extensible base architecture for CRIs and layer on that.

On the plumbing side, I think we already have seen that we need to associate at least a port number with a transport alternative, so we would not just enumerate URI schemes.

In the end, this could solve the aliasing issue as well, albeit only on the CRI side.

Grüße, Carsten