Skip to content

pve-klp 0.1.3

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:23
· 30 commits to main since this release

Third round from the real-host test, which added a stalled transition
(apply and revert), Secure Boot with MOK enrollment under OVMF, legacy BIOS,
and three backported CVE fixes on 7.3.4-1-pve (in vmlinux and in the
overlay module) verified with a reproducer before, during and after the
livepatch.

Fixed

  • check never detected Secure Boot: the EFI global variable GUID was
    wrong (…-e098032b8c4c instead of …-00e098032b8c). It now reports
    Secure Boot and fails when the module certificate is not enrolled, so
    setup no longer says "all checks passed" on such hosts.
  • An apply whose stalled transition was reversed automatically was stored
    as reverted and status returned 0. It is now failed (exit 20), like
    other failed applies; reverted stays reserved for the operator's
    revert.
  • Builder image: rustfmt from trixie-backports (matching rustc 1.94.1),
    so the kernel build no longer warns about it.

Added

  • status notes a livepatch module of ours that is still loaded but unused
    (e.g. after a stalled revert that the kernel finished later) and how to
    remove it.

Changed

  • make builder-image adds the musl target with rustup; documented in
    docs/self-hosting.md.
  • Docs: mok enroll needs a terminal; hooks timing in the config template;
    7.3.4-1-pve in docs/toolchains.md.

Install

wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.3/pve-klp_amd64.deb
apt install ./pve-klp_amd64.deb
pve-klp setup --repository <your repository> --key <manifest key>

Verify

sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify pve-klp_amd64.deb --repo prepaid-host/pve-klp