]> git.proxmox.com Git - swtpm.git/blame - CHANGES
tests: Use SOCK_STREAM for CMD_SET_DATAFD socketpair
[swtpm.git] / CHANGES
CommitLineData
e9b08c71
SB
1CHANGES - changes for swtpm
2
0a194745
SB
3version 0.7.0:
4 - swtpm:
5 - Support for linear file storage backend (file://)
6 - Report 'tpm-1.2' & 'tpm-2.0' in --print-capabilities depending what
7 libtpms supports
8 - Add implementation of SWTPM_HMAC using OpenSSL 3.0 APIs
9 - Wipe keys from stack and heap
10 - Many other small changes
11 - Make --daemon not racy
12 - swtpm_setup:
13 - Only activate SHA256 PCR bank, not SHA1 bank anymore by default
14 - Support for linear file storage backend (file://)
15 - Implement option --create-config-files to create config files
16 - Use non-deprecated APIs to contruct RSA key (OSSL 3)
17 - Report stderr as returned by external tool (swtpm-localcal)
18 - Replace '+' and ',' characters in VMId's to make work with
19 common name in X509 subject
20 - Add support for --reconfigure flag to change active PCR banks
21 - swtpm_localca:
22 - Created certificates for CAs and TPM that do not expire
23 - swtpm_cert:
24 - Allow passing -1 for days to get a non-expiring certificate
25 - test:
26 - ASAN-related test changes and skipping of tests if ASAN is used
27 - Fix tests using tpm2-abrmd by preventing concurrency
28 - Skip chardev related tests after checking for chardev support
29 - exit with error code if mktemp fails
30 - OSSL 3: Make TPM 1.2 test compile; skip IBM TSS 2 test
31 - build-sys:
32 - Introduce --enable-sanitizers to configure
33 - Remove check for pip3 that was used by python swtpm_setup
34 - Allow passing of aditional CFLAGS during build
35
1415cfaa
SB
36version 0.6.0:
37 - swtpm:
38 - Fix --print-capabilities for 'swtpm chardev'
39 - Various cleanups and fixes (coverity)
40 - Addressed potential symlink attack issue (CVE-2020-28407)
c125e34b
SB
41 - swtpm_setup:
42 - Rewritten in 'C'; needs json-glib
1415cfaa
SB
43 - Addressed potential symlink attack issue (CVE-2020-28407)
44 - swtpm_ioctl:
45 - Use timeouts for communicating with swtpm (Unix socket)
e689684c
SB
46 - swtpm-localca:
47 - Rewritten in 'C'
1415cfaa
SB
48 - tests:
49 - Use the IBM TSS2 v1.6.0's test suite
50 - Store and also restore the volatile state at every step when running
51 IBM TSS2 test suite
52 - Various cleanup
53 - build-sys:
54 - Add HARDENING_CFLAGS and _LDFLAGS to all C programs
c125e34b 55
611c5896
SB
56version 0.5.0:
57 - swtpm:
58 - Write files atomically using a temp file and then renaming
59 - swtpm_setup:
60 - Removed remaining 'c' wrapper program
61 - Do not truncate logfile when testing write-access (regression)
62 - Remove TPM state file in case error occurred
63 - swtpm-localca:
64 - Rewrite in python
65 - Allow passing pkcs11 PIN using signingkey_password
66 - Allow passing environment variables needed for pkcs11 modules using
67 swtpm-localca.conf and format 'env:VARNAME=VALUE'.
68 - build-sys:
69 - Add python-install and python-uninstall targets
70 - Add configure option to disable installation of Python module
71 - Use -Wl,-z,relro and -Wl,-z,now only when linking (clang)
72 - Use AC_LINK_IFELSE to check whether support for hardening flags
73
e9b08c71
SB
74version 0.4.0:
75 - swtpm:
2feefb2c 76 - Invoke print capabilities after choosing TPM version
e9b08c71
SB
77 - Add some recent syscalls to seccomp blacklist
78 - swtpm_cert:
79 - Support --ecc-curveid option to pass curve id
80 - swtpm_setup & related scripts:
2feefb2c
SB
81 - Rewrite swtpm_setup.sh in python with TPM 1.2 not requiring tcsd
82 and TPM tools anymore; new dependencies:
83 - python3: pip, cryptography, setuptools
84 dropped dependencies for swtpm_setup:
85 - tcsd, expect, tpm-tools (some still needed for pkcs11 tests)
86 - Added support for RSA 3072 keys (for libtpms-0.8.0) and moved to
87 ECC NIST P384 curve; default RSA key size is still 2048
e9b08c71
SB
88 - Added support for --rsa-keysize option
89 - Extend script to create a CA using a TPM 2 for signing
90 - tests:
91 - Use the IBM TSS2 v1.5.0's test suite
92 - Add test case for loading of an NVRAM completely full with keys
2feefb2c
SB
93 - Have softhsm_setup use temporary directory for softhsm config & state
94 - various other improvements
95 - man pages:
96 - Improvements
e9b08c71
SB
97 - build-sys:
98 - clang: properly test for linker flag 'now' and 'relro'
99 - Gentoo: explicitly link libswtpm_libtpms with -lcrypto
2feefb2c
SB
100 - Ownership of /var/lib/swtpm-localca is now tss:root and
101 mode flags 0750.
e9b08c71 102
16952a5f
SB
103version 0.3.0:
104 - swtpm:
105 - Support for applying 'TPM Startup' command during initialization
106 - Use writev_full rather than writev; fixes --vtpm-proxy EIO error
107 - Only accept() new client ctrl connection if we have none (bugfix)
108 - swtpm_setup & related scripts:
109 - Support whitespaces in filenames and paths
110 - Do not fail on future PCR banks' hashes
111 - swtpm_cert:
112 - Fix OIDs for TPM 2 platforms data
113 - Option parsing cleanup
114 - Support for passing password in various forms
115 - Use gnutls_x509_crt_get_subject_key_id API call for subj keyId
116 - Support 64bit serial numbers read from command line
117 - swtpm_ioctl:
118 - Block SIGPIPE so we can get EPIPE on write()
119 - swtpm_bios:
120 - Block SIGPIPE so we can get EPIPE on write()
121 - tests:
122 - Increased timeouts and better support for running tests with
123 executables run by valgrind
124 - Allow running tests with choice of seccomp profile option
125 (SWTPM_TEST_SECCOMP_OPT) to enable building for Ubuntu
126 - Various cleanups & fixes
127 - SELinux:
128 - More rules added for support on F30
129
933f4055
SB
130version 0.2.0:
131 - Linux: swtpm now runs with a seccomp profile (blacklist) if compiled with
132 libseccomp support
e6512b84
SB
133 - Added subpport for passing key and passphrase via file descriptor
134 - TPM 2 commands can now be prefixed by 'the TCG header' and responses will
135 have a 4-byte prefix and 4-byte suffix.
136 - Added --print-capabilities command line option
137 - Proper handling on EINTR on read, poll, and write
933f4055 138
0c1ecae2
SB
139version 0.1.0:
140 first public release