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

pins/tpm2: add support for tpm2-tools 5.X #257

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

diabonas
Copy link
Contributor

A release candidate for tpm2-tools 5.0 has been tagged. Since we explicitly check the major version of the tools (to support the incompatible versions 3.X and 4.X), the allowed version range needs to be expanded.

tpm2-tools 5.0 consolidates all tools into a single busybox-style binary, so the preferred way to invoke the commands would be e.g. tpm2 createprimary instead of tpm2_createprimary. However, compatibility symlinks tpm2_*tpm2 are installed by default, so we keep the old syntax for tpm2-tools 5.0 to avoid creating another special case, since the option syntax has not changed (it should be stable since version 4).

tpm2-tools 3.X is deprecated, but unfortunately still packaged by a few Linux distributions, so keep supporting it for now at least.

tpm2-tools 5.0 consolidates all tools into a single busybox-style binary, so
the preferred way to invoke the commands would be e.g. "tpm2 createprimary"
instead of "tpm2_createprimary". However, compatibility symlinks tpm2_* -> tpm2
are installed by default, so we keep the old syntax for tpm2-tools 5.0 to avoid
creating another special case, since the option syntax has not changed (it
should be stable since version 4).

tpm2-tools 3.X is deprecated, but unfortunately still packaged by a few Linux
distributions, so keep supporting it for now at least.
Copy link
Collaborator

@sergio-correia sergio-correia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good.

@sergio-correia sergio-correia merged commit ef76951 into latchset:master Nov 11, 2020
@diabonas diabonas deleted the tpm2-tools-v5 branch November 11, 2020 13:43
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.

2 participants