commit | a5cc0bf6e26eb4af5cbfd0e66fcd7e6af13f503d | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Thu Oct 28 12:23:14 2021 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Fri Oct 29 15:36:35 2021 -0400 |
tree | 59785c534a89d13aba705b51304b5ff8b2f60205 | |
parent | 87755f8cc4e4f04a835ab7d5b91f45584a0cae62 [diff] |
swtpm_setup: Get active PCR banks from swtpm_setup.conf If the user did not provide the PCR banks to activate through the command line options, try to read it from the config file and if nothing is found there, fall back to the DEFAULT_PCR_BANKS as set during configure time. Move the check for the PCR banks after the access check to the configuration file. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>