Skip to content

“crit” label is permitted in unprotected headers #80

@tjade273

Description

@tjade273

Per the COSE spec,

When present, this parameter MUST be placed in the protected header bucket.

Currently, messages with HeaderLabelCritical in UnprotectedHeaders are marshaled and unmarshaled without error. The implementation should validate that the value is found only in the Protected headers.

  • From Trail of Bits audit report

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions