diff --git a/.gitignore b/.gitignore index 4179de0..b5db98e 100644 --- a/.gitignore +++ b/.gitignore @@ -87,6 +87,8 @@ ak.name cred.blob ek.pub srk.pub +ak.pem +ek.pem # Generated Documentation docs/html diff --git a/ChangeLog.md b/ChangeLog.md index af7f904..ddbf60d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,44 @@ # Release Notes +## wolfTPM Release 2.2 (07/13/2021) + +**Summary** + +Added new examples for remote attestation, make credential and GPIO support. Added Endorsement hierarchy support to many examples. Refactored the reference HAL IO code into separate files. + +**Detail** + +* Fixed total auth area size when multiple auth sessions are used (PR #174) +* Fixed `TPM2_SetupPCRSel` to only allow valid pcrIndex values (PR #165 and PR #167) +* Fixed `TPM2_MakeCredential` to work without auth as TCG spec defines (PR #174) +* Fixed `TPM2_MakeCredential` to support using EK pub to encrypt challenge (PR #174) +* Fixed `TPM2_ActivateCredential` to work with EK pub to decrypt challenge (PR #174) +* Fix to only enable `printf` in library proper if `DEBUG_WOLFTPM` is set (PR #154) +* Added support for QNX with wolfTPM (PR #156) +* Added credential examples for remote attestation (PR #161) +* Added new example for sealing a secret using TPM key (PR #157) +* Added GPIO config, read and set examples (PR #155 and #172) +* Added GPIO support and examples for ST33 (PR #155) +* Added GPIO support and examples for Nuvoton NPCT75x (PR #172) +* Added Endorsement support for keygen and attestation examples using `-eh` (PR #174) +* Added missing `TPM2_CreateLoaded` command and added wrapper `wolfTPM2_CreateLoadedKey` (PR #174) +* Added new wrappers for public PEM support `wolfTPM2_RsaKey_TpmToPemPub` and `wolfTPM2_RsaKey_PemPubToTpm` (PR #174) +* Added keygen option to output PEM files for TPM public keys (PR #174) +* Added saving of EK's TPM2B_PUBLIC for attestation purposes (PR #174) +* Added new wrapper for satisfying EK policy (PR #174) +* Added unit test for `TPM2_CertifyCreation` (PR #169) +* Added support for `--with-wolfcrypt=/dir/` (PR #166) +* Added documentation for using QEMU with `--enable-devtpm` for testing (PR #146) +* Modified keygen to use new `wolfTPM2_CreateLoaded` wrapper to acquire correct AK name (PR #174) +* Modified keyload to be able to load keys created under the EK/EH (PR #174) +* Cleanup the ECC point code to appease some coverity warnings (PR #168) +* Cleanup obsolete `txBuf[4] = 0x00;` because handled with SPI check wait state logic (PR #162) +* Improved API documentation using Doxygen for wolfTPM wrappers and proprietary API's (PR #164) +* Improved the Windows TBS documentation (PR #163) +* Refactor the assignment of structs to use memcpy (PR #176) +* Refactor of the TPM IO code to separate files (PR #171) + + ## wolfTPM Release 2.1 (03/17/2021) * Fixed possible KDFa buffer overrun (PR #147) diff --git a/configure.ac b/configure.ac index fe3eebc..f646a25 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # All right reserved. AC_COPYRIGHT([Copyright (C) 2014-2021 wolfSSL Inc.]) -AC_INIT([wolftpm],[2.1.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com]) +AC_INIT([wolftpm],[2.2.0],[https://github.com/wolfssl/wolfTPM/issues],[wolftpm],[http://www.wolfssl.com]) AC_PREREQ([2.63]) AC_CONFIG_AUX_DIR([build-aux]) @@ -23,7 +23,7 @@ AC_ARG_PROGRAM AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([src/config.h]) -WOLFTPM_LIBRARY_VERSION=11:0:0 +WOLFTPM_LIBRARY_VERSION=12:0:0 # | | | # +------+ | +---+ # | | | diff --git a/wolftpm/version.h b/wolftpm/version.h index a5d9985..5210d1d 100644 --- a/wolftpm/version.h +++ b/wolftpm/version.h @@ -34,8 +34,8 @@ extern "C" { #endif -#define LIBWOLFTPM_VERSION_STRING "2.1.0" -#define LIBWOLFTPM_VERSION_HEX 0x02001000 +#define LIBWOLFTPM_VERSION_STRING "2.2.0" +#define LIBWOLFTPM_VERSION_HEX 0x02002000 #ifdef __cplusplus }