]> git.proxmox.com Git - swtpm.git/commit - man/man8/swtpm_setup.pod
swtpm_setup: Report 'no-tpm12-tools' if tcsd or tpm-tools missing
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 1 May 2020 20:27:14 +0000 (16:27 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 1 May 2020 21:47:03 +0000 (17:47 -0400)
commit1974f2ce20f81678d5e02905a001878a04b118ed
tree840d2bddb9d333a0d2350b8ce8e1474e20d8c229
parentc7c2f90aebedd81d6860083189b761f27776dc34
swtpm_setup: Report 'no-tpm12-tools' if tcsd or tpm-tools missing

If the host is missing tcsd (trousers) or the tpm-tools, swtpm_setup
will now report the 'no-tpm12-tools' verb like this:

> swtpm_setup --print-capabilities | jq

{
  "type": "swtpm_setup",
  "features": [
    "cmdarg-keyfile-fd",
    "cmdarg-pwdfile-fd",
    "no-tpm12-tools"
  ]
}

The only TPM 1.2 setup parameter that requires interaction with
the TPM 1.2 that can be pass is then '--createek'.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
man/man8/swtpm_setup.8
man/man8/swtpm_setup.pod
src/swtpm_setup/swtpm_setup.sh.in
tests/_test_print_capabilities
tests/_test_tpm2_print_capabilities