The current source tarball isn't a release tarball but a source code
tarball. Which means that a configure script isn't present and the
bootstrap script needs to be executed in order to build the package.
But it messes with the PACKAGE_VERSION variable that's correctly set
in the release tarball. So the tools don't provide a correct version:
$ tpm2_createprimary -v
tool="tpm2_createprimary" version="" tctis="libtss2-tctildr" tcti-default=tcti-device
When using the release tarball instead:
$ tpm2_createprimary -v
tool="tpm2_createprimary" version="4.0-rc2" tctis="libtss2-tctildr" tcti-default=tcti-device
Also, the Source URL isn't correct so tools that rely on it won't work:
$ spectool -g tpm2-tools.spec
...
curl: (22) The requested URL returned error: 404 Not Found
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This change adds the backported tpm2_pcrreset and tpm2_checkquote tools
and also the support to allow tpm2_makecredential tool to run off-TPM.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The release contains several bugfixes. This change also adds some upstream
patches that fixes backward incompatibilities changes that were introduced
in the 3.1.0 release.
Resolves: rhbz#1625647
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The tpm2-tools 3.1.0 release contains a backward incompatible change that
was introduced by commit e103bbf5117 ("objectattrs: clear before or'ing
in values"), that changed the way that object attributes were specified.
Before there were a set of default attributes and the user could specify
additional attributes to be used, but after the mentioned commit the user
must specify all attributes.
This is a user visible change that changes the tools semantics, so is not
a suitable change for a MINOR version number increment, according to the
Semantic Versioning document (https://semver.org) since it breaks rule 2:
2.MINOR version when you add functionality in a backwards-compatible manner
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>