swtpm/samples
Stefan Berger cc410ca91b swtpm_setup: Switch over to new python tool and get rid of the bash script
Switch over to the new python implementation of swtpm_setup. We need to
also adjust test cases that involved the tcsd that otherwise fail for
various reasons. For in-place testing we need to adjust the PYTHONPATH
and PATH so that swtpm_setup.py can be found and so that swtpm_setup.py
then finds swtpm if it is not explicitly passed as parameter.

Adjust the man page for swtpm_setup to reflect the changes.

We now can run swtpm_setup as any user. However, libvirt still runs it
as tss:tss (for example), which is then creating the signing key as tss:tss
as well. Ideally libvirt would run it as tss:root or any other combination
since the tss group may be used for user wanting to access /dev/tpmrm0 for
example. We at least change the directory ownership of /var/lib/swtpm-localca
to tss:root and keep the world out of this directory.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-08-28 16:27:15 -04:00
..
Makefile.am swtpm_setup: Switch over to new python tool and get rid of the bash script 2020-08-28 16:27:15 -04:00
swtpm-create-tpmca samples: Extend script to create a CA using a TPM 2 for signing 2020-04-14 13:09:00 -04:00
swtpm-create-user-config-files.in samples: Implement script to create user config files and extend man page 2020-08-20 09:49:33 -04:00
swtpm-localca.conf.in build-sys: Adjust localstatedir and files using it 2019-01-17 11:28:40 -05:00
swtpm-localca.in samples: Get rid of using eval when running swtpm_cert 2020-08-11 15:01:59 -04:00
swtpm-localca.options samples: remove the TPM attribute parameters from the options file 2018-05-05 01:09:46 -04:00