Re: [Anima] [Rats] cose+cbor vs cwt in MIME types

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 23 March 2023 18:44 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EB29C15C281; Thu, 23 Mar 2023 11:44:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.396
X-Spam-Level:
X-Spam-Status: No, score=-4.396 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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=sandelman.ca
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 7NXQI8tjvj3u; Thu, 23 Mar 2023 11:44:06 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (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 4094FC1526E9; Thu, 23 Mar 2023 11:44:04 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8DD1838993; Thu, 23 Mar 2023 15:17:11 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Q_iaf_SPUNlJ; Thu, 23 Mar 2023 15:17:11 -0400 (EDT)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id DBD4138991; Thu, 23 Mar 2023 15:17:10 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1679599030; bh=AnF8ivz1DF9vi6BCsDrJEu0Mf1qDjyjBu2IGavrvaJk=; h=From:To:Subject:In-Reply-To:References:Date:From; b=YqOsT8GcWgDl7qwvJW+KoAP2yuFlE6HsGqP6NeLeF66XeV7phegDwCwWP9MlYDkSV sl1/B4pTSFgQoqBx6JtL4b/5kQaMXPUpPh/A+a/Q9puyT73jMTQpXpy/DOTAHE7xVF 5fqRzrO0yeEwWZYET5JUrAyG5fGw6SzLlMaRoDDWbWQy9F/9i30jnb8Vf+4aF923QL 6VgmRG3uZa4Vxri2tI1pqp6ILnpyv01bmXYHBpLAYO5+SLdOF/C52VNLwhARTn2vVG oREPMGVh9AI1V6YEpYxe9tVvkBDSGsM4a6v1kZiIz0fNpAp3jHXhs8S/D6AvXrrFNM lXINQxD9KSOVg==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 883D02CC; Thu, 23 Mar 2023 14:44:02 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Thomas Fossati <Thomas.Fossati@arm.com>, Thomas Fossati <tho.ietf@gmail.com>, "cose@ietf.org" <cose@ietf.org>, "rats@ietf.org" <rats@ietf.org>, "anima@ietf.org" <anima@ietf.org>
In-Reply-To: <DB9PR08MB6524A6A7E5AABD96BBA34C8A9C879@DB9PR08MB6524.eurprd08.prod.outlook.com>
References: <167847004893.23876.9884501000866697896@ietfa.amsl.com> <DB9PR08MB6524E8F83E7149AD95B6CDB89CBA9@DB9PR08MB6524.eurprd08.prod.outlook.com> <2313611.1678640027@dyas> <DB9PR08MB6524D3E44EBF11BB83F8F9069CB99@DB9PR08MB6524.eurprd08.prod.outlook.com> <2380614.1678721850@dyas> <CAObGJnPjijJ61B_WvujcbunwW7aPA7c-CY4goPDX+yohR_kHOw@mail.gmail.com> <DB9PR08MB6524A6A7E5AABD96BBA34C8A9C879@DB9PR08MB6524.eurprd08.prod.outlook.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 23 Mar 2023 14:44:02 -0400
Message-ID: <14833.1679597042@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/86GOqSuipdOw26Eb5ap4nKNL0q0>
Subject: Re: [Anima] [Rats] cose+cbor vs cwt in MIME types
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Mar 2023 18:44:11 -0000

COSE CHAIRS: can we have 5 minutes for this discussion?
     I guess I can make two slides tomorrow and get Thomas to co-author them.


Thomas Fossati <Thomas.Fossati@arm.com> wrote:
    > On 13/03/2023, 18:10, "Thomas Fossati" tho.ietf@gmail.com<mailto:tho.ietf@gmail.com> wrote:
    >>
    >> On Mon, Mar 13, 2023 at 5:49 PM Michael Richardson
    >> mcr+ietf@sandelman.ca<mailto:mcr+ietf@sandelman.ca> wrote:
    >> > Thomas Fossati Thomas.Fossati@arm.com<mailto:Thomas.Fossati@arm.com> wrote:
    >> >     > I have commented on your respective issue trackers.
    >> >
    >> > I saw, but I think that this requires some cross-WG discussion and consensus,
    >> > and I think that the COSE WG should tell us what to do.
    >>
    >> Sure, thank you for bringing COSE in the loop.

    > I just realised this needed some follow-up from my side.

    > What MCR is talking about is the eat-media-type [1] draft we are doing
    > in RATS.  The document requests registration of the +cwt structured
    > syntax suffix (see Section 6.1).

    > The idea is to use +cwt to indicate that the media type is encoded as a
    > CWT, symmetric to +jwt.

    > In our case we'd be using it in composition with application/eat to
    > differentiate between the JWT and CWT serialisations of EAT.

    > COSE is the natural stakeholders for this, so if you could have a look
    > and see if we are doing the right thing it'd be awesome.

And, if ANIMA should also be using +CWT for what is now RFC8366bis
(and used to be in the constrained-voucher document), or if our use of
application/voucher-cose+cbor is wrong.

(DAMN. It's not in rfc8366bis yet. It should be)


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide