Skip to content

Introducing the new TPM-Direct API

Compare
Choose a tag to compare
@chrisfenner chrisfenner released this 21 Jun 08:03
· 28 commits to main since this release
5a514e6

This is a major change to the go-tpm library. It introduces the API that was proposed in 2022 as "TPMDirect", which maps TPM commands to Go structs instead of funcs, allowing greater composability. Stay tuned for more information about this change and how to get started.

If you want to update to this release of go-tpm, you don't have to rewrite all your code! You can start using the new API at your leisure. Simply use the old API at its new path by changing from github.com/google/go-tpm/tpm2 to github.com/google/go-tpm/legacy/tpm2 in your code's import statements:

import github.com/google/go-tpm/tpm2

to

import github.com/google/go-tpm/legacy/tpm2

What's Changed

New Contributors

Full Changelog: v0.3.3...v0.9.0