From 5bd553a6a3217dbd6fe1ef287809cc3b58e24b87 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 6 Jan 2025 08:23:48 -0800 Subject: [PATCH] wolfTPM v3.8.0 release. --- .gitignore | 1 + CMakeLists.txt | 2 +- ChangeLog.md | 22 ++++++++++++++++++++++ configure.ac | 4 ++-- wolftpm/version.h | 4 ++-- 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fb9cf76..a65ce02 100644 --- a/.gitignore +++ b/.gitignore @@ -64,6 +64,7 @@ examples/keygen/keyload examples/keygen/keygen examples/keygen/keyimport examples/keygen/external_import +examples/nvram/extend examples/nvram/store examples/nvram/read examples/nvram/counter diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ed35a9..32ec82a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ cmake_minimum_required(VERSION 3.16) -project(wolfTPM VERSION 3.6.0 LANGUAGES C) +project(wolfTPM VERSION 3.8.0 LANGUAGES C) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(WOLFTPM_DEFINITIONS) diff --git a/ChangeLog.md b/ChangeLog.md index 548e58b..9822b46 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,27 @@ # Release Notes +## wolfTPM Release 3.8.0 (Jan 7, 2025) + +**Summary** + +Fixes for session auth on key bind and password policy. Added NV extend example used with Bus_Protection_Guidance. New wolfTPM2_NVExtend wrapper and example. Added new NV policy write/read wrapper API's used with policy auth + +**Detail** + +* Fixed issue with auth session binding. (PR #389) +* Fixed possible missing `wc_GetPkcs8TraditionalOffset`. (PR #392) +* Fixed issue with `wolfTPM2_PolicyHash` where input digest could be too large. (PR #389) +* Added example for NV extend based on the TCG "bus protection guidance". (PR #389) +* Added support for building wolfTPM against older wolfCrypt (like v4.7.0) including CI test. (PR #390) +* Added HAL IO support for Microchip I2C bit-bang (PR #340) +* Created separate tool (./examples/management/tpmclear) for performing the TPM2_Clear (don't use args in wrap_test). (PR #391) +* Switched `wolfTPM2_LoadSymmetricKey` to default to the `WOLFTPM2_WRAP_DIGEST` for hash algorithm and not default to SHA1 for some sizes. (PR #388) +* Improved TPM NV write debug logging to show before. (PR #392) +* Cleanup the `SensitiveToPrivate` function stack variables. (PR #388) +* Cleanup comments on EK/SRK. (PR #388) +* Various spellings, tabs, execute bit on .c and formatting. (PR #386, #388, #392) + + ## wolfTPM Release 3.6.0 (Nov 5, 2024) **Summary** diff --git a/configure.ac b/configure.ac index c4ca4aa..fc8c192 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # All right reserved. AC_COPYRIGHT([Copyright (C) 2014-2024 wolfSSL Inc.]) -AC_INIT([wolftpm],[3.6.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com]) +AC_INIT([wolftpm],[3.8.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com]) AC_PREREQ([2.63]) AC_CONFIG_AUX_DIR([build-aux]) @@ -28,7 +28,7 @@ AC_ARG_PROGRAM AC_CONFIG_HEADERS([src/config.h]) -WOLFTPM_LIBRARY_VERSION=16:4:0 +WOLFTPM_LIBRARY_VERSION=16:5:0 # | | | # +------+ | +---+ # | | | diff --git a/wolftpm/version.h b/wolftpm/version.h index b8a3040..d873827 100644 --- a/wolftpm/version.h +++ b/wolftpm/version.h @@ -34,8 +34,8 @@ extern "C" { #endif -#define LIBWOLFTPM_VERSION_STRING "3.6.0" -#define LIBWOLFTPM_VERSION_HEX 0x03006000 +#define LIBWOLFTPM_VERSION_STRING "3.8.0" +#define LIBWOLFTPM_VERSION_HEX 0x03008000 #ifdef __cplusplus }