tpm2-tools
tpm2-tools copied to clipboard
The `tpm2_startup --version` command can't get the version when using the release tarball.
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.
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
This was introduced by commit 2e8a07bc and got fixed in commit 794f2fcd (eg. version 5.3 and above)