cose-wg / cose-spec

CBOR version of the JOSE specifications
14 stars 12 forks source link

Eliminate COSE_MSG by defining CBOR tags for the elements #17

Closed jimsch closed 9 years ago

jimsch commented 9 years ago

Carsten has suggested that we could eliminate the need for the COSE_MSG structure if we were to get tags assigned from CBOR for these structures.

Should this be done?

jimsch commented 9 years ago

a) CBOR Tag - either general or specific to each type b) Required Identifier c) Use the same techniques as JOSE

There was no support for option C. There was support for Option B There was some support for Option A, but only if it was optional.

Mike Jones suggested that we should use the header parameter 'typ', I responded to this message saying that it was not clear that this was a correct use of the field based on the description in the JWS document. At this point I will keep the field as mandatory and outside of the headers field.

I am planning on doing the IANA request for a CBOR Tag and to keep the tag as being optional in the grammar and text.

jimsch commented 9 years ago

Closed in Pull request #36