ietf-rats-wg / draft-ietf-rats-msg-wrap

RATS conceptual messages wrapper
Other
0 stars 1 forks source link

Carl's in depth review #15

Closed thomas-fossati closed 9 months ago

thomas-fossati commented 1 year ago

See https://mailarchive.ietf.org/arch/msg/rats/Bmlxnu0GmnRMsP6WEq3CBjLVm0k/

thomas-fossati commented 1 year ago

Below are some suggestions/questions regarding the RATS Conceptual Messages Wrapper draft (draft-ftbs-rats-msg-wrap-00).

Abstract

While the mechanism is generic -- at least in part, now that we added the CM indicator to the array serialisation -- we want to keep the scope limited to RATS messages.

This encap is intended for tunnelling RATS messages in protocols that don't use media types as first class type identifiers themselves. The relation of this spec with the EAT media type I-D is one of "consumer": if EAT MT has a type that is good for the message, we can use it.

Section 1

In #22, I hope I have explained a bit better the basic reason for providing a single encap, and what registrations we are amortising.

Section 3.1

To improve readability this has now been separated into its own section.

Section 3.2

Done in #23

This is stated in §3.2: "[...] encoded as a CBOR byte string, to which the tag is prepended."

Section 4

Agreed; we have added the CBOR "pretty" output to the examples.

Done in #23

We have now used a brand new CDDL feature ("non-literal CBOR tag numbers") in §3.2 to do that in a generic way.

thomas-fossati commented 1 year ago

hi Carl, we think we addressed all your points. See https://thomas-fossati.github.io/draft-ftbs-rats-msg-wrap/draft-ftbs-rats-msg-wrap.html

Could you please check when you have some spare time?

/cc @carl-wallace

carl-wallace commented 1 year ago

Yep. Thanks. A few nits/comments:

thomas-fossati commented 1 year ago

Yep. Thanks.

Cool, thanks for checking (and for the further comments).

A few nits/comments: [...]

done in https://github.com/thomas-fossati/draft-ftbs-rats-msg-wrap/pull/30

thomas-fossati commented 9 months ago

Carl's original review was addressed in #22 and #23.

The follow-up re-review (https://github.com/thomas-fossati/draft-ftbs-rats-msg-wrap/issues/15#issuecomment-1516870623) has been addressed in #30