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

Bump github.com/google/go-tpm from 0.3.3 to 0.9.0 #970

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2023

Bumps github.com/google/go-tpm from 0.3.3 to 0.9.0.

Release notes

Sourced from github.com/google/go-tpm's releases.

Introducing the new TPM-Direct API

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: google/go-tpm@v0.3.3...v0.9.0

Commits
  • 5a514e6 rely on go-tpm-tools @ 4639ecce2abad383ae6c5cbbc0eba5ba37abb05a (#332)
  • af08f6d get rid of adapter.go and rename Startup_ and Shutdown_ (#331)
  • 5115077 Replay google/master work since the start of tpmdirect (#330)
  • ea5baa1 fix reflection on cmd structs not to use elem (#329)
  • fe5c4ed support go generate for constants (#317)
  • d8b9857 make two transcription fixes (#316)
  • d68ba33 Use generics to simplify the TPMDirect interface (#310)
  • b827cbb flatten the new API to just tpm2 (#308)
  • 7185bd0 Add type of ECDAA signature (#306)
  • ece7af1 add several commands needed by Google PINT (#305)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 26, 2023
@github-actions github-actions bot enabled auto-merge June 26, 2023 16:59
@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Jun 26, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/go-tpm-0.9.0 branch from c49764a to 8e79b24 Compare June 27, 2023 07:24
@hslatman hslatman self-requested a review June 27, 2023 07:34
@hslatman hslatman self-assigned this Jun 27, 2023
@hslatman
Copy link
Member

hslatman commented Jun 27, 2023

This can't be merged as is. We'll need to wait for a new Go release and drop Go 1.19 to be able to use crypto/ecdh, or create an alternative implementation of the credactivation.Generate that doesn't depend on it.

Related PR for crypto: smallstep/crypto#279.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/go-tpm-0.9.0 branch from 8e79b24 to d534de7 Compare July 17, 2023 17:08
Bumps [github.com/google/go-tpm](https://github.com/google/go-tpm) from 0.3.3 to 0.9.0.
- [Release notes](https://github.com/google/go-tpm/releases)
- [Commits](google/go-tpm@v0.3.3...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-tpm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/google/go-tpm-0.9.0 branch from d534de7 to abbdbd4 Compare July 24, 2023 21:44
@hslatman hslatman merged commit abbdbd4 into master Sep 19, 2023
6 of 12 checks passed
@hslatman hslatman deleted the dependabot/go_modules/github.com/google/go-tpm-0.9.0 branch September 19, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant