Releases: tpm2-software/tpm2-tss
Releases · tpm2-software/tpm2-tss
3.0.1
Changed or Fixed
- Fix CVE-2020-24455 FAPI PolicyPCR not instatiating correctly
Note that all TPM object created with a PolicyPCR with the currentPcrs
and currentPcrsAndBank options have been created with an incorrect policy
that ommits PCR checks. All these objects have to be recreated! - Fix bug in FAPI NV creation with custom index values
- Cleanup of leftover sessions in error cases in FAPI
- Better error messages in several FAPI errors
- Add checks to FAPI policy paths
- Add checks if FAPI is correctly provisioned
- Fix execution of FAPI policies in some cases
- Allow 0x prefixes for TPMU_HA in JSON encoding
2.4.3
Changed or Fixed
- Fix CVE-2020-24455 FAPI PolicyPCR not instatiating correctly
Note that all TPM object created with a PolicyPCR with the currentPcrs
and currentPcrsAndBank options have been created with an incorrect policy
that ommits PCR checks. All these objects have to be recreated! - Fix bug in FAPI NV creation with custom index values
- Cleanup of leftover sessions in error cases in FAPI
- Better error messages in several FAPI errors
- Add checks to FAPI policy paths
- Add checks if FAPI is correctly provisioned
- Fix execution of FAPI policies in some cases
- Allow 0x prefixes for TPMU_HA in JSON encoding
3.0.0
Changed or Fixed
- Added setgid perms and ACL for FAPI keystore to allow r/w access for tss group
- Fixed duoble json_object_put call in event log processing.
- Added TSS root dir to include path in CFLAGS
- Switch default FAPI profile to ECC.
- Enabled all PCR registers for SHA256 bank in the distribution profiles.
- Added fix computation of PCR logs and PCR digest of PCR logs.
- Added fix size check for Fapi_Encrypt.
- Improved log messages in FAPI
- Introduced new FAPI return codes FAPI_RC_ALREADY_PROVISIONED,
TSS2_BASE_RC_NOT_PROVISIONED, and TSS2_FAPI_RC_NOT_PROVISIONED. - Added missing retry in Fapi_Initialize_Finish.
- Added man pages for FAPI config files
- Deleted invalid keys from the null hierarchy.
- Fixed check of auth state for lockout set.
- Fixed check of directory access rights in Fapi_Initialize.
- Enabled usage of NULL hierarchy in FAPI.
- Added address sanitizer to CI for gcc.
- Added asserts to callback functions in integration tests
- Added check event log file before Fapi_PcrExtend.
- Fixed hierarchy usage and authentication in Fapi_Provision,
Fapi_GetCertificate, and Fapi_Delete. - Added description for primary keys to profile.
- Fixed non async call of Esys_ContextSave in Fapi_GetEsysBlobs.
- Added check for hierarchy needed for EvictControl for deleting objects.
- Fixed copying the primary during key loading.
- Added a check that prevents deleting of default directories.
- Added verification to provisioning.
- Fixed usage of persistent handles.
- Added missing selectors for some TPMU types in marshal
- Added handling for invalid selector when (um)marshal TPMU types
- Improved presentation of Fapi_GetInfo.
- Fixed computation of the size of a PCR selection.
- Added a check for valid pathnames in keystore module.
- Added a check for deleting of the SRK.
- Fixed computation of random value for objects used for sealing.
- Fixed return code for event parsing errors.
- Added content of the config file to FAPI Info.
- Fixed NV index and path handling in NV creation.
- Fixed path checking for keys.
- Fixed version retrieval method in Fapi_GetInfo.
- Fixed path usage in Fapi_Import.
- Fixed settings of default flags for keys creation.
- Fixed handle usage in Fapi_ChangeAuth
- Fixed systemd-sysusers/-tmpfiles invocation
- Changed FAPI callback API.
- Fixed initialization of app data in Esys_Initialize
- Fixed certificate handling for TPMs without stored certificate.
- Replaced strtok with strtok_r
- Changed return codes from tcti macros according to the spec
- Added check that prevents overwriting objects in key store.
- Added session usage to FAPI provisioning.
- Enabled CI for FreeBSD
- Changed hierarchy param type of Esys_Hash(), Esys_HierarchyControl(),
Esys_LoadExternal(), and Esys_SequenceComplete() calls along with
their Async versions according to the spec.
The can accept both types TPM2_RH and ESYS_TRs as then don't collide. - Changed Tss2_Sys_ReadClock to allow audit session to be consistent
with the rev 1.38 version of the TPM2.0 architecture spec.
Note: This change brakes ABI backwards compatibility. - Silenced expected errors from Esys_TestParams.
- Many improvements for CI builds on Travis and Cirrus, unit tests
and integration test code
Added
- Added SWTPM-TCTI
- Added mbedTLS ESYS crypto backend
- Added the Command TCTI
- Added new API function Fapi_GetEsysBlobs.
- Added new feature for importing keys with Fapi_Import.
Removed
- Removed libgcrypt ESYS crypto backend
- Removed dev-tcti partial read mode configuration flag
- Removed dev-tcti async mode configuration flag
- Removed obsolete LIBDL_LDFLAGS and replaced broken @LIBDL_LDFLAGS@ with @LIBADD_DL@
- Removed deprecated OpenSSL functions from FAPI and ESYS
2.4.2
Fixed
- Fixed duoble json_object_put call in event log processing.
- Fixed memory leaks on error paths in FAPI
- Fixed setting of FAPI app data.
- Fixed size check for Fapi_Encrypt.
- Fixed computation of PCR logs and PCR digest of PCR logs.
- Improved comments for FAPI authentication.
- Fixed segfault and leaks in FAPI
- Fixed Fapi_GetCertificate for objects which are not of type key
- Fixed hierarchy usage in Fapi_Provision
- Fixed ESYS Shared secret calculation
- Fixed doxygen warnings for FAPI docs
- Fixed copying of primary template during key loading.
- Fixed some wrong format directives in debug statements.
- Fixed usage of hierarchy and authentication in Fapi_GetCertificate und Fapi_Delete
- Fixed unallocated return buffers which may have lead to segfaults in tooling
- Fixed usage of persistent handles.
- Fixed computation of the size of a PCR selection (Fixes #1737).
- Fixed missing hierarchy authentication for Fapi_Delete.
- Fixed uninitialized context of FAPI command Fapi_ChangeAuth.
- Fixed computation of random value for objects used for sealing.
- Fixed return code for event parsing errors.
- Fixed NV index and path handling in NV creation.
- Fixed path checking for keys.
- Fixed Fapi_GetInfo function.
- Fixed path usage in Fapi_Import.
- Fixed invalid settings of default flags for keys creation.
- Fixed handle usage in Fapi_ChangeAuth
CHANGED
- Enabled all PCR registers for SHA256 bank in the distribution profiles.
- Added some checks to Fapi_Provisioning to avoid nasty failure states
- Added a check to prevent overwrite or delete FAPI storage objects and directories
- Remove obsolete test fapi-key-create-policy-password-sign.int.c
- Checked hierarchy needed for EvictControl for deleting objects in FAPI.
- Checked event log file before calling the TPM in Fapi_PcrExtend.
- Adapted integration tests to SRK delete checking.
- Improved presentation of Fapi_GetInfo.
- Silenced expected errors from Esys_TestParams
Added
- Added man pages for FAPI json config files
- Added a check that prevents deleting default directories
- Added a check if primary keys already exist for Fapi_Provision
- Added tests for derived persistent keys.
- Added test policy PCR with PCR register 8.
- Added check for deleting of the SRK.
- Added test for sealing a random value.
- Added content of the config file to FAPI Info.
- Added a check for valid pathnames in keystore module.
Removed
- Removed unecassary code from Fapi_ExportKey
- Removed obsolete LIBDL_LDFLAGS and replace it with LIBADD_DL
- Removed superfluous policies/pol_password.json file
2.4.1
Fixed
- Fixed systemd-sysusers/-tmpfiles creation without systemd
- Removed expired coverity token from travis.yaml
- Fixed uninitialized context of FAPI command Fapi_ChangeAuth issue
- Fixed handling of tcti pointer in Esys_Initialize
- Fixed usages of EC routines deprecated in OSSL 1.2 and greater
- Fixed FAPI handling of TPMs without stored certificates
2.4.0
Added
- Added a new Feature API (FAPI) implementation
- Added Esys_TRSess_GetAuthRequired() ESAPI function
- Added Esys_TR_GetTpmHandle() SAPI function
- Added Esys_GetSysContext() SAPI function
- Added the with-sanitizer configure option
- Added CI for FreeBSD
Changed
- Changed MSSIM TCTI to be async capable
- Removed TCTI loaders from ESYS dependencies in pkg-config
- Changed getPollHandles to allow num_handles query
- Improved CI builds
- Converted builds to docker builds
- Number of fixes and improvements in the test code
- Changed tcti-device in non-async mode to allways block
Fixed
- Fixed hmac calculation for tpm2_clear command in ESAPI
- Fixed mixing salted and unsalted sessions in the same ESAPI context
- Removed use of VLAs from TPML marshal code
- Fixed setting C++ compiler for non-fuzzing builds at configure
- Fixed setting the name of session objects
- Fixed page alignment errors in Sys_Get/SetAuths functions
- Fixed potential buffer overflow in tcti_mssim_receive
- Fixed invalid memory alloc failure in Tss2_TctiLdr_Initialize
- Fixed list of exported symbols map for libtss2-mu
- Fixed resource name calculation in Esys_CreateLoaded
- Fixed keysize of ECC curve TPM2_ECC_NISTP224
- Fixed segmentation fault in tctildr if name_conf was too big
- Fixed memory leak in tctildr-tcti tests
- Fixed HMAC generation for policy sessions
- Added check for object node before calling compute_session_value function
- Fixed auth calculation in Esys_StartAuthSession called with optional parameters
- Fixed compute_encrypted_salt error handling in Esys_StartAuthSession
- Fixed exported symbols map for libtss2-mu
2.3.3
Fixed
- Fixed mixing salted and unsalted sessions in the same ESAPI context
- Removed use of VLAs from TPML marshal code
- Added check for object node before calling compute_session_value function
- Fixed auth calculation in Esys_StartAuthSession called with optional parameters
- Fixed compute_encrypted_salt error handling in Esys_StartAuthSession
- Fixed exported symbols map for libtss2-mu
2.3.2
2.3.1
2.3.0
Added
- Added a new tss2-tctildr library that helps with tcti initialization.
- Added a new tss2-rc library that provides textual representations for error codes.
- Added support for VxWorks builds.
- Added an option to disable NIST-deprecated crypto (--disable-weak-crypto).
- Added support for Esys_TR_FromTPMPublic on sessions used as a helper in Esys_FlushContext.
- Added Fuzz-Testing and Valgrind-Testing.
- Added map-files with correct symbol lists for tss2-sys and tss2-esys.
Changed
- Several further minor fixes and cleanups.
- The Tss2_Sys_Execute can be called repeatedly, without calling _prepare on certain errors.
- Reduced RAM consumption in Esys due to Tss2_Sys_Execute change.
- Automated session attribution clearing for esys (decrypt and encrypt) per command.
- Switched to git.mk, many ax_ macros and moved away from gnulib.
- Switched to config.h and autoheaders.
- Improved Windows/VS Support.
Removed
- Removed libtss2-mu from "Requires" field of libtss2-esys.pc.
Fixed
- SPDX License Identifiers.
- Null-pointer problems in tcti-tbs.
- Default locality for tcti-mssim set to LOC_0.
- coverity and valgrind leaks detected in test programs.