table of contents
SBCTL.CONF(5) | SBCTL.CONF(5) |
NAME¶
sbctl.conf - the sbctl configuration file
SYNOPSIS¶
/etc/sbctl/sbctl.conf
DESCRIPTION¶
The sbctl configuration file is a YAML file. It is read on startup if present.
The file can be used for initial setup of a sbctl installation.
CONFIGURATION DIRECTORIES AND PRECEDENCE¶
The configuration file is currently only read from /etc/sbctl. This might change in the future.
OPTIONS¶
keydir: /path/to/key/dir
Default: /var/lib/sbctl/keys
guid: /path/to/guid/file
The GUID is used to unique identify the list of certificates stored in the EFI variables.
Default: /var/lib/sbctl/GUID
files_db: /path/to/files/json
Default: /var/lib/sbctl/files.json
bundles_db: /path/to/bundles/json
Default: /var/lib/sbctl/bundles.json
landlock: bool
Default: true
db_additions: [ options... ] Include additional keys or checksums into the authorization database for Secure Boot. These values are synonymous with the flags passed to sbctl enroll-keys. Valid values: microsoft, tpm-eventlog, firmware-builtin, custom
files: [ [path: /path/to/file output: /path/to/output ], ... ]
path
output
keys: {pk: {...}, kek: {...}, db: {...}}
privkey: /path/to/privatekey/file
Defaults:
pubkey: /path/to/certificate/file
Default:
type: file
Only the key type of file is currently supported by sbctl.
Default: file
EXAMPLE¶
An example of a /etc/sbctl/sbctl.conf file with the default values.
--- keydir: /var/lib/sbctl/keys guid: /var/lib/sbctl/GUID files_db: /var/lib/sbctl/files.json bundles_db: /var/lib/sbctl/bundles.json landlock: true db_additions: - microsoft files: - path: /boot/vmlinuz-linux
output: /boot/vmlinuz-linux - path: /efi/EFI/Linux/arch-linux.efi
output: /efi/EFI/Linux/arch-linux.efi keys:
pk:
privkey: /var/lib/sbctl/keys/PK/PK.key
pubkey: /var/lib/sbctl/keys/PK/PK.pem
type: file
kek:
privkey: /var/lib/sbctl/keys/KEK/KEK.key
pubkey: /var/lib/sbctl/keys/KEK/KEK.pem
type: file
db:
privkey: /var/lib/sbctl/keys/db/db.key
pubkey: /var/lib/sbctl/keys/db/db.pem
type: file
SEE ALSO¶
AUTHORS¶
10/22/2024 |