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>
tpm2-tools 3.0.4 version is just a minor release that contains several
fixes, the most important being a fix for how private keys were stored.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The package has an ExclusiveArch: %{ix86} x86_64 directive, but there
isn't anything x86 specific and can be built on all the architectures.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The tpm2-tools 3.0.2 version is just a minor release that fixes undefined
references in libmarshal and makes tools that don't use the TPM device to
not attempt to create a connection.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The tpm2-tools 3.0.2 version was released, this is just a minor release
that fixes buffer overflows, other issues and adds integration tests to
the generated tarball. Update the package to this latest version.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The tpm2-tools 3.0.1 version was released, this is just a minor release
that fixes an issue that the LICENSE file and other docs were not added
to the generated tarball.
Update the package to this version and also use the generated tarball
instead of the source code tarball, now that includes a license file.
resolves: rhbz#1512743
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>