Skip to content
Open
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
11 changes: 11 additions & 0 deletions specs/linux_tpm_pcr_registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@ In both cases it is important that data measured into the PCRs is carefully chos
<td>n/a</td>
</tr>

<tr>
<td class=number></td>
<td class=systemd><code>systemd-pcrphase-initrd 🚀</code></td>
<td>Userspace</td>
<td>leave-initrd barrier when leaving initrd</td>
<td><code>/run/log/systemd/tpm2-measure.log</code></td>
<td>n/a</td>
</tr>

<tr>
<td class=number><p style="text-align: right"><strong>8</strong></p></td>
<td class=grub><code>grub 🍲</code></td>
Expand Down Expand Up @@ -294,6 +303,8 @@ PCR 5 changes when partitions are added, modified, or removed.

PCR 7 changes when UEFI SecureBoot mode is enabled/disabled, or firmware certificates (PK, KEK, db, dbx, …) are updated.
The shim project will measure most of its (non-MOK) certificates and SBAT data into this PCR.
[systemd-pcrphase-initrd.service](https://www.freedesktop.org/software/systemd/man/systemd-pcrphase-initrd.service.html)
extends PCR 7 with a leave-initrd barrier when leaving the initrd (no enter-initrd), so PCR 7 differs between initrd and main OS.

PCR 11 and 15 as shown in the list above are used by multiple components of systemd.
These are not conflicting uses;
Expand Down