Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions specs/unified_kernel_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ header to 0x0A (i.e. `IMAGE_SUBSYSTEM_EFI_APPLICATION`).
## UKI Components
UKIs consist of the following resources:

<!--
NOTE: these components are in canonical order for predictable PCR measurements.
Please add any new components at the bottom of the list and NEVER reorder anything in this list.
Comment thread
keszybz marked this conversation as resolved.
-->
* An UEFI boot stub that forms the initial program.
It contains various PE sections normally required for a program,
including `.text`, `.reloc`, `.data`, and others.
Expand All @@ -64,6 +68,10 @@ UKIs consist of the following resources:
* Optionally, a JSON file encoding expected PCR 11 hash values seen from userspace once the UKI has booted up, along with signatures of these expected PCR 11 hash values, in the `.pcrsig` section. The signatures must also match the key pair described below.
* Optionally, the public part of a public-private key pair in PEM format used to sign the expected PCR 11 value of the image, in the `.pcrpkey` section.

This list specifies the canonical order of sections.
Items will not be reordered and new sections will be added at the end only.
This is required for predicatable PCR measurements.

Note that all of the sections defined above are singletons:
they may appear at most once,
except for the `.dtbauto` section which may appear multiple times.
Expand Down
Loading