summaryrefslogtreecommitdiff
path: root/man/systemd.journal-fields.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-19 14:47:02 +0200
committerLennart Poettering <lennart@poettering.net>2022-04-20 16:58:18 +0200
commit6e0cb81505deb8fd785492f90cdac10388d1858e (patch)
treefcc1a7ed9515e944ff3a9df830739b7678009bca /man/systemd.journal-fields.xml
parent0ea911d14c738447511b5a807750b356e0758895 (diff)
downloadsystemd-6e0cb81505deb8fd785492f90cdac10388d1858e.tar.gz
creds-tool: add new "has-tpm2" verb
Sometimes it's useful from shell scripts to check if we have a working TPM2 chip around. For example, when putting together encrypted credentials for the initrd (after all: it might be wise to place the root pw in a credential for the initrd to consume, but do so only if we can lock it to the TPM2, and not otherwise, so that we risk nothing). Hence, let's add a new "systemd-creds has-tpm2" verb: it returns zero if we have a working TPM2 (which means: supported by kernel + firmware + us), or non-zero otherwise. Also show which parts are available. Use-case: in future the 'kernel-install' script should use this when deciding whether to augment kernels with security sensitive credentials.
Diffstat (limited to 'man/systemd.journal-fields.xml')
0 files changed, 0 insertions, 0 deletions