]> git.proxmox.com Git - swtpm.git/commit - src/swtpm_setup/swtpm_setup.c
swtpm_setup: Add support for --reconfigure flag to change active PCR banks
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 29 Oct 2021 17:04:07 +0000 (13:04 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 5 Nov 2021 10:39:49 +0000 (06:39 -0400)
commit25d4ac2d3a7bf63ea2eb0621f0a1f416b7ce5481
treeb679db1cf11425a8f645050db68dbb581e156bd1
parent15b9ca6bc354c884b35c0f94553aae413c9c5e9f
swtpm_setup: Add support for --reconfigure flag to change active PCR banks

Add support for --reconfigure option for the swtpm_setup to be able to
change the active PCR banks. This option only works with --tpm2 and does
not allow to pass several other options such --create-ek or
--create-ek-cert or --create-platform-cert that would alter the state of
the TPM 2 in other ways.

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