/
valid_key_store.diag
76 lines (71 loc) · 3.92 KB
/
valid_key_store.diag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/ This is an attestation of a public key and the key store /
/ implementation that protects and manages it. The key store /
/ implementation is in a security-oriented execution /
/ environment separate from the high-level OS, for example a /
/ TEE. The key store is the Attester. /
/ /
/ There is some attestation of the high-level OS, just version /
/ and boot & debug status. It is a Claims-Set submodule because/
/ it has lower security level than the key store. The key /
/ store's implementation has access to info about the HLOS, so /
/ it is able to include it. /
/ /
/ A key and an indication of the user authentication given to /
/ allow access to the key is given. The labels for these are /
/ in the private space since this is just a hypothetical /
/ example, not part of a standard protocol. /
/ /
/ This is similar to Android Key Attestation. /
601({
/ nonce / 10: h'948f8860d13a463e',
/ security-level / 261: 3, / secure-restricted /
/ secure-boot / 262: true,
/ debug-status / 263: 2, / disabled-since-boot /
/ manifests / 273: [
h'da53574944a600683762623334383766
0c000169436172626f6e6974650d6331
2e320e0102a2181f75496e6475737472
69616c204175746f6d6174696f6e1821
02'
/ Above is an encoded CoSWID /
/ with the following data /
/ SW Name: "Carbonite" /
/ SW Vers: "1.2" /
/ SW Creator: /
/ "Industrial Automation" /
],
/ expiration / 4: 1634324274, / 2021-10-15T18:57:54Z /
/ creation time / 6: 1634317080, / 2021-10-15T16:58:00Z /
-80000 : "fingerprint",
-80001 : { / The key -- A COSE_Key /
/ kty / 1: 2, / EC2, eliptic curve with x & y /
/ kid / 2: h'36675c206f96236c3f51f54637b94ced',
/ curve / -1: 2, / curve is P-256 /
/ x-coord / -2: h'65eda5a12577c2bae829437fe338701a
10aaa375e1bb5b5de108de439c08551d',
/ y-coord / -3: h'1e52ed75701163f7f9e40ddf9f341b3d
c9ba860af7e0ca7ca7e9eecd0084d19c'
},
/ submods / 266 : {
"HLOS" : { / submod for high-level OS /
/ nonce / 10: h'948f8860d13a463e',
/ security-level / 261: 1, / unrestricted /
/ secure-boot / 262: true,
/ manifests / 273: [
h'da53574944a600687337
6537346b78380c000168
44726f6964204f530d65
52322e44320e0302a218
1F75496E647573747269
616c204175746f6d6174
696f6e182102'
/ Above is an encoded CoSWID /
/ with the following data: /
/ SW Name: "Droid OS" /
/ SW Vers: "R2.D2" /
/ SW Creator: /
/ "Industrial Automation"/
]
}
}
})