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

flatten the new API to just tpm2 #308

Merged
merged 13 commits into from
Sep 4, 2022
Merged

flatten the new API to just tpm2 #308

merged 13 commits into from
Sep 4, 2022

Conversation

chrisfenner
Copy link
Member

@chrisfenner chrisfenner commented Sep 3, 2022

Merge all of the old TPMDirect libraries together into tpm2. That includes helpers, KDFs, etc., as well as the commands and structures. This was necessary to avoid dependency cycles, and it probably makes for an easier developer experience anyway.

This change adds a couple exceptions to the linting tool:

  • tpm2.TPM2BXyz unfortunately stutters a bit, that's the tradeoff
  • Startup_ and Shutdown_ end with an underscore until we can get a release of go-tpm-tools with a simulator that links to the legacy API at its new path

Fixes #302

@chrisfenner chrisfenner marked this pull request as ready for review September 3, 2022 23:28
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

Successfully merging this pull request may close these issues.

1 participant