VIRT-FW-SIGDB(1)
π VIRT-FW-SIGDB(1) π
okay so bestie, welcome to virt-fw-sigdb β like, this is the manual page for virt-fw-sigdb version 26.10, and we're gonna get you comfy with it. no gatekeeping here, let's goooo β¨
π DESCRIPTION π
so the virt-fw-sigdb utility? it's the moment. it can create, modify, and print EFI signature databases π
and what even is that, you ask? it's the format UEFI firmware uses to store lists of certificates and authenticode hashes for binaries, living inside EFI variables like 'PK', 'KEK', 'db' and 'dbx'. iconic storage behavior, no cap π
usually these signature databases are embedded in EFI variable stores, so for most use cases you'll probably should check out the virt-fw-vars(1) utility instead of this one. yeah, i said it β this one's the side quest, that one's the main character π
the exception to this whole rule tho? the list of root CA certificates for TLS connections, which can be passed from the host via qemu to OVMF using the etc/edk2/https/cacerts fw_cfg file. that's the special case, the one scenario where this tool is literally the it girl π
here's the usage, copied exactly, do not come for me:
usage: virt-fw-sigdb [-h] [-i FILE] [-o FILE] [--add-cert GUID FILE]
[--add-hash GUID HASH] [-x] [-p]
β¨ options β¨
-h,--helpβ shows this help message and then dips, exit stage left π«Ά-i,--input FILEβ reads the efi sigdb fromFILE-o,--output FILEβ writes the efi sigdb toFILE.--add-cert GUID FILEβ adds an x509 cert to the sigdb, loaded in pem format fromFILE, with ownerGUID. can be specified multiple times, so go off, stack 'em up π--add-hash GUID HASHβ adds a sha256 hash to the sigdb, with ownerGUID. also can be specified multiple times, repeat queen π¦-x,--extractβ extracts certificates-p,--printβ prints the sigdb
πΈ EXAMPLES πΈ
print system root CA database π«
virt-fw-sigdb --print \
--input /etc/pki/ca-trust/extracted/edk2/cacerts.bin
look at her go ππ
π AUTHOR π
Gerd Hoffmann <kraxel@redhat.com> β the legend behind all this, respect on the name fr fr π«‘
and that's the whole vibe check bestie, you're basically a sigdb expert now π β¨
π signed off with love: virt-fw-sigdb 26.10, dated October 2026 β catch you in the next manpage, mwah π
π¦ where this page comes from
- arch rolling: virt-firmware 26.10-2 Β· GPL-2.0-or-later
- centos-stream 10: python3-virt-firmware 26.10-1.el10 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms