Skip to content

JSON encoding of version-scheme #47

@thomas-fossati

Description

@thomas-fossati

When encoding to JSON, we serialise coswid.$version-scheme as a string (see: https://github.com/veraison/swid/blob/main/versionscheme.go#L40-L56).

This was done with the good intention of providing something human-readable, but it is an arbitrary choice and, most importantly, it’s incompatible with use in EAT (e.g., in the sw-version claim, which is also used by the measured component).

For more context, see: veraison/eat#37 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions