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>
This commit updates tpm2-tools to version 3.0-rc1. It also does some
cleanups to the package such as using the latest URL for the project
repository.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit updates the tpm2-tools package to version 2.1.1. It also does
some cleanups such as changing the prefixes to tpm2-tools that is the new
name for the upstream project repository. Since this matches the pkg name
the global pkg_prefix can be removed.
It also removes the downstream patches since these are already present in
the latest upstream release.
resolves: rhbz#1504438
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The tools currently are not built with tabrmd TCTI support, since the
tcti-tabrmd isn't a BuildRequires. Fix this by adding the dependency.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
The source tarballs don't need to be in the package git repository, since
tools building the package will obtain the source url from the SPEC file
and download it before doing the build.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>