The eat package provides a golang API for manipulating Entity Attestation
Tokens defined in
RFC 9711.
See eat.go for more detail.
| claim | CBOR key id | Supported? |
|---|---|---|
| eat_nonce | 10 | ✅ |
| ueid | 256 | ✅ |
| sueids | 257 | ❌ |
| oemid | 258 | oemid-pem (int) is not supported |
| hwmodel | 259 | ✅ |
| hwversion | 260 | ✅ |
| uptime | 261 | ✅ |
| oemboot | 262 | ✅ |
| dbgstat | 263 | ✅ |
| location | 264 | ✅ |
| eat_profile | 265 | ✅ |
| submods | 266 | ✅ |
| bootcount | 267 | ✅ |
| bootseed | 268 | ✅ |
| dloas | 269 | ❌ |
| swname | 270 | ✅ |
| swversion | 271 | ✅ |
| manifests | 272 | |
| measurements | 273 | |
| measres | 274 | ❌ |
| intuse | 275 | ❌ |
See cwt.go for more detail.
| claim | CBOR key id | Supported? |
|---|---|---|
| iss | 1 | ✅ |
| sub | 2 | ✅ |
| aud | 3 | ✅ |
| exp | 4 | ✅ |
| nbf | 5 | ✅ |
| iat | 6 | ✅ |
| cti | 7 | |
| cnf | 8 |
RFC 9711 defines extensible Manifests and Measurements.
The measured_component.go experimentally provides encoding/decoding feature for EAT Measured Component (v05).
The untagged-coswid encoder/decoder is provided by veraison/swid.
| coap-conent-type | id | Supported? |
|---|---|---|
application/swid+cbor (untagged-coswid) |
258 | ✅ |
application/measured-component+cbor |
TBD1 in draft-ietf-rats-eat-measured-component | ✅ e.g. cbor.Unmarshal(measurement.Format, &mc) |
application/measured-component+json |
TBD2 in draft-ietf-rats-eat-measured-component | ✅ e.g. json.Unmarshal(measurement.Format, &mc) |