Change:
along with the signature itself.  These header parameters may be authenticated by the signature, or just present.  An example of a header parameter about the content is the content type header <del> parameter.  An examples of a header parameter about the signature </del> <ins> parameter.  An example of a header parameter about the signature </ins> would be the algorithm and key used to create the signature. RFC 5652 indicates that:

Discussion:
This PR addresses the remaining comments from Ben Kaduk. NAME do these changes match your expectations?
Ah, that's the one. Will add. I do note that Göran's name is still too "ASCII-ized"; how to include the unicode here is not immediately clear (it's not in an , it's not , etc). I suggest adding an RFC Editor's note about it?
NAME Looking again, there is a CBOR Tags section in this document, at the end of the IANA section instead of the beginning. I think we're good to go, once this is merged. This looks pretty good (some suggestions inline). Comparing against my ballot position (at URL), I don't see anything to match: incorporated still (and the report verified, presuming it is correct). but my recollection is that that one is already incorporated, just into -algs, and I should mark it verified and allocating a codepoint for COSE_Signature). I think we need to bring back a stub section with the directive to update the references from 8152 to this document. which may still be outstanding (I don't remember any other clarifications about that point having gone by).	 authentication check of the contents algorithm" -> "authentication check of the contents" ? How should I read this sentence about AE?  It seems to be copied from 8152, but I kinda feel like the 3rd (last) use of the word "algorithm" could be removed? Table 1, CBOR tag 17: "COSE Mac w/o" -> "COSE MAC w/o" "This is same" -> "This is the same" "That is the counter signature..." -> "That is, the counter signature..." Isn't #6.98 for COSE_Sign_Tagged?  I think the CDDL fragment needs to fixed temporarily to: COSE_CounterSignature_Tagged = #TBD0(COSE_CounterSignature) "of other than direct" -> "if other than direct"? #2: "COSE_MAC" -> "COSE_Mac"? "this new algorithms" -> "these new algorithms" "the key from next layer down" -> "the key from the next layer down" In the interests of brevity, my review focused on the diff between this document and RFC 8152.

I agree with Benjamin's concern that we seem to be leaving the Designated Experts for the IANA registries described here with advice in RFC 8152, which this document renders obsolete.   I think that prose should be copied to this document so that it lives someplace current.  I was originally tempted to DISCUSS this but I'm hesitating, so I'll just say I hope this is resolved appropriately. "... structure for the CBOR objects which are ..." -- s/which/that/ "... or offline protocols, different solutions ..." -- "different" should start a new sentence "Any application which uses COSE for security ..." -- s/which/that/ The last sentence in the first paragraph: "This is same structure ..." -- s/same/the same/ "That is the counter signature ..." -- comma after "is" "... existence of the encrypted data is attested to." -- maybe "asserted" instead of "attested to"? "New algorithms will be created which will not fit ..." -- s/which/that/ In the final bullet, why aren't these MUSTs?  Or in the alternative, when would one legitimately deviate from those SHOULDs? I've only reviewed the diffs, not the historical approved text.  Everything looks okay to me.  A few minor comments/nits: I'm not familiar with the CDDL grammar, and specifically whether there is any tooling that can use the grammar to generate structures/etc.  If there is, then I think that it would be helpful if the CDDL grammar was also normative, in the sense that readers of the spec should be able to assume that the CDDL is correct.  I would still be okay with a statement that says that if there is any ambiguity between the two then the prose description should be taken as being definitive. This sentence was changed from the original formulation, but I find it slightly clunky.  Perhaps: The presence of a label, that is neither a text string nor an integer, in a CBOR map, is an error. Nit, this -> these Thanks for making an easy to read and compare bis document. Thank you for addressing my DISCUSS and COMMENT items around Counter Signatures. Thank you for the work put into this document. I really appreciate the section 1 with the detailed and clear introduction.

My current workload prevented me to do a deep review, I will then rely mainly on the other Area Directors. Mostly just nits left, though the lingering errata report and the IANA updates seem somewhat significant.  (It would probably be fine to leave the nits for the RFC Editor.) It seems that https://www.rfc-editor.org/errata/eid5066 needs to be incorporated still (and the report verified, presuming it is correct). nit: we probably can just start the sentence with "COSE", since the "use in" has moved to later in the sentence. nit: s/A one/One/. nit: s/a a/a/ nit: s/plaintext is encrypted/encrypted plaintext/ (or similar?) nit: s/content encryption key (CEK) is encrypted/encrypted content encryption key (CEK)/. nit: s/An examples/An example/ I guess this is where the difficulty that Jim mentioned comes in -- the signature recovery scheme gives you the intended recovered content but also some of the other framing and such that was added as input to the signature algorithm, and you have to properly figure out where the end of the actual payload is.  (I'm not sure whether it would be useful to try to have text about the issue in this location, though.) nit: this sentence just trails off ....  I think it would be okay to just end the sentence after "is not supported", since we covered the "must recover the same [number of] bytes" previously. nit: s/ re / are / nit: s/issue2/issues/ I see that a bunch of things were changed from COSE_Encrypt to COSE_Recipient, apparently prompted by my earlier review.  I would feel more comfortable if someone confirmed that each change is correct, as I have lost some of the context here. nit: s/guidence/guidance/ We lost the section about the "CBOR Tags" registry (where we were previously allocating a codepoint for COSE_Signature).  I think we need to bring back a stub section with the directive to update the references from 8152 to this document. The references to the COSE registries should not be Normative. Thanks for addressing my issue with the IANA registration rules.
authentication check of the contents algorithm" -> "authentication check of the contents" ?

How should I read this sentence about AE?  It seems to be copied from 8152, but I kinda feel like the 3rd (last) use of the word "algorithm" could be removed? Table 1, CBOR tag 17: "COSE Mac w/o" -> "COSE MAC w/o" "This is same" -> "This is the same" "That is the counter signature..." -> "That is, the counter signature..." Isn't #6.98 for COSE_Sign_Tagged?  I think the CDDL fragment needs to fixed temporarily to: COSE_CounterSignature_Tagged = #TBD0(COSE_CounterSignature) "of other than direct" -> "if other than direct"? #2: "COSE_MAC" -> "COSE_Mac"? "this new algorithms" -> "these new algorithms" "the key from next layer down" -> "the key from the next layer down" In the interests of brevity, my review focused on the diff between this document and RFC 8152. I agree with Benjamin's concern that we seem to be leaving the Designated Experts for the IANA registries described here with advice in RFC 8152, which this document renders obsolete.   I think that prose should be copied to this document so that it lives someplace current.  I was originally tempted to DISCUSS this but I'm hesitating, so I'll just say I hope this is resolved appropriately. "... structure for the CBOR objects which are ..." -- s/which/that/ "... or offline protocols, different solutions ..." -- "different" should start a new sentence "Any application which uses COSE for security ..." -- s/which/that/ The last sentence in the first paragraph: "This is same structure ..." -- s/same/the same/ "That is the counter signature ..." -- comma after "is" "... existence of the encrypted data is attested to." -- maybe "asserted" instead of "attested to"? "New algorithms will be created which will not fit ..." -- s/which/that/ In the final bullet, why aren't these MUSTs?  Or in the alternative, when would one legitimately deviate from those SHOULDs? I've only reviewed the diffs, not the historical approved text.  Everything looks okay to me.

A few minor comments/nits: I'm not familiar with the CDDL grammar, and specifically whether there is any tooling that can use the grammar to generate structures/etc.  If there is, then I think that it would be helpful if the CDDL grammar was also normative, in the sense that readers of the spec should be able to assume that the CDDL is correct.  I would still be okay with a statement that says that if there is any ambiguity between the two then the prose description should be taken as being definitive. This sentence was changed from the original formulation, but I find it slightly clunky.  Perhaps: The presence of a label, that is neither a text string nor an integer, in a CBOR map, is an error. Nit, this -> these Thanks for making an easy to read and compare bis document. Thank you for addressing my DISCUSS and COMMENT items around Counter Signatures. Thank you for the work put into this document. I really appreciate the section 1 with the detailed and clear introduction. My current workload prevented me to do a deep review, I will then rely mainly on the other Area Directors. Mostly just nits left, though the lingering errata report and the IANA updates seem somewhat significant.  (It would probably be fine to leave the nits for the RFC Editor.) It seems that https://www.rfc-editor.org/errata/eid5066 needs to be incorporated still (and the report verified, presuming it is correct). nit: we probably can just start the sentence with "COSE", since the "use in" has moved to later in the sentence. nit: s/A one/One/. nit: s/a a/a/ nit: s/plaintext is encrypted/encrypted plaintext/ (or similar?) nit: s/content encryption key (CEK) is encrypted/encrypted content encryption key (CEK)/. nit: s/An examples/An example/ I guess this is where the difficulty that Jim mentioned comes in -- the signature recovery scheme gives you the intended recovered content but also some of the other framing and such that was added as input to the signature algorithm, and you have to properly figure out where the end of the actual payload is.  (I'm not sure whether it would be useful to try to have text about the issue in this location, though.)

nit: this sentence just trails off ....  I think it would be okay to just end the sentence after "is not supported", since we covered the "must recover the same [number of] bytes" previously. nit: s/ re / are / nit: s/issue2/issues/ I see that a bunch of things were changed from COSE_Encrypt to COSE_Recipient, apparently prompted by my earlier review.  I would feel more comfortable if someone confirmed that each change is correct, as I have lost some of the context here. nit: s/guidence/guidance/ We lost the section about the "CBOR Tags" registry (where we were previously allocating a codepoint for COSE_Signature).  I think we need to bring back a stub section with the directive to update the references from 8152 to this document. The references to the COSE registries should not be Normative. Thanks for addressing my issue with the IANA registration rules.