Hi, As for the questions mentioned on these slides:
1. "Is is '-cose+cbor' or '-cbor+cose' The registry https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml lists the subtypes that one have after the '+' sign. 'cbor' is there but 'cose' is not. 'cwt' is also not there. So for the moment, registering a 'mytype+cose' or 'voucher+cose' or 'voucher-cbor+cose' is not possible now unless you would also register the '+cose' as a subtype. RFC 9052 did not choose to register the subtype '+cose', for whatever reason. Luckily because COSE is just "plain CBOR" itself , we can use the subtype '+cbor'. So having "voucher-cose+cbor" would be fine. Also "voucher+cbor" would be equally ok albeit a little bit less informative that it contains COSE. 2. "are they sufficiently different" (this is about application/voucher-cose+cbor and application/eat+cwt formats) The voucher is not a CWT format, e.g. it does not use the standardized CWT claims at all. It defines an own format within the constraints of YANG CBOR, while CWT does not use any YANG semantics. (Now converting the constrained Voucher format into a CWT based format would certainly be possible; but that's probably not the discussion intended by these slides.) Regards Esko PS more detailed info at https://github.com/anima-wg/constrained-voucher/issues/264 https://github.com/anima-wg/constrained-voucher/issues/263 -----Original Message----- From: Anima <[email protected]> On Behalf Of Michael Richardson Sent: Monday, March 27, 2023 01:19 To: Thomas Fossati <[email protected]>; Thomas Fossati <[email protected]>; [email protected]; [email protected]; [email protected] Subject: Re: [Anima] [Rats] cose+cbor vs cwt in MIME types Michael Richardson <[email protected]> wrote: > 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. I guess we didn't get any time at COSE. https://github.com/anima-wg/voucher/blob/main/presentations/ietf116-cose-mime-cwt.pdf _______________________________________________ Anima mailing list [email protected] https://www.ietf.org/mailman/listinfo/anima _______________________________________________ Anima mailing list [email protected] https://www.ietf.org/mailman/listinfo/anima
