mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-01 13:10:36 +00:00
Rather than sending two separate messages with the bare python 2 API, use the python twisted package to send the control and data in one sendmsg() call. This avoids occasional test failures in the ctrlchannel test case that is currently sending the data and control part of the message in 2 steps, which can lead to the recpient not seeing the whole message. Add python-twisted as a build dependency to the rpm and Debian builds and the .travis.yml. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
78 lines
2.3 KiB
Plaintext
78 lines
2.3 KiB
Plaintext
Source: swtpm
|
|
Maintainer: Stefan Berger <stefanb@linux.vnet.ibm.com>
|
|
Section: misc
|
|
Priority: optional
|
|
Build-Depends: automake,
|
|
autoconf,
|
|
coreutils,
|
|
libtool,
|
|
sed,
|
|
libtpms-dev,
|
|
libfuse-dev,
|
|
libglib2.0-dev,
|
|
libgmp-dev,
|
|
expect,
|
|
libtasn1-dev,
|
|
socat,
|
|
findutils,
|
|
tpm-tools (>= 1.3.8),
|
|
python-twisted
|
|
# linux-image-extra
|
|
|
|
Package: swtpm
|
|
Architecture: any
|
|
Depends: expect,
|
|
swtpm-libs (= ${source:Version}),
|
|
${shlibs:Depends}
|
|
# linux-image-extra
|
|
Description: Libtpms-based TPM emulator
|
|
The swtpm package provides TPM emulators that listen for TPM commands
|
|
on sockets, character devices, or CUSE devices.
|
|
|
|
Package: swtpm-libs
|
|
Architecture: any
|
|
Multi-Arch: same
|
|
Depends: openssl,
|
|
libtpms,
|
|
libglib2.0-0,
|
|
${shlibs:Depends},
|
|
${misc:Pre-Depends},
|
|
Description: Common libraries for TPM emulators
|
|
The swtpm-libs package provides the shared libraries for the swtpm
|
|
and swtpm-cuse packages.
|
|
|
|
Package: swtpm-cuse
|
|
Architecture: any
|
|
Depends: swtpm-libs (= ${source:Version}),
|
|
${shlibs:Depends}
|
|
# linux-image-extra
|
|
Description: TPM emulator with CUSE interface
|
|
The swtpm-cuse package provides a CUSE TPM emulator. This emulator
|
|
creates a character device in the /dev directory to which applications
|
|
can send TPM commands. Out-of-band control of the CUSE TPM is through
|
|
ioctl's on that device. The swtpm_ioctl command line utility from the
|
|
swtpm-tools package can be used for that.
|
|
|
|
Package: swtpm-dev
|
|
Architecture: all
|
|
Description: Include files for the TPM emulator's CUSE interface
|
|
The swtpm-dev package provides include files for developing clients
|
|
controlling the CUSE TPM through ioctls.
|
|
|
|
Package: swtpm-tools
|
|
Architecture: any
|
|
Description: Tools for the TPM emulator
|
|
The swtpm-tools package contains the following types of tools:
|
|
- swtpm_bios: Tool for initializing the TPM
|
|
- swtpm_ioctl: Tool for controlling the CUSE TPM
|
|
- swtpm_setup: Tool for creating the initial state of the TPM; this
|
|
tool basically simulates TPM manufacturing where certificates are
|
|
written into the NVRAM of the TPM
|
|
- swtpm_cert: Creation of certificates for the TPM (x509)
|
|
Depends: swtpm (= ${source:Version}),
|
|
trousers (>= 0.3.9),
|
|
tpm-tools (>= 1.3.8),
|
|
expect,
|
|
${shlibs:Depends},
|
|
gnutls-bin
|