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

The tpm2_startup --version command can't get the version when using the release tarball. #3276

Open
Jingshui1037 opened this issue Aug 22, 2023 · 1 comment

Comments

@Jingshui1037
Copy link

When I use the release tarball as the following to build and install tpm2-tools from the source codes.

wget https://github.com/tpm2-software/tpm2-tools/releases/download/4.1.1/tpm2-tools-4.1.1.tar.gz
tar -zxvf tpm2-tools-4.1.1.tar.gz
cd tpm2-tools-4.1.1
./bootstrap
./configure --prefix=/usr
make
make install

tpm2_startup --version command can't get the version.

image

While I git clone the repo, build and install the tpm2-tools from source codes, the tpm2_startup --version command can get the version.

git clone https://github.com/tpm2-software/tpm2-tools.git -b 4.1.1
cd tpm2-tools
./bootstrap
./configure --prefix=/usr
make
make install

In this way, tpm2_startup --version command can get the version like this

image

@rfs613
Copy link

rfs613 commented Mar 18, 2024

This was introduced by commit 2e8a07b
and got fixed in commit 794f2fc (eg. version 5.3 and above)

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