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

Michael Richardson <mcr@sandelman.ca> Thu, 21 July 2022 13:38 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D9E1C14CF16 for <rats@ietfa.amsl.com>; Thu, 21 Jul 2022 06:38:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 TCYELdERmGT9 for <rats@ietfa.amsl.com>; Thu, 21 Jul 2022 06:38:21 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [176.58.120.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 2BCD5C14CF1D for <rats@ietf.org>; Thu, 21 Jul 2022 06:38:20 -0700 (PDT)
Received: from dooku.sandelman.ca (unknown [129.6.14.8]) by relay.sandelman.ca (Postfix) with ESMTPS id 0137E1F459 for <rats@ietf.org>; Thu, 21 Jul 2022 13:38:17 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id D58781A0383; Thu, 21 Jul 2022 09:38:15 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: "rats@ietf.org" <rats@ietf.org>
In-reply-to: <8a66792b-34f2-9aea-53e6-e280a9132e21@gmail.com>
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> <0e86ea83-8e16-30b8-e433-1ba9a4b1b0fc@gmail.com> <1663483.1658345550@dooku> <b059426f-9deb-3476-e683-ac7d8e0233e7@gmail.com> <CAObGJnPxQ2W=rfZHbXv6_A1BQn7vQbeE-CBiTB-EbiG2mP94hQ@mail.gmail.com> <8a66792b-34f2-9aea-53e6-e280a9132e21@gmail.com>
Comments: In-reply-to Anders Rundgren <anders.rundgren.net@gmail.com> message dated "Thu, 21 Jul 2022 10:11:28 +0200."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 21 Jul 2022 09:38:15 -0400
Message-ID: <1733505.1658410695@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/F0mbIKAh7csvBFyz1G5REVNXnAo>
Subject: Re: [Rats] I-D: draft-rundgren-cote-00
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Jul 2022 13:38:25 -0000

Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
    > In this case my assumption is that the overarching goal is providing an
    > object typing mechanism permitting a common receiver dispatching the
    > handling of received objects to different processors depending on their
    > type.

I think that in 90% of the situations, the processor expects a very limited
number of types, often only one.

    > In RATS it appears that you are currently dealing with not less than
    > three different typing systems (media types, CBOR tags, profile URLs)
    > which (in my simple mind...) feels slightly over the top.

media-types, encoded by Content-Formats over CoAP apply to data in transit.
CBOR tags (whether via file-magic, or just alone) go with the data at rest.

I'm not sure where I'd situate profile URLs.
It just seems like lazy coding by people used to online software where you'd
better have the latest code, or you are screwed.

To me, they only make sense if there is active code at the URL that can make
sense of the content.
While I can imagine such a thing for something detailed, complex and never
standardized, it's hard for me to make up a reasonable example.
(Maybe there is a sufficiently rich declarative data description rather than
active code, but then that data description is itself a well known content)

If as you said in another thread, the software to intrepret the complex data
is already locally installed, then it must also be sufficiently well defined
that a trip through IANA isn't a problem.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [