|
|
bd7034 |
Name: tpm2-tools
|
|
|
d1087b |
Version: 4.1.1
|
|
|
5b830c |
Release: 5%{?dist}
|
|
|
bd7034 |
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
|
|
|
bd7034 |
|
|
|
bd7034 |
License: BSD
|
|
|
bd7034 |
URL: https://github.com/tpm2-software/tpm2-tools
|
|
|
bd7034 |
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
d5d7cb |
Patch0: 0001-tpm2_hierarchycontrol-Fixed-bug-where-hierarchycontr.patch
|
|
|
d5d7cb |
Patch1: 0001-tpm2_nvdefine.c-Fixed-error-reporting-message.patch
|
|
|
d5d7cb |
Patch2: 0001-tpm2_policyor-Silent-failure-bug-fix-for-invalid-uns.patch
|
|
|
d5d7cb |
Patch3: 0001-tpm2_alg_util.c-fix-a-bug-where-the-string-rsa3072-w.patch
|
|
|
d5d7cb |
Patch4: 0001-Fix-ESYS_TR-hierarchy-transition.patch
|
|
|
d5d7cb |
Patch5: 0001-Refactor-fix_esys_hierarchies.patch
|
|
|
d5d7cb |
Patch6: 0001-tpm2_create.c-Fix-an-issue-where-userwithauth-attr-c.patch
|
|
|
5b830c |
Patch7: 0001-tpm2_getekcertificate-add-default-web-address.patch
|
|
|
5b830c |
Patch8: 0001-lib-files-fix-an-error-message-in-files_load_-name.patch
|
|
|
5b830c |
Patch9: 0001-tpm2_policy.c-restrict-policy-digest-size.patch
|
|
|
5b830c |
Patch10: 0001-tpm2_policycountertimer-Fix-an-issue-where-operandB-.patch
|
|
|
5b830c |
Patch11: 0001-tools-tpm2_nvcertify.c-Fix-incompatible-pointer-cast.patch
|
|
|
5b830c |
Patch12: 0001-tools-tpm2_nvreadpublic-Fix-resource-leak.patch
|
|
|
5b830c |
Patch13: 0001-lib-files.c-Fix-an-issue-where-execution-could-not-r.patch
|
|
|
5b830c |
Patch14: 0001-tpm2_import-fix-fixed-AES-key-CVE-2021-3565.patch
|
|
|
bd7034 |
|
|
|
bd7034 |
BuildRequires: gcc-c++
|
|
|
bd7034 |
BuildRequires: libtool
|
|
|
bd7034 |
BuildRequires: autoconf-archive
|
|
|
d1087b |
BuildRequires: pandoc
|
|
|
bd7034 |
BuildRequires: pkgconfig(cmocka)
|
|
|
bd7034 |
BuildRequires: pkgconfig(libcurl)
|
|
|
bd7034 |
BuildRequires: pkgconfig(openssl)
|
|
|
bd7034 |
# tpm2-tss-devel provides tss2-mu/sys/esys package config
|
|
|
bd7034 |
BuildRequires: pkgconfig(tss2-mu)
|
|
|
bd7034 |
BuildRequires: pkgconfig(tss2-sys)
|
|
|
bd7034 |
BuildRequires: pkgconfig(tss2-esys)
|
|
|
bd7034 |
|
|
|
bd7034 |
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
|
|
|
d1087b |
Requires: tpm2-tss%{?_isa} >= 2.3.2-1%{?dist}
|
|
|
bd7034 |
|
|
|
bd7034 |
# tpm2-tools project changed the install path for binaries and man page section
|
|
|
bd7034 |
Obsoletes: tpm2-tools <= 2.1.1-2
|
|
|
bd7034 |
|
|
|
bd7034 |
%description
|
|
|
bd7034 |
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
|
|
|
bd7034 |
|
|
|
bd7034 |
%prep
|
|
|
bd7034 |
%autosetup -p1 -n %{name}-%{version}
|
|
|
bd7034 |
|
|
|
bd7034 |
%build
|
|
|
bd7034 |
%configure --prefix=/usr --disable-static --disable-silent-rules
|
|
|
bd7034 |
%make_build
|
|
|
bd7034 |
|
|
|
bd7034 |
%install
|
|
|
bd7034 |
%make_install
|
|
|
bd7034 |
|
|
|
bd7034 |
%files
|
|
|
bd7034 |
%doc README.md CHANGELOG.md
|
|
|
bd7034 |
%license LICENSE
|
|
|
bd7034 |
%{_bindir}/tpm2_*
|
|
|
d1087b |
%{_datadir}/bash-completion/completions/tpm2*
|
|
|
bd7034 |
%{_mandir}/man1/tpm2_*.1.gz
|
|
|
bd7034 |
|
|
|
bd7034 |
%changelog
|
|
|
5b830c |
* Mon Aug 09 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.1-5
|
|
|
5b830c |
- Bump nvr to trigger osci.
|
|
|
5b830c |
resolves: rhbz#1965981
|
|
|
5b830c |
|
|
|
5b830c |
* Tue Jun 01 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.1-4
|
|
|
5b830c |
- Fix CVE-2021-3565
|
|
|
5b830c |
resolves: rhbz#1965981
|
|
|
5b830c |
|
|
|
5b830c |
* Fri May 14 2021 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.1-3
|
|
|
5b830c |
- Fix resource leak.
|
|
|
5b830c |
- Fix to restrict policy digest size.
|
|
|
5b830c |
- Fix incompatible pointer cast.
|
|
|
5b830c |
- Fix error message in files_load_##name
|
|
|
5b830c |
- Fix issue where execution couldn't reach function return.
|
|
|
5b830c |
resolves: rhbz#1920821
|
|
|
5b830c |
|
|
|
d5d7cb |
* Mon Nov 16 2020 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.1-2
|
|
|
d5d7cb |
- Fix ESYS_TR hierarchy transition.
|
|
|
d5d7cb |
- Refactor fix_esys_hierarchies to return actual TSS2_RC return code.
|
|
|
d5d7cb |
- tpm2_alg_util.c: fix a bug where the string rsa3072 wasn't being parsed.
|
|
|
d5d7cb |
- tpm2_create.c: Fix an issue where userwithauth attr cleared if policy specified.
|
|
|
d5d7cb |
- tpm2_hierarchycontrol: Fix bug where hierarchycontrol operation failed silently.
|
|
|
d5d7cb |
- tpm2_nvdefine.c: Fix error reporting message.
|
|
|
d5d7cb |
- tpm2_policyor: Fix silent failure for invalid/unspecified policy digest alg.
|
|
|
d5d7cb |
resolves: rhbz#1854774
|
|
|
d5d7cb |
|
|
|
d1087b |
* Wed Apr 29 2020 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.1-1
|
|
|
d1087b |
- Update to 4.1.1 release
|
|
|
d1087b |
resolves: rhbz#1789682
|
|
|
d1087b |
|
|
|
ae7120 |
* Tue Oct 22 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.2.1-1
|
|
|
ae7120 |
- Update to 3.2.1 release
|
|
|
ae7120 |
resolves: rhbz#1725714
|
|
|
ae7120 |
|
|
|
bd7034 |
* Tue May 28 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.4-5
|
|
|
bd7034 |
- Another dependency needed for CI gating
|
|
|
bd7034 |
resolves: rhbz#1682417
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue May 28 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.4-4
|
|
|
bd7034 |
- Fix CI dependency
|
|
|
bd7034 |
resolves: rhbz#1682417
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue May 28 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.4-3
|
|
|
bd7034 |
- Add CI gating test
|
|
|
bd7034 |
resolves: rhbz#1682417
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue May 14 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.4-2
|
|
|
bd7034 |
- Add initial CI gating support
|
|
|
bd7034 |
resolves: rhbz#1682417
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue Apr 30 2019 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.4-1
|
|
|
bd7034 |
- Rebase to 3.1.4 release.
|
|
|
bd7034 |
resolves: rhbz#1664498
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Nov 08 2018 Jerry Snitselaar <jsnitsel@redhat.com> - 3.1.1-4
|
|
|
bd7034 |
- lib/tpm2_options: restore TCTI configuration environment variables
|
|
|
bd7034 |
- tpm2_getcap: restore tool output to print properties with TPM_PT prefix
|
|
|
bd7034 |
resolves: rhbz#1648001
|
|
|
bd7034 |
|
|
|
bd7034 |
* Sat Jul 14 2018 Javier Martinez Canillas <javierm@redhat.com> - - 3.1.1-3
|
|
|
bd7034 |
- Revert backward incompatible change that removes default object attributes
|
|
|
bd7034 |
|
|
|
bd7034 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
|
|
|
bd7034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Jul 12 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.1-1
|
|
|
bd7034 |
- Update to 3.1.1 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Jul 5 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.0-1
|
|
|
bd7034 |
- Update Requires version of tpm2-tss to 2.0.0
|
|
|
bd7034 |
- Remove BuildRequires for tcti-abrmd since it is optional
|
|
|
bd7034 |
- Remove BuildRequires for tcti-{device,mssim} as it is now dynamically loaded
|
|
|
bd7034 |
- Update to 3.1.0 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
|
|
|
bd7034 |
- Update URLs to point to the new project location
|
|
|
bd7034 |
- Update to 3.0.4 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
|
|
|
bd7034 |
- Remove ExclusiveArch: x86_64 directive
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
|
|
|
bd7034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
|
|
|
bd7034 |
- Update to 3.0.3 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
|
|
|
bd7034 |
- Update to 3.0.2 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
|
|
|
bd7034 |
- Update to 3.0.1 release (RHBZ#1512743)
|
|
|
bd7034 |
- Download the generated tarball provided instead of the source code tarball
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
|
|
|
bd7034 |
- Update to 3.0 release
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
|
|
|
bd7034 |
- Update to 3.0 release candidate 1
|
|
|
bd7034 |
- Update URLs to point to the new project location
|
|
|
bd7034 |
- Make the package to obsolete version 2.1.1
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
|
|
|
bd7034 |
- Rename remaining tpm2.0-tools prefixes to tpm2-tools
|
|
|
bd7034 |
- Remove global pkg_prefix since now the upstream repo and package names match
|
|
|
bd7034 |
- Remove downstream patches since now these are in the latest upstream release
|
|
|
bd7034 |
- Update to 2.1.1 release (RHBZ#1504438)
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
|
|
|
bd7034 |
- Clean up potential memleak (RHBZ#1503959)
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
|
|
|
bd7034 |
- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
|
|
|
bd7034 |
- Remove unneeded source tarballs (RHBZ#1482830)
|
|
|
bd7034 |
|
|
|
bd7034 |
* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
|
|
|
bd7034 |
- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
bd7034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
bd7034 |
|
|
|
bd7034 |
* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
|
|
|
bd7034 |
- Add patch to fix gcc7 complaining about implicit-fallthrough cases
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
|
|
|
bd7034 |
- Update to latest upstream release 2.1.0
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
|
|
|
bd7034 |
- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
bd7034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
|
|
|
bd7034 |
- Only update release version to make fedpkg build works for f26
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
|
|
|
bd7034 |
- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
|
|
|
bd7034 |
|
|
|
bd7034 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
|
|
bd7034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
|
|
|
bd7034 |
- Dependency check failed for Requires again, here to fix this
|
|
|
bd7034 |
- Update release version and changelog
|
|
|
bd7034 |
|
|
|
bd7034 |
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
|
|
|
bd7034 |
- Change spec file permission to 644 to avoid rpmlint complain
|
|
|
bd7034 |
- Update Requires to fix dependency check error reported in Bodhi
|
|
|
bd7034 |
- Remove tpm2-tss-devel version in BuildRequires comment
|
|
|
bd7034 |
- Update release version and changelog
|
|
|
bd7034 |
|
|
|
bd7034 |
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
|
|
|
bd7034 |
- Remove pkg_version to avoid dupliate use of version
|
|
|
bd7034 |
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
|
|
|
bd7034 |
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
|
|
|
bd7034 |
- Use ExclusiveArch instead of ExcludeArch
|
|
|
bd7034 |
- Requires tpm2-tss version updated to 1.0-2
|
|
|
bd7034 |
- Updated release version and changelog
|
|
|
bd7034 |
|
|
|
bd7034 |
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
|
|
|
bd7034 |
- Initial version of the package
|