Skip to content

Wording section "Referenced token in COSE" #308

@atezet

Description

@atezet

While working on an implementation of the latest draft, I was confused about how to include a referenced token in ISO mdoc. The section starts of with:

The Referenced Token MAY be encoded as a "COSE Web Token (CWT)" object ...

First of all, this must be a typo CBOR Web Token (see https://www.rfc-editor.org/rfc/rfc8392). But then, after showing an example of a CWT, it seamlessly transitions into a description of how to include the status parameter in the MSO:

ISO mdoc may utilize the Status List mechanism by introducing the status parameter in the Mobile Security Object (MSO) as specified in Section 9.1.2. The status parameter uses the same encoding as a CWT as defined in Section 6.3.

Here, there is no Section 9.1.2 in this draft, but it also says the CWT encoding is used. However, what follows is an example of an IssuerAuth with a status field not using the CWT encoding just described.

For now, I went with what the last example shows, as ISO mdoc doesn't use CWT encoding (to my knowledge). I feel like these should either be two (sub)sections, or the first part (describing the CWT encoding) is not needed at all.

Please let me know if anything I wrote is unclear.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions