Skip to content

Commit 4f2a43f

Browse files
committed
tpm-pcr-registry: document systemd extending PCR 7 with leave-initrd barrier
Since systemd/systemd#40914
1 parent 7d551de commit 4f2a43f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

specs/linux_tpm_pcr_registry.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,15 @@ In both cases it is important that data measured into the PCRs is carefully chos
153153
<td>n/a</td>
154154
</tr>
155155

156+
<tr>
157+
<td class=number></td>
158+
<td class=systemd><code>systemd-pcrphase-initrd 🚀</code></td>
159+
<td>Userspace</td>
160+
<td>leave-initrd barrier when leaving initrd</td>
161+
<td><code>/run/log/systemd/tpm2-measure.log</code></td>
162+
<td>n/a</td>
163+
</tr>
164+
156165
<tr>
157166
<td class=number><p style="text-align: right"><strong>8</strong></p></td>
158167
<td class=grub><code>grub 🍲</code></td>
@@ -294,6 +303,8 @@ PCR 5 changes when partitions are added, modified, or removed.
294303

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

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

0 commit comments

Comments
 (0)