|
1 | 1 | # Release Notes |
2 | 2 |
|
| 3 | +## wolfTPM Release 3.10.0 (Dec 4, 2025) |
| 4 | + |
| 5 | +**Summary** |
| 6 | + |
| 7 | +This release includes important bug fixes for password handling, hash algorithm selection, and TLS shutdown. Enhanced CMake support with TPM module selection. Improved Linux TPM resource manager handling. Security improvements for HMAC validation and payload length checks. Various build system improvements and test enhancements. |
| 8 | + |
| 9 | +**Detail** |
| 10 | + |
| 11 | +* Fixes for minor Coverity reports (PR #441) |
| 12 | +* Fixed critical bug in password handling (PR #439) |
| 13 | + - Fixed `wolfTPM2_SetKeyAuthPassword` that was truncating password to 2 bytes (bug introduced in PR #427 and release v3.9.2) |
| 14 | + - Added test to catch this and verified no other similar issues exist |
| 15 | +* Added Espressif HAL SPI support (PR #386) |
| 16 | +* Enhanced CMake support and TPM module selection (PR #438) |
| 17 | + - Added CMake support for choosing a TPM module |
| 18 | + - Finished CMake options to sync with configure |
| 19 | + - Further improvements to CMake interfaces and test scripts |
| 20 | +* Security improvements for TPM response validation (PR #437) |
| 21 | + - Validate `TPM2_GetProductInfo` payload length to avoid signed underflow and out-of-bounds access |
| 22 | + - Enforce TPM response HMAC length checks to reject zero-length or mismatched response HMACs for authenticated sessions |
| 23 | +* Added Linux TPM Resource Manager support (PR #435, #434) |
| 24 | + - Added persistent access to `/dev/tpmrmX` (enabled with `WOLFTPM_USE_TPMRM`) |
| 25 | + - Fixed TPM Linux `read()` error return code handling |
| 26 | +* Fixed crypto callback and hash algorithm selection (PR #433) |
| 27 | + - Fixed crypto callback to return CRYPTOCB_UNAVAILABLE when a TPM key is not set |
| 28 | + - Fixed to use curve type to determine hash type not digest size |
| 29 | +* Improved signature verification hash detection (PR #432) |
| 30 | + - Fixed `TPM2_VerifySignature` to detect correct hash algorithm |
| 31 | + - Added more test cases for signature verification |
| 32 | +* Improved TLS bidirectional shutdown (PR #431) |
| 33 | + - Improved the TLS bidirectional shutdown |
| 34 | + - Fixed for missing `WC_PK_TYPE_RSA_GET_SIZE` in older releases |
| 35 | +* Fixed CMake lock options (PR #430) |
| 36 | + - Fixed backward yes/no logic of `WOLFTPM_NO_LOCK_DEFAULT` |
| 37 | + - Fixed if check statement of `WOLFTPM_NO_LOCK` |
| 38 | + - Updated default logic for `WOLFTPM_NO_LOCK` depending on state of `WOLFTPM_SINGLE_THREADED` |
| 39 | +* Build system and testing improvements |
| 40 | + - Added new `make cppcheck` option with fixes for cppcheck |
| 41 | + - Fixed issue with possible use of uninitialized `rc` in `TPM2_GetNonceNoLock` |
| 42 | + - Fixed for build and testing with `--enable-infineon=9670` with additional build tests |
| 43 | + - Support for swtpm port arguments |
| 44 | + - Split up the make tests into matrix (improve test time) |
| 45 | +* Various spelling fixes and code cleanup |
| 46 | + |
| 47 | + |
3 | 48 | ## wolfTPM Release 3.9.2 (July 30, 2025) |
4 | 49 |
|
5 | 50 | **Summary** |
|
0 commit comments