Scroll to navigation

GRUB-PROTECT(1) User Commands GRUB-PROTECT(1)

NAME

grub-protect - protect a disk key with a key protector

SYNOPSIS

grub-protect [OPTION...]

DESCRIPTION

grub-protect helps to pretect a disk encryption key with a specified key protector.

Protect a cleartext key using a GRUB key protector that can retrieve the key during boot to unlock fully-encrypted disks automatically.

Add or remove a key protector to or from a key.
Key protector to use (only tpm2 is currently supported).
and ECC (ECC_NIST_P256). (default: ECC)
Bank of PCRs used to authorize key release: SHA1, SHA256, SHA384, or SHA512. (default: SHA256)
Path to the TPM2 device. (default: /dev/tpm0)
Evict a previously persisted SRK from the TPM, if any.
Path to a file that contains the cleartext key to protect.
Path to the file that will contain the key after sealing (must be accessible to GRUB during boot).
Comma-separated list of PCRs used to authorize key release e.g., '7,11'. Please be aware that PCR 0~7 are used by the firmware and the measurement result may change after a firmware update (for baremetal systems) or a package (OVMF/SeaBIOS/SLOF) update in the VM host. This may lead tothe failure of key unsealing. (default: 7)
The SRK handle if the SRK is to be made persistent.
Use TPM 2.0 Key File format instead of the raw format.
-?, --help
give this help list
give a short usage message
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

REPORTING BUGS

Report bugs to <bug-grub@gnu.org>.

SEE ALSO

The full documentation for grub-protect is maintained as a Texinfo manual. If the info and grub-protect programs are properly installed at your site, the command

info grub-protect

should give you access to the complete manual.

May 2024 GRUB2 2.12