What version of the package are you using?
Does this issue reproduce with the latest release?
Yes
Issue
The Veraison sevsnp scheme scheme expects the following media types:
|
EvidenceMediaTypeTSMCbor = "application/vnd.veraison.tsm-report+cbor" |
|
EvidenceMediaTypeTSMJson = "application/vnd.veraison.configfs-tsm+json" |
While ratsd uses those two types both with cbor and json encoding in different places:
In the IANA registry there is only:
Is there a reason for application/vnd.veraison.configfs-tsm to exist or can we standardize Veraison and ratsd on vnd.veraison.tsm-report?
What version of the package are you using?
Does this issue reproduce with the latest release?
Yes
Issue
The Veraison sevsnp scheme scheme expects the following media types:
services/scheme/sevsnp/scheme.go
Lines 10 to 11 in c46900d
While ratsd uses those two types both with cbor and json encoding in different places:
In the IANA registry there is only:
vnd.veraison.tsm-report+cbor: https://www.iana.org/assignments/media-types/application/vnd.veraison.tsm-report+cborvnd.veraison.tsm-report+json: https://www.iana.org/assignments/media-types/application/vnd.veraison.tsm-report+jsonIs there a reason for
application/vnd.veraison.configfs-tsmto exist or can we standardize Veraison and ratsd onvnd.veraison.tsm-report?