mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-02 22:47:39 +00:00
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> |
||
|---|---|---|
| .. | ||
| man3 | ||
| man8 | ||
| Makefile.am | ||