Re: [Cbor] I-D: draft-rundgren-cote-00

Anders Rundgren <anders.rundgren.net@gmail.com> Wed, 20 July 2022 04:22 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2644CC13485A; Tue, 19 Jul 2022 21:22:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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 (2048-bit key) header.d=gmail.com
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 Mlnop_IvKDHK; Tue, 19 Jul 2022 21:22:20 -0700 (PDT)
Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D3BFC157B55; Tue, 19 Jul 2022 21:22:20 -0700 (PDT)
Received: by mail-wr1-x42e.google.com with SMTP id bu1so24369052wrb.9; Tue, 19 Jul 2022 21:22:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=yOdtYvqtTD9JkhjDH68lAeikTFMNGYySGayBevP9sx8=; b=e+3FWI2uMYtDwzWnoVPR6fYr2wguhU73UOUF/AGeEY2JvsWoe+7VYnPfO+mbhVF2lL 5POkV+HF2UlsOICNKTuXQklcWWRyE7OEONUVaxlI32ry8cPfiI86tt19tpa4xclxq96E 6yLWkWKxkXJ19TDvrh/5kBBUniv0bnQSFb4zwd8qiDDKy8NP5W+JAk+oI5fXsKUzEVuU XNH48lZSXKT+lmota3aAF4KgTyNeVy9ny+/J2c4ndgKuHxePaFI16G7uJRalz0CMAEpz Cr07uqyh2hIQtqgwxPDd7JUg8fwLjRZN2sC+dmZsc+9SJaVRz/5HhcthH8eiWcfnRRYj INuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yOdtYvqtTD9JkhjDH68lAeikTFMNGYySGayBevP9sx8=; b=Zs1yuV7HiJx3g17A/22tit+GrURA63z+81NaFeAmS/bnqugsBiIgy+D7obl3tk+GaZ jGnBVHJO2X8eH0cNalffE38hCb7SRUTPlVWbxl13ofGtLh0TQUcLScjWlUHZ1kQ/2U3m pgWZB8Sy2yWjhmRcpX2wtGOe48rb1X+/qMBARi+4YDL/NBuD3yDUv2eQpPUckmkwk1mM b+HZ0DHWtSuG051u2gIYJMUhrgqNHQGCz+GGAq1CWEZcre1dftA69+ve9tP0KvtbB6uN qQYn/FKSNpS3oUYWdcvpcF99iwEsEWicn/bjwtFymclKiy8MJpvQ2OlF796y6EVokFrD WmCw==
X-Gm-Message-State: AJIora+Q7SCIZm/hUoo5ZdTFJkgmejqitbu/JgVGLWz9nWVOPv5AP5FO 1C86CsKfuiPd9e/WtvGesVkvCtIaRDg=
X-Google-Smtp-Source: AGRyM1ueEKZurCNu4IUwHNSWa2B8r6ebrX/kqHxJWltcNqDuw5ZmM9m6G15/EIRIDAIRzKgkpVVSXQ==
X-Received: by 2002:a05:6000:1acd:b0:21d:78be:8b63 with SMTP id i13-20020a0560001acd00b0021d78be8b63mr28985264wry.398.1658290938201; Tue, 19 Jul 2022 21:22:18 -0700 (PDT)
Received: from ?IPV6:2a01:e34:ec4e:5670:4905:c6a3:607e:5f01? ([2a01:e34:ec4e:5670:4905:c6a3:607e:5f01]) by smtp.googlemail.com with ESMTPSA id n7-20020a5d6607000000b0021b9504cc83sm14793611wru.31.2022.07.19.21.22.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Jul 2022 21:22:17 -0700 (PDT)
Message-ID: <0e86ea83-8e16-30b8-e433-1ba9a4b1b0fc@gmail.com>
Date: Wed, 20 Jul 2022 06:22:17 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: Carsten Bormann <cabo@tzi.org>, Joe Hildebrand <hildjj@cursive.net>
Cc: Christian Amsüss <christian@amsuess.com>, "rats@ietf.org" <rats@ietf.org>, cbor@ietf.org
References: <ce8a6fd8-001e-32bb-2145-03cda63e9366@gmail.com> <Yta3IrJymgGkCj46@hephaistos.amsuess.com> <4B455A6A-76EA-42A5-B70E-F3671C47E25D@tzi.org> <7D9E2594-06E0-47F0-B67D-23602F981FD4@cursive.net> <FDD10E92-AD59-464B-9FD4-4745D95F150A@tzi.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <FDD10E92-AD59-464B-9FD4-4745D95F150A@tzi.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JScJTrJ3oiFHQK_Jqf52WM1N2es>
Subject: Re: [Cbor] I-D: draft-rundgren-cote-00
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Jul 2022 04:22:24 -0000

On 2022-07-19 22:07, Carsten Bormann wrote:
> On 2022-07-19, at 18:20, Joe Hildebrand <hildjj@cursive.net> wrote:
>>
>> tag: URIs from RFC 4151 seem like they're a pretty good fit for this sort of thing.
> 
> Great recommendation.

If we stick to usability which is the #1 criterion for most people, it doesn't really matter what kind of identifier you use since you in 99.99% of all cases anyway depend on a dereferenceable (browsable) URL in order to gather information about the identifier [*].

That domains sometimes disappear is true but hardly something we can do much about.

Fortunately, the advent of public repositories supporting any number of sub-domains like GitHub, make URLs quite handy performing "dual service" which is the main target for COTE.

As an example https://fido-web-pay.github.io/ will in its next iteration use a browsable COTE identifier from this name space.

Cheers,
Anders

*] The CBOR WG already have URL dependency issues in IANA.cbor-tags: how long will http://cbor.schmorp.de/perl-object live? Since it doesn't open using https, it is probably not overly maintained either.

> 
>> Easy to mint, date included in case the domain changes hands, can't be resolved by mistake, and easy enough to reason about by inspection.
> 
> Which is why we actually use them in the example in core-problem-details [1].
> 
>>   Example from the RFC:
>>
>> tag:yaml.org,2002:int
> 
> Our example [1] is:
> 
>    "tag:3gpp.org,2022-03:TS29112": {...
> 
> (The example is set in a 3GPP context, and this fictional structure is relating to 3GPP TS29112; complete with warning that they really should register an identifier for this.)
> 
> Grüße, Carsten
> 
> [1]: https://www.ietf.org/archive/id/draft-ietf-core-problem-details-08.html#fig-example-custom-with-uri
>