fix: kernel-install hook missing — T3 seals break on kernel update #28
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elegos/linux-hello#28
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
EPIC-15 packaging is implemented (deb/rpm/arch scripts), but the
kernel-installhook for automatic PCR re-seal is missing. This hook was explicitly scoped to EPIC-15 (docs/lld/packaging.md,docs/lld/tpm-storage.md:19–20).Impact
On T3 systems (Secure Boot + UKI boot), every kernel update breaks the TPM seal because PCR 11 changes with the new UKI image. The daemon cannot unseal on first boot into the new kernel, causing biometric auth to fall back to password until the user manually re-seals or re-enrolls.
Fix
Implement a
kernel-installplugin at/usr/lib/kernel/install.d/90-linux-hello-reseal.installthat:systemd-measureto predict PCR 11 for the new UKI.linux-hello-tpm reseal --all-users --predicted-pcr11 <value>before the reboot.Install the hook in all three packaging scripts (Debian postinst, RPM %post, Arch post_install).