swtpm/src
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
..
selinux build-sys: Label swtpm and swtpm_cuse with SELinux label 2020-08-19 14:36:10 -04:00
swtpm swtpm: Change include of sys/fcntl.h to fcntl.h 2020-08-16 13:18:16 -04:00
swtpm_bios Fix typos in code and man pages 2020-06-15 08:11:34 -04:00
swtpm_cert swtpm_cert: Support --ecc-curveid option to pass curve id 2020-04-29 20:35:04 -04:00
swtpm_ioctl Fix typos in code and man pages 2020-06-15 08:11:34 -04:00
swtpm_setup swtpm_setup: Switch over to new python tool and get rid of the bash script 2020-08-28 16:27:15 -04:00
Makefile.am build-sys: Build swtpm_setup on all supported platforms 2018-08-07 12:19:47 -04:00