Repository navigation
The agent can report status changes through Proxmox VE's notification
system: a new level and the CVEs it fixes, a failed level, a CVE that needs
a reboot. hvpatch check now asks the running kernel whether it trusts the
module certificate, so a certificate in the UEFI db works without MOK
(thanks @WMP). Times are handled with jiff instead of the unmaintained
chrono; files keep their format. A build killed mid-way no longer blocks
its kernel.
Added
- Notifications. With
notify = true,apply(also from the timer), the
boot reload andrevertmail a summary to root when the status changed
since the last notification: a new level and the CVEs it fixes, a failed
or quarantined level, a CVE that needs a reboot, a newer kernel waiting
for a reboot, an expired manifest. Proxmox VE routes mail for root through
its notification system (mail, Gotify, webhook).hvpatch notify test
sends one right away. Off by default.
Changed
- The CVE watcher reports far fewer false positives on 7.0 kernels. The tree
commit now carries the header of every Proxmox patch, so a fix from
Proxmox's patch queue counts as contained (and an upstream commit a
Proxmox patch reverts does not). After a full build the pipeline lists the
C files the build did not compile (builder/not-built.py), and
cve-scan --not-builtleaves out CVEs that only touch such files. On
7.0.14-31-pve this takes the list from 255 to 165 (P1 from 74 to 38).
7.0 trees are prepared again once, because the tree commit changed. - The CVE watcher also leaves out fixes a kernel carries without a commit
that names them: it keeps its own source tree of each served kernel and
counts a fix whose patch applies in reverse as contained
(builder/reverse-check.py, also used bybuilder/cve-scan.shwith a
tree). Found with CVE-2026-99707 on 7.0.14-30-pve. - Times are handled with jiff instead of chrono, which is unmaintained
(RUSTSEC-2026-0543, #5). The files keep their format, RFC 3339 in UTC;
only fractional seconds are written with as few digits as needed
(.12Zinstead of.120Z), which every version reads. Manifests,
revocation lists andstate.jsonwritten by 0.3.0 are covered by tests.
Messages print times as RFC 3339 (2026-12-18T11:06:40Z). A huge
delay_hoursnow means "never" instead of a crash.
Fixed
- A build killed mid-way (evicted pod, node reboot) no longer blocks the
kernel until the next catalog change. The next run resets the tracked
files of the prepared tree to its checked commit instead of failing with
"uncommitted changes"; a tree on another commit is still refused. hvpatch checkasks the running kernel whether the module certificate
is linked into a keyring the kernel uses for modules (/proc/keys,
KEYCTL_READ), so a certificate in the UEFI db (.platformkeyring) no
longer gives a false FAIL; mokutil is used only for pending or blocked
enrollment.hvpatch mok enrollstops when the certificate is already
in db. New dependency:x509-cert.
Install
wget https://github.com/prepaid-host/hvpatch/releases/download/v0.5.0/hvpatch_amd64.deb
apt install ./hvpatch_amd64.deb
hvpatch setup --repository <your repository> --key <manifest key>Verify
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify hvpatch_amd64.deb --repo prepaid-host/hvpatchhvpatch.cdx.json lists every Rust dependency (CycloneDX SBOM).
hvpatch.intoto.jsonl is the signed build provenance, for offline
verification (gh attestation verify --bundle hvpatch.intoto.jsonl).