EFI-READVAR(1)
π NAME π
okay bestie, this is the manual page for efi-readvar β literally the tool for showing secure variables. Thatβs the whole vibe. π
β¨ SYNOPSIS β¨
the shape of it is exactly this, no cap:
efi-readvar: [-v <var>] [-s <list>[-<entry>]] [-o <file>]
yes, the colon is in there. copy it exactly if youβre being fancy. π«Ά
π DESCRIPTION π
with no arguments, efi-readvar prints out the entire secure variable database and expands the contents of hashes and X509 certificates. itβs giving βdump the whole thing and show me the details.β β¨
you can restrict it to specific variables and to specific signatures within variables, so you donβt have to stare at the entire database if you donβt want to. lowkey helpful.
now hereβs the important numbering tea: EFI signature lists are numbered from zero and may contain one or more entries (also numbered from zero). so 0-0 represents the first entry of signature list zero. thatβs the mapping, bestie β donβt forget it. π§
bottom line: it lists the contents of the UEFI signature databases. periodt. π
π OPTIONS π
-v <var>β list only the contents of<var>. just the one variable, main character style. πΈ-s <list>[-<entry>]β list only a given signature list (and optionally only a given entry in that list). yes, you can zoom in one more level. π₯-o <file>β output the requested signature lists to<file>. send it straight to a file instead of just vibing in the terminal. π
π EXAMPLES π
to see all the variables, type:
efi-readvars
to see the second entry of signature list 1 for the db variable, do:
efi-readvars -v db -s 1-1
to see all entries of signature list 0 for the KEK:
efi-readvars -v KEK -s 0
copy those exactly, bestie β the examples literally use efi-readvars with an s, and we are not out here βfixingβ command names. π
mwah π this iconic little page is from efi-readvar 1.9.2, dated August 2025 β see you in the group chat, bestie ππ¦
π¦ where this page comes from
- alpine 3.23: efitools-doc 1.9.2-r13 Β· (GPL-2.0-only AND LGPL-2.1-or-later) WITH OpenSSL-Exception
- alpine 3.24: efitools-doc 1.9.2-r13 Β· (GPL-2.0-only AND LGPL-2.1-or-later) WITH OpenSSL-Exception
- fedora 43: efitools 1.9.2-18.fc43 Β· GPL-2.0-only and LGPL-2.1-or-later and BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms