This release adds a few new commands to the "direct" (non-legacy) interface, including:
- EvictControl
- HMAC_Start
- ObjectChangeAuth
- Duplicate
- TestParms
- HierarchyChangeAuth
Many thanks to our contributors!
What's Changed
- Remove temporary
.swpfile by @hslatman in https://github.com/google/go-tpm/pull/333 - chore: remove refs to deprecated io/ioutil by @testwill in https://github.com/google/go-tpm/pull/334
- feat: tpm2.EvictControl by @jclab-joseph in https://github.com/google/go-tpm/pull/338
- tpm2: Implement TPM2_Import by @Foxboron in https://github.com/google/go-tpm/pull/341
- Allow callers to omit handles from commands when RH_NULL by @chrisfenner in https://github.com/google/go-tpm/pull/344
- Introduce helper for formatting PCR selection bitmasks by @chrisfenner in https://github.com/google/go-tpm/pull/345
- Fix the mistake of signature algorithm number by @akakou in https://github.com/google/go-tpm/pull/349
- Add TPM2_HMAC_Start implementation by @nckrss in https://github.com/google/go-tpm/pull/351
- Bump go to 1.22 and golangci-lint to 1.56.2 by @nckrss in https://github.com/google/go-tpm/pull/353
- Implement TPM2_ObjectChangeAuth by @Foxboron in https://github.com/google/go-tpm/pull/354
- Implement TPM2_Duplicate by @rthellend in https://github.com/google/go-tpm/pull/355
- feat: TPM2_RSA_Encrypt and TPM2_RSA_Decrypt by @dflamand in https://github.com/google/go-tpm/pull/356
- tpm2: Implement TPM2_TestParms by @Foxboron in https://github.com/google/go-tpm/pull/352
- tpm2: Add RSADecryptWithSession by @thomasten in https://github.com/google/go-tpm/pull/314
- feat: add HierarchyChangeAuth command by @novag in https://github.com/google/go-tpm/pull/357
New Contributors
- @hslatman made their first contribution in https://github.com/google/go-tpm/pull/333
- @testwill made their first contribution in https://github.com/google/go-tpm/pull/334
- @Foxboron made their first contribution in https://github.com/google/go-tpm/pull/341
- @nckrss made their first contribution in https://github.com/google/go-tpm/pull/351
- @rthellend made their first contribution in https://github.com/google/go-tpm/pull/355
- @dflamand made their first contribution in https://github.com/google/go-tpm/pull/356
- @thomasten made their first contribution in https://github.com/google/go-tpm/pull/314
- @novag made their first contribution in https://github.com/google/go-tpm/pull/357
Full Changelog: https://github.com/google/go-tpm/compare/v0.9.0...v0.9.1