Skip to content

Commit

Permalink
secboot --> oemboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Lundblade committed Nov 25, 2022
1 parent 002b980 commit a55bb1e
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion cddl/CDDL-FRAGS.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COMMON_CDDL_FRAGS += hardware-version.cddl
COMMON_CDDL_FRAGS += hardware-model.cddl
COMMON_CDDL_FRAGS += software-name.cddl
COMMON_CDDL_FRAGS += software-version.cddl
COMMON_CDDL_FRAGS += secure-boot.cddl
COMMON_CDDL_FRAGS += oem-boot.cddl
COMMON_CDDL_FRAGS += debug-status.cddl
COMMON_CDDL_FRAGS += location.cddl
COMMON_CDDL_FRAGS += uptime.cddl
Expand Down
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/minimal.diag
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
/ eat_nonce / 10: h'948f8860d13a463e8e',
/ secboot / 262: true
/ oemboot / 262: true
}
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/simple.diag
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/ ueid / 256: h'0198f50a4ff6c05861c8860d13a638ea',
/ oemid / 258: h'88124e',
/ hwmodel / 259: h'881cf5f243fbef3336bbd22547dddefc',
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 3, / permanent-disable /
/ timestamp (iat) / 6: 1526542894
}
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/submods.diag
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
/ eat_nonce / 10: h'948f8860d13a463e8e',
/ ueid / 256: h'0198f50a4ff6c05861c8860d13a638ea',
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 3, / permanent-disable /
/ timestamp (iat) / 6: 1526542894,
/ submods / 266: {
Expand Down
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/valid_hw_block.diag
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/ eat_nonce / 10: h'948f8860d13a463e',
/ ueid / 256: h'0198f50a4ff6c05861c8860d13a638ea',
/ oemid / 258: 64242, / Private Enterprise Number /
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 3, / disabled-permanently /
/ hwversion / 260: [ "3.1", 1 ] / Type is multipartnumeric /
}
Expand Down
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/valid_hw_block2.diag
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/ eat_nonce / 10: h'948f8860d13a463e',
/ ueid / 256: h'0198f50a4ff6c05861c8860d13a638ea',
/ oemid / 258: 64242, / Private Enterprise Number /
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 3, / disabled-permanently /
/ hwversion / 260: [ "3.1", 1 ], / multipartnumeric /
/ submods/ 266: {
Expand Down
4 changes: 2 additions & 2 deletions cddl/Example-Payloads/valid_iot.diag
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

{
/ eat_nonce / 10: h'948f8860d13a463e',
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 2, / disabled-since-boot /
/ oemid / 258: h'8945ad', / IEEE CID based /
/ ueid / 256: h'0198f50a4ff6c05861c8860d13a638ea',
/ submods / 266: {
"OS" : {
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 2, / disabled-since-boot /
/ measurements / 274: [
[
Expand Down
4 changes: 2 additions & 2 deletions cddl/Example-Payloads/valid_key_store.diag
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

{
/ eat_nonce / 10: h'948f8860d13a463e',
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 2, / disabled-since-boot /
/ manifests / 273: [
[ 121, / CoAP Content ID. A /
Expand Down Expand Up @@ -55,7 +55,7 @@
/ submods / 266 : {
"HLOS" : { / submod for high-level OS /
/ eat_nonce / 10: h'948f8860d13a463e',
/ secboot / 262: true,
/ oemboot / 262: true,
/ manifests / 273: [
[ 121, / CoAP Content ID. A /
/ made up one until one /
Expand Down
4 changes: 2 additions & 2 deletions cddl/Example-Payloads/valid_results.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"eat_nonce": "jkd8KL-8=Qlzg4",
"secboot": true,
"oemboot": true,
"dbgstat": "disabled-since-boot",
"oemid": "iUWt",
"ueid": "AZj1Ck_2wFhhyIYNE6Y4",
Expand All @@ -19,4 +19,4 @@
]
]
]
}
}
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/valid_submods.diag
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/ hwversion / 260: ["1.3.4", 1], / Multipartnumeric /
/ swname / 271: "Acme OS",
/ swversion / 272: ["3.5.5", 1],
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 3, / permanent-disable /
/ timestamp (iat) / 6: 1526542894,
/ submods / 266: {
Expand Down
2 changes: 1 addition & 1 deletion cddl/Example-Payloads/valid_tee.diag
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
/ eat_nonce / 10: h'948f8860d13a463e',
/ secboot / 262: true,
/ oemboot / 262: true,
/ dbgstat / 263: 2, / disabled-since-boot /
/ manifests / 273: [
[
Expand Down
2 changes: 1 addition & 1 deletion cddl/claim-labels.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sueids-label = JC< "sueids", 257 >
oemid-label = JC< "oemid", 258 >
hardware-model-label = JC< "hwmodel", 259 >
hardware-version-label = JC< "hwversion", 260 >
secure-boot-label = JC< "secboot", 262 >
oem-boot-label = JC< "oemboot", 262 >
debug-status-label = JC< "dbgstat", 263 >
location-label = JC< "location", 264 >
profile-label = JC< "eat_profile",265 >
Expand Down
1 change: 1 addition & 0 deletions cddl/oem-boot.cddl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$$Claims-Set-Claims //= (oem-boot-label => bool)
1 change: 0 additions & 1 deletion cddl/secure-boot.cddl

This file was deleted.

17 changes: 10 additions & 7 deletions draft-ietf-rats-eat.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,18 +732,18 @@ A full CoSWID manifest or other type of manifest can be instead if this is too s
~~~~


### secboot (Secure Boot) Claim
### oemboot (OEM Authorized Boot) Claim

A "secboot" claim with value of true indicates secure boot is enabled. Secure boot is
considered enabled when the firmware and operating
system, are under control of the manufacturer of the entity identified in the
"oemid" claim described in {{oemid}}.
Control by the manufacturer of the firmware and the operating system may be by it being in ROM, being cryptographically authenticated, a combination of the two or similar.
An "oemboot" claim with value of true indicates the entity booted with software authorized by the manufacturer of the entity as indicated by the "oemid" claim described in {{oemid}}.
It indicates the firmware and operating system are fully under control of the OEM and may not be replaced by the end user or even the enterprise that owns the device.
The means of control may be by cryptographic authentication of the software, by the software being in ROM, a combination of the two or other.
If this claim is present the "oemid" claim SHOULD always also be present.

~~~~CDDL
{::include nc-cddl/secure-boot.cddl}
{::include nc-cddl/oem-boot.cddl}
~~~~


### dbgstat (Debug Status) Claim

The "dbgstat" claim applies to entity-wide or submodule-wide debug facilities of the
Expand Down Expand Up @@ -2526,6 +2526,9 @@ differences. A comprehensive history is available via the IETF Datatracker's rec
- General edits to the submodules section
- Change the way detached digests are identified in JSON-encoded tokens

## From draft-ietf-rats-eat-17
- Rename secboot to oemboot and describe it as OEM Authorized Boot

--- contributor

Many thanks to the following contributors to draft versions of this
Expand Down

0 comments on commit a55bb1e

Please sign in to comment.