Commit 321eeb1
committed
efi/preinstall: Update PCRProfileOptionsFlags
This updates PCRProfileOptionsFlags, such that:
- There are now individual options to include each PCR if not already
included (PCRProfileOptionLockTo*).
- PCRProfileOptionsMostSecure includes all of the new
PCRProfileOptionLockTo* options.
- PCRProfileOptionTrustCAsForAddonDrivers and
PCRProfileOptionTrustCAsForBootCode have been renamed to
- PCRProfileOptionTrustSecureBootAuthoritiesForAddonDrivers and
PCRProfileOptionTrustSecureBootAuthoritiesForBootCode. They can only
be used if the active CAs are not recognized. They can't be used to
omit PCRs 2 or 4 from the profile if the CA is recognized and explicitly
distrusted, so that users can't use these options to create insecure
profiles.
- PCRProfileOptionDistrustVARSuppliedNonHostCode is gone because it is
superceded by PCRProfileOptionLockToDriversAndApps.
Fixes: FR-121501 parent fcc9a2a commit 321eeb1
File tree
5 files changed
+606
-539
lines changed- cmd/test_efi_fde_compat
- efi/preinstall
5 files changed
+606
-539
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
| 103 | + | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1344 | 1350 | | |
1345 | 1351 | | |
1346 | 1352 | | |
| |||
1395 | 1401 | | |
1396 | 1402 | | |
1397 | 1403 | | |
1398 | | - | |
| 1404 | + | |
1399 | 1405 | | |
1400 | 1406 | | |
1401 | 1407 | | |
| |||
1419 | 1425 | | |
1420 | 1426 | | |
1421 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
1422 | 1434 | | |
1423 | 1435 | | |
1424 | 1436 | | |
| |||
1473 | 1485 | | |
1474 | 1486 | | |
1475 | 1487 | | |
1476 | | - | |
| 1488 | + | |
1477 | 1489 | | |
1478 | 1490 | | |
1479 | 1491 | | |
| |||
2102 | 2114 | | |
2103 | 2115 | | |
2104 | 2116 | | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2105 | 2123 | | |
2106 | 2124 | | |
2107 | 2125 | | |
| |||
2161 | 2179 | | |
2162 | 2180 | | |
2163 | 2181 | | |
2164 | | - | |
| 2182 | + | |
2165 | 2183 | | |
2166 | 2184 | | |
2167 | 2185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments