google / go-tpm

Apache License 2.0
562 stars 161 forks source link

get rid of adapter.go and rename Startup_ and Shutdown_ #331

Closed chrisfenner closed 1 year ago

chrisfenner commented 1 year ago

This change removes an adapter that was created to allow go-tpm-tools to be depended upon in the tests for go-tpm, without updating go-tpm-tools to use go-tpm/legacy/tpm2 instead of go-tpm/tpm2. As part of releasing 0.9.0, we need to first delete this adapter and update go-tpm-tools to depend on legacy/tpm2.

Note: The tests will fail to compile until we update to relying on a release of go-tpm-tools that uses legacy/tpm2.