Scroll to navigation

VIRT-FW-SIGDB(1) User Commands VIRT-FW-SIGDB(1)

NAME

virt-fw-sigdb - manual page for virt-fw-sigdb 25.4

DESCRIPTION

The virt-fw-sigdb utility can create, modify and print EFI signature databases. This is the format used by UEFI firmware to store lists of certificates and authenticode hashes for binaries in EFI variables like 'PK', 'KEK', 'db' and 'dbx'.

Usually 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.

The exception to this rule is 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.

usage: virt-fw-sigdb [-h] [-i FILE] [-o FILE] [--add-cert GUID FILE]

[--add-hash GUID HASH] [-p]

options:

show this help message and exit
read efi sigdb FILE
write efi sigdb FILE.
add x509 cert to sigdb, loaded in pem format from FILE and with owner GUID, can be specified multiple times
add sha256 hash to sigdb, with owner GUID, can be specified multiple times
print sigdb

EXAMPLES

virt-fw-sigdb --print \
--input /etc/pki/ca-trust/extracted/edk2/cacerts.bin

AUTHOR

Gerd Hoffmann <kraxel@redhat.com>

April 2025 virt-fw-sigdb 25.4