Commit 7dd9eed
committed
empty TPM key-provider id for stable launch measurement
The TPM app-root public key is derived from a per-instance sealed seed, so
measuring it as key-provider id made mr_system/mr_aggregated instance-bound
and unusable as a precomputed allowlist identity. Emit and report an empty
id for key_provider=tpm (mode remains in the event name / kind); KMS and
local provider ids are unchanged.1 parent 29e3563 commit 7dd9eed
4 files changed
Lines changed: 43 additions & 10 deletions
File tree
- docs/security
- dstack
- dstack-types/src
- dstack-util/src
- system_setup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1390 | 1390 | | |
1391 | 1391 | | |
1392 | 1392 | | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1393 | 1401 | | |
1394 | 1402 | | |
1395 | 1403 | | |
1396 | 1404 | | |
1397 | | - | |
| 1405 | + | |
1398 | 1406 | | |
1399 | 1407 | | |
1400 | 1408 | | |
| |||
1412 | 1420 | | |
1413 | 1421 | | |
1414 | 1422 | | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
1415 | 1448 | | |
1416 | 1449 | | |
1417 | 1450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1901 | 1901 | | |
1902 | 1902 | | |
1903 | 1903 | | |
| 1904 | + | |
| 1905 | + | |
1904 | 1906 | | |
1905 | 1907 | | |
1906 | | - | |
1907 | | - | |
| 1908 | + | |
| 1909 | + | |
1908 | 1910 | | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | | - | |
1913 | | - | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments