carta
sbvarsign(1)

sbvarsign1

Uefi authenticated variable signing tool

Usage

sbvarsign [options] --key <keyfile> --cert <certfile> <var-name> <var-data-file>

Overview

Sign a blob of data for use in SetVariable().

Options

--engine <eng>

use the specified engine to load the key

--key <keyfile>

signing key (PEM-encoded RSA private key)

--cert <certfile>

certificate (x509 certificate)

--include-attrs

include attrs at beginning of output file

--guid <GUID>

EFI GUID for the variable. If omitted, EFI_IMAGE_SECURITY_DATABASE or EFI_GLOBAL_VARIABLE (depending on <var-name>) will be used.

--attr <attrs>

variable attributes. One or more of: NON_VOLATILE BOOTSERVICE_ACCESS RUNTIME_ACCESS TIME_BASED_AUTHENTICATED_WRITE_ACCESS APPEND_WRITE

Separate multiple attrs with a comma,

default is all attributes, TIME_BASED_AUTH... is always included.

--output <file>

write signed data to <file> (default <var-data-file>.signed)

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye) to Debian 10 (Buster)
  • Debian 9 (Stretch)

--engine since Debian 10 (Buster).

From sbsigntools 0.9.5-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.