mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 19:04:35 +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>
74 lines
1.1 KiB
Plaintext
74 lines
1.1 KiB
Plaintext
*.egg-info
|
|
*.exe
|
|
*.exe.stackdump
|
|
*.gcda
|
|
*.gcno
|
|
*.gcov
|
|
*.la
|
|
*.lo
|
|
*.o
|
|
*.patch
|
|
*~
|
|
.deps
|
|
.libs
|
|
__pycache__
|
|
configure
|
|
Makefile.in
|
|
Makefile
|
|
/aclocal.m4
|
|
/autom4te.cache
|
|
/compile
|
|
/config.guess
|
|
/config.h
|
|
/config.h.in
|
|
/config.log
|
|
/config.status
|
|
/config.sub
|
|
/depcomp
|
|
/dist
|
|
/install-sh
|
|
/libtool
|
|
/ltmain.sh
|
|
/missing
|
|
/stamp-h1
|
|
/swtpm-*.tar.gz
|
|
/dist/swtpm.spec
|
|
/m4/*
|
|
/.pc/*
|
|
/etc/swtpm_setup.conf
|
|
/patches/*
|
|
/include/swtpm.h
|
|
/man/man3/*.3
|
|
/man/man8/*.8
|
|
/samples/swtpm-create-user-config-files
|
|
/samples/swtpm-localca
|
|
/src/selinux/*.pp.bz2
|
|
/src/selinux/swtpm.pp
|
|
/src/selinux/swtpm_svirt.fc
|
|
/src/selinux/swtpm_svirt.if
|
|
/src/selinux/swtpm_svirt.pp
|
|
/src/selinux/swtpmcuse.pp
|
|
/src/selinux/tmp
|
|
/src/swtpm/swtpm
|
|
/src/swtpm/swtpm_cuse
|
|
/src/swtpm_bios/swtpm_bios
|
|
/src/swtpm_cert/swtpm_cert
|
|
/src/swtpm_ioctl/swtpm_ioctl
|
|
/src/swtpm_setup/dist
|
|
/src/swtpm_setup/swtpm_setup
|
|
/src/swtpm_setup/py_swtpm_setup/swtpm_setup_conf.py
|
|
/test-driver
|
|
tests/*.log
|
|
tests/*.trs
|
|
tests/test_config
|
|
/debian/*debhelper*
|
|
/debian/*substvars
|
|
/debian/files
|
|
/debian/swtpm
|
|
/debian/swtpm-cuse
|
|
/debian/swtpm-dev
|
|
/debian/swtpm-libs
|
|
/debian/swtpm-tools
|
|
/debian/swtpm-tools.postinst
|
|
/debian/tmp
|