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

Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 21 July 2022 16:29 UTC

Return-Path: <anders.rundgren.net@gmail.com>
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 8581BC14CF04 for <rats@ietfa.amsl.com>; Thu, 21 Jul 2022 09:29:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 45TAAmygA79o for <rats@ietfa.amsl.com>; Thu, 21 Jul 2022 09:29:28 -0700 (PDT)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 70447C157B40 for <rats@ietf.org>; Thu, 21 Jul 2022 09:29:28 -0700 (PDT)
Received: by mail-wr1-x42d.google.com with SMTP id k11so2568760wrx.5 for <rats@ietf.org>; Thu, 21 Jul 2022 09:29:28 -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 :references:from:in-reply-to:content-transfer-encoding; bh=NXBIey5vKGprD6n19cO6qt7HW68n824CBNCASUbrHxg=; b=gnP0eKllibLd/pG3wyCIFEbXHIsiJBdMdVMKrUa7AsHYcoVBfYOtKvHrcwZicOGZyj 65z0Ww8v2+IpjIHxURf4s5dgSppM3gAmv41lHb0BPrHnrBxMG55W390yG9U1ZvmcCb+J sJa4MRzLDsElliTpqBgUtoHjO7haHvLRwvL+L9bCfpGXaedmsDmVMc+PnL3ygf0y94Xj a3xcziYR0KipNKiY2K87tzt7/yI4w2LnKsETVSUVBkdrGKzvAC5YZ2xcRNx9j5t+lSuJ pwXyML14S90tESwsghVsWBYamtd37P76GlLyl79N8ZZEA47PXIFWRv9UIedEdDRAThPz pQ3Q==
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:references:from:in-reply-to :content-transfer-encoding; bh=NXBIey5vKGprD6n19cO6qt7HW68n824CBNCASUbrHxg=; b=aiQ0ZV4ckueVNnoXksM9pJbUdrrFBvQw3eR+KHqWZHXnnS/reypTdFEkMEk4w+3pLE VA7ellwrtyX5D6FipZ1Ks/SYPmzOHmxoNdaL0BV5aTEYTbYuo6XyrlH9Q4CSPNAN6KZy EotEeyXR35HwJ+pz4K2HYLdyq8IWXYY4u8ZjArjg4dIPiNih8whqDlvR4RpYXylne5Cf 9hdJqSEpM8ghovuNDJlLPyrD0c8yZQsHgTK77Z8K/lJVRrYo6OUPyAkKPkMj2Jqz+IHq kAtSJO/3HNX2jVRbp5BDD3ySZK43BYNpghvRDaOMe3CwfESbnfG9pdMkhs+DQvpibmf/ JPJA==
X-Gm-Message-State: AJIora9aRzyi9tn83aoeEROwfT1TsnpAOQX8jLlPg3FD6jUkDqZzg2dE xgLqlJuvOr4B57FwGes8P3FGcJxZqh8=
X-Google-Smtp-Source: AGRyM1t9VcWCJl0zyOpZ6AiJkwssjyZ1bUZyT6DM6Mgz3igtnwrXs3Twn4edBkAboMNEnCtp40UvxA==
X-Received: by 2002:a05:6000:91:b0:21d:77d5:c73a with SMTP id m17-20020a056000009100b0021d77d5c73amr36264958wrx.406.1658420966858; Thu, 21 Jul 2022 09:29:26 -0700 (PDT)
Received: from ?IPV6:2a01:e34:ec4e:5670:9d5b:596e:f8c0:4077? ([2a01:e34:ec4e:5670:9d5b:596e:f8c0:4077]) by smtp.googlemail.com with ESMTPSA id z17-20020adff751000000b0021d6e14a9ccsm2443773wrp.16.2022.07.21.09.29.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jul 2022 09:29:26 -0700 (PDT)
Message-ID: <7fb07e44-87e4-bc82-8743-52f071ec073f@gmail.com>
Date: Thu, 21 Jul 2022 18:29:24 +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: Michael Richardson <mcr@sandelman.ca>, "rats@ietf.org" <rats@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> <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> <1733505.1658410695@dooku>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <1733505.1658410695@dooku>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/al9qEq5XVO2CCzU3fBYVdXFhwrA>
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 16:29:32 -0000

On 2022-07-21 15:38, Michael Richardson wrote:
> 
> 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.

I don't doubt that.


> 
>      > 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.

This is the thing I don't fully understand the point with and even less how these two methods relate to each other.

Although I have very limited insights in CoAP systems, I wouldn't be too surprised if it turns out that many servers actually ignore content types.

Note that this is independent of which object-integral type-scheme is used.  That's another discussion :)

Cheers,
Anders


> 
> 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    [
> 
> 
> _______________________________________________
> RATS mailing list
> RATS@ietf.org
> https://www.ietf.org/mailman/listinfo/rats