wiki: correct PCR 16 history - #249
Open
tlaurion wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The change is documentation-only and corrects an inaccurate description; the remaining feedback is a minor consistency tweak (PCR label/“TPM 1/2” spacing).
Pull request overview
Updates the Heads wiki TPM PCR documentation to correct the historical description of PCR 16 and align it with how calcfuturepcr evolved over time.
Changes:
- Replaces the outdated PCR 16 description (“Used for TPM futurecalc of LUKS header…”) with a short history explaining its former scratch usage and current non-use.
- Clarifies the TPM 1 vs TPM 2 PCR choice used historically for
calcfuturepcr, and notes the later shift to replaying fromcbmem -L.
File summaries
| File | Description |
|---|---|
| About/Keys.md | Corrects PCR 16 documentation to reflect historical usage and current behavior (unused). |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+196
to
+198
| (16): Not measured or read by Heads. Historically used as scratch PCR by | ||
| `calcfuturepcr` on TPM1 (TPM2 used PCR 23); now unused — `calcfuturepcr` | ||
| was rewritten to replay from the `cbmem -L` event log instead. |
tlaurion
force-pushed
the
deepwiki-docs-iteration-2
branch
2 times, most recently
from
September 7, 2026 23:59
e843917 to
e99fc38
Compare
PCR 16 was historically scratch space for calcfuturepcr on TPM1 (PCR 23 on TPM2). calcfuturepcr was later rewritten to replay from cbmem -L event log, eliminating the need for any scratch PCR. PCR 16 is now unused. Extends doc/tpm.md fix (linuxboot/heads#2203). Signed-off-by: Thierry Laurion <insurgo@riseup.net>
tlaurion
force-pushed
the
deepwiki-docs-iteration-2
branch
from
September 8, 2026 02:21
e99fc38 to
eb25e02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends doc/tpm.md fix (linuxboot/heads#2203) to the wiki.
Changes
PCR 16 description updated from "Used for TPM futurecalc of LUKS header" to accurate history:
calcfuturepcron TPM1 (TPM2 used PCR 23)calcfuturepcrwas later rewritten to replay fromcbmem -Levent log, eliminating the need for any scratch PCREvidence
68cc9d0b132(2017): originaltpm calcfuturepcr -ix 16call inkexec-seal-key.sh80c4a7ea6ea: TPM1 branch used PCR 16, TPM2 used PCR 23d1a18f1f83b:tpmr.shintroduced,calcfuturepcrrewritten toreplay_pcrusingcbmem -Ltpmr.sh:208-230:replay_pcrrejectspcr >= 8, no physical PCR touchedRelated