Skip to content

pve-klp 0.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 11:20
· 38 commits to main since this release

First public preview. The agent and the build tooling are complete and
tested against an emulated kernel; loading a module on a real Proxmox 7.3
kernel is the next milestone, and no livepatch modules are published yet.
Use on test hosts only.

Added

  • Node agent pve-klp with setup, check, status, apply, boot,
    revert, auto and mok.
    • Verifies manifest signature (minisign), kernel release, vmlinux
      build-id, ring, expiry and module hash before loading.
    • Anti-rollback across revert; hold after revert until the next
      explicit apply.
    • Loads via finit_module, watches the transition per thread, reverses a
      stalled transition and never uses force.
    • Post-checks for kernel log, taint, patched functions and hook scripts;
      on failure the previous level is restored from cache.
    • Refuses to run next to foreign or force-transitioned livepatches.
    • status --json, Prometheus textfile metrics and stable exit codes.
  • Build tool pve-klp-tool: config and toolchain gate, catalog lint (with
    git patch-id comparison) and resolution, Gate A against the shipped
    kernel, manifest creation, ring promotion, minisign-compatible signing.
  • Builder container and pipeline scripts for the proxmox-kernel 7.3 series.
  • Debian package with systemd units, man page and bash completion.
  • Release workflow with static binaries, SHA256SUMS and build provenance
    attestations.

Install

wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.0/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