[tpm2] [RELEASE CANDIDATE] tpm2-pytss

Roberts, William C <william.c.roberts at intel.com> Mon, 21 Mar 2022 16:11:35 +0000
Newsgroups dev.linux.lists.tpm2
Message-ID <SN6PR11MB3437FC60D4E24222659D22C5B8169@SN6PR11MB3437.namprd11.prod.outlook.com>
Hello,
I would like to announce the release of tpm2-pytss version 1.1.0-rc1 with the following CHANGELOG:
## 1.1.0-rc1 - 2022-03-21
### Fixed
- Spelling of "Enhanced" in CHANGELOG for 1.0.0 release.
- Ensure that TPM2_GENERATED.VALUE is encoded the same way as other constants.
- Add support to unmarshal simple TPM2B types (such as TPM2B_ATTEST and TPM2B_NAME) directly using the 
  unmarshal method
- utils: catch the ImportError as "e" enabling raising the exception later
- types: add check in TPMS_CONTEXT.to_tools for session handles

### Changed
- Drop pkgconfig from runtime dependencies, thus no longer need dev packages of built bindings at runtime.
  - NOTE: Version information is cached, a change in the TSS libraries requires a rebuild of the bindings.

### Added
- Support session contexts from tpm2-tools as well as function to marshal context to tpm2-tools format.
- Support two new encoding/decoding classes to go to/from hex or json representation of objects.
- Support for creating EK from templates and optionally NV index based templates.
- Binding to `Esys_TR_GetTpmHandle` as `ESAPI` method `tr_get_tpm_handle`.

With the following changes over rc0:
### Fixed:
- utils: catch the ImportError as "e" enabling raising the exception later
- types: add check in TPMS_CONTEXT.to_tools for session handles

The release candidate can be found here on PyPi:
  - https://pypi.org/project/tpm2-pytss/1.1.0rc1/

Thanks,
Bill