Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new TPMDirect API #462

Open
jeremyhahn opened this issue Jun 17, 2024 · 1 comment
Open

Support new TPMDirect API #462

jeremyhahn opened this issue Jun 17, 2024 · 1 comment

Comments

@jeremyhahn
Copy link

Are there any plans to refactor go-tpm-tools to use the new TPMDirect API in go-tpm/tpm2?

Anyone using the new TPMDirect API and wants to use go-tpm-tools ends up with a bloated binary that includes the old and new APIs.

I think using the old API here also makes trying to navigate the docs for go-tpm and figuring out how to stitch the libraries together to create a new, future-proofed project more difficult and misleading with all the references to the old lib.

@alexmwu
Copy link
Contributor

alexmwu commented Feb 3, 2025

Hi there. Sorry for the delay in response and the pain with the bloated binary.

I hear you about the pain points. We unfortunately currently do not have any plans to migrate to the new go-tpm API. We are planning to remove the dependencies on things like the unrelated go-sev-guest and go-tdx-guest which should hopefully improve things some.

I would be happy to review a PR that did this work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants