Commit Graph

46 Commits

Author SHA1 Message Date
Peter Robinson
9880cbc871 Fix for crash for max PCRs available 2019-08-01 10:13:27 +01:00
Fedora Release Engineering
c2f7c4726f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:45:06 +00:00
Yunying Sun
6165724ecb Update to 3.2.0 release 2019-06-21 15:05:33 +08:00
Javier Martinez Canillas
af88e806f0
Add tpm2_pcrreset and tpm2_checkquote tools
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>
2019-05-10 15:24:01 +02:00
Peter Robinson
51662f52c8 update .gitignore 2019-03-16 17:04:34 +00:00
Yunying Sun
aea7a2fbdd Update to 3.1.4 release 2019-03-15 10:43:06 +08:00
Fedora Release Engineering
615ce8c850 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 10:08:16 +00:00
Javier Martinez Canillas
fcd4476d71
Fix broken -T option when passing additional arguments
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 17:54:25 +01:00
Javier Martinez Canillas
384f3d9cf4
Add pandoc BuildRequires
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 10:39:01 +01:00
Javier Martinez Canillas
83d0ae72b7
Fix broken -T option and a couple of minor fixes
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-01-07 10:12:43 +01:00
Yunying Sun
1d7ef2c742 Update to 3.1.3 release 2018-11-07 13:45:49 +08:00
Javier Martinez Canillas
8c0d198913
Update to 3.1.2 release
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>
2018-09-13 01:30:21 +02:00
Javier Martinez Canillas
58cab6daaa
Revert backward incompatible change that removes default object attributes
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>
2018-07-14 10:51:59 +02:00
Fedora Release Engineering
d8e8b37b3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:46:00 +00:00
Yunying Sun
d10185ca57 Update to 3.1.1 release 2018-07-12 13:44:04 +08:00
Yunying Sun
3304a4eec1 Update to 3.1.0 release 2018-07-05 10:14:58 +08:00
Javier Martinez Canillas
a9aa52a877
Update to 3.0.4 release
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>
2018-04-30 12:40:43 +02:00
Javier Martinez Canillas
ed6f21a992
Don't restrict build to x86 arches
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>
2018-02-21 16:34:36 +01:00
Fedora Release Engineering
c22b931773 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 19:16:18 +00:00
Javier Martinez Canillas
31faa1c50f
Update to 3.0.3 release
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>
2018-01-16 11:15:27 +01:00
Javier Martinez Canillas
7e8346207c
Update to 3.0.2 release
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>
2017-12-18 21:03:51 +01:00
Javier Martinez Canillas
be9299b3a8
Update to 3.0.1 release
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>
2017-12-12 14:18:51 +01:00
Javier Martinez Canillas
d57864f54a
Update to 3.0 release
The tpm2-tools 3.0 was released, update the package to the latest version.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2017-12-11 08:09:10 +01:00
Javier Martinez Canillas
b3574b6515
Update to 3.0 release candidate 1
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>
2017-11-29 10:13:43 +01:00
Javier Martinez Canillas
565cd7e724
Update to 2.1.1 release
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>
2017-11-01 22:51:39 +01:00
Jerry Snitselaar
3d1352694e lib: Clean up potential memory leak
If sapi_ctx_init fails, free tcti_ctx

resolves: rhbz#1503959

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2017-10-19 00:34:52 -07:00
Javier Martinez Canillas
16c073d093
Add tpm2-abrmd-devel BuildRequires (RHBZ#1498909)
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>
2017-10-05 16:25:59 +02:00
Javier Martinez Canillas
2cf8f7b1b3 Remove unneeded source tarballs
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>
2017-08-18 16:46:56 +08:00
Yunying Sun
835e95e538 Add patch to fix build error with openssl-devel 1.1x 2017-08-15 15:00:16 +08:00
Fedora Release Engineering
2b1bdf9a97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 09:33:48 +00:00
Yunying Sun
908b3309dc Add patch to fix gcc7 complaining about implict-fallthrough cases 2017-07-31 15:36:29 +08:00
Yunying Sun
cfa8828565 Revert "Add patch0 to fix build error about implicit-fallthrough cases"
This reverts commit 7afceb6d11.
2017-07-31 14:23:56 +08:00
Yunying Sun
7afceb6d11 Add patch0 to fix build error about implicit-fallthrough cases 2017-07-31 11:01:39 +08:00
Yunying Sun
f4ab801b43 Revert "Update spec adding -Wimplicit-fallthrough=0 to avoid compiling error"
This reverts commit 7af0110095.
2017-07-28 16:46:17 +08:00
Yunying Sun
7af0110095 Update spec adding -Wimplicit-fallthrough=0 to avoid compiling error 2017-07-28 15:49:26 +08:00
Yunying Sun
5316d66db6 Update to latest upstream release 2.1.0 2017-07-28 11:09:11 +08:00
Yunying Sun
b855021772 Update changelog for updating Requires dependency 2017-07-28 10:43:53 +08:00
Yunying Sun
a85fced9bb Update dependency so that tpm2-tss update won't break tpm2-tools build 2017-07-28 10:39:26 +08:00
Fedora Release Engineering
c5c20ac8ba - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 20:29:24 +00:00
Yunying Sun
e32e4e4cdc update release version to make fedpkg build work for f26 2017-05-10 14:27:53 +08:00
Yunying Sun
cbe3cc372f update tpm2-tss version in spec to fix broken dependency on f26 2017-03-01 16:20:57 +08:00
Fedora Release Engineering
c20e98e0ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:11:31 +00:00
Yunying Sun
f09093a193 update tpm2-tools.spec again, to fix Requires dependency check failure 2017-01-20 14:13:23 +08:00
Yunying Sun
ce2e194c84 update spec to fix Bodhi dependency complain 2017-01-19 15:47:37 +08:00
Yunying Sun
1223953ecc Initial import (#1369720). 2017-01-19 10:14:07 +08:00
Fedora Release Engineering
5085f8574b Initial setup of the repo 2017-01-18 13:51:04 +00:00