From db6ae61a8cef057dedd041bc92bbc85dc847a1d614b7cfbe4e8a176a1fc6d987 Mon Sep 17 00:00:00 2001 From: Matthias Gerstner Date: Thu, 28 Jan 2021 09:21:04 +0000 Subject: [PATCH 1/2] - update to 3.0.3: - changes in 3.0.3: * Fix Regression in Fapi_List * Fix memory leak in policy calculation - changes in 3.0.2: * FAPI: Fix setting of the system flag of NV objects * This will let NV object metadata be created system-wide always instead of * locally in the user. Existing metadata will remain in the user directory. * It can be moved to the corresponding systemstore manually if needed. * FAPI: Fix policy searching, when a policyRef was provided * FAPI: Accept EK-Certs without CRL dist point * FAPI: Fix return codes of Fapi_List * FAPI: Fix memleak in policy execution * FAPI: Fix coverity NULL-pointer check * FAPI: Set the written flag of NV objects in FAPI PolicyNV commands * FAPI: Fix deleting of policy files. * FAPI: Fix wrong file loading during object search. * Fapi: Fix memory leak * Fapi: Fix potential NULL-Dereference * Fapi: Remove superfluous NULL check * Fix a memory leak in async keystore load. OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=105 --- _service | 2 +- tpm2-0-tss.changes | 25 +++++++++++++++++++++++++ tpm2-0-tss.spec | 4 ++-- tpm2-tss-3.0.1.tar.gz | 3 --- tpm2-tss-3.0.3.tar.gz | 3 +++ 5 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 tpm2-tss-3.0.1.tar.gz create mode 100644 tpm2-tss-3.0.3.tar.gz diff --git a/_service b/_service index 234df59..fdc5dad 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/intel/tpm2-tss.git git - 2.3.3 + 3.0.3 @PARENT_TAG@ disable diff --git a/tpm2-0-tss.changes b/tpm2-0-tss.changes index 3304429..b315efd 100644 --- a/tpm2-0-tss.changes +++ b/tpm2-0-tss.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Jan 28 09:18:58 UTC 2021 - Matthias Gerstner + +- update to 3.0.3: + - changes in 3.0.3: + * Fix Regression in Fapi_List + * Fix memory leak in policy calculation + - changes in 3.0.2: + * FAPI: Fix setting of the system flag of NV objects + * This will let NV object metadata be created system-wide always instead of + * locally in the user. Existing metadata will remain in the user directory. + * It can be moved to the corresponding systemstore manually if needed. + * FAPI: Fix policy searching, when a policyRef was provided + * FAPI: Accept EK-Certs without CRL dist point + * FAPI: Fix return codes of Fapi_List + * FAPI: Fix memleak in policy execution + * FAPI: Fix coverity NULL-pointer check + * FAPI: Set the written flag of NV objects in FAPI PolicyNV commands + * FAPI: Fix deleting of policy files. + * FAPI: Fix wrong file loading during object search. + * Fapi: Fix memory leak + * Fapi: Fix potential NULL-Dereference + * Fapi: Remove superfluous NULL check + * Fix a memory leak in async keystore load. + ------------------------------------------------------------------- Thu Oct 22 11:38:52 UTC 2020 - Matthias Gerstner diff --git a/tpm2-0-tss.spec b/tpm2-0-tss.spec index e7c0b02..43b89af 100644 --- a/tpm2-0-tss.spec +++ b/tpm2-0-tss.spec @@ -1,7 +1,7 @@ # # spec file for package tpm2-0-tss # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: tpm2-0-tss -Version: 3.0.1 +Version: 3.0.3 Release: 0 Summary: Intel's TCG Software Stack access libraries for TPM 2.0 chips License: BSD-2-Clause diff --git a/tpm2-tss-3.0.1.tar.gz b/tpm2-tss-3.0.1.tar.gz deleted file mode 100644 index 1b228a7..0000000 --- a/tpm2-tss-3.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2432533a1cac0f0d15d0337d2f0a23591a50b36aad68ab72412ce694818b7e76 -size 1488285 diff --git a/tpm2-tss-3.0.3.tar.gz b/tpm2-tss-3.0.3.tar.gz new file mode 100644 index 0000000..2f80aff --- /dev/null +++ b/tpm2-tss-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78392be7309baf47f51b122f566ac915fd4d1760ea78571cba2e1484f9b5be17 +size 1489136 From 1367d22f99c980f8b30eb968a1ee890d4dfff3930d7acfcf63e06974515d01ab Mon Sep 17 00:00:00 2001 From: Matthias Gerstner Date: Thu, 28 Jan 2021 09:46:02 +0000 Subject: [PATCH 2/2] fix macros in comments OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=106 --- tpm2-0-tss.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tpm2-0-tss.spec b/tpm2-0-tss.spec index 43b89af..6ec6624 100644 --- a/tpm2-0-tss.spec +++ b/tpm2-0-tss.spec @@ -268,12 +268,12 @@ mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{ud %{_tmpfilesdir}/tpm2-tss-fapi.conf # this would fix "tmpfile-not-in-filelist" warnings but when adding these # entries then it complains about "directories not owned by a package:" for -# /run/tpm2-0-tss & friends. When adding them as %ghost, too, then Leap15.1 +# /run/tpm2-0-tss & friends. When adding them as %%ghost, too, then Leap15.1 # complains about "found conflict of libtss2-fapi1-3.0.1-lp152.103.1.x86_64 # with libtss2-fapi1-3.0.1-lp152.103.1.x86_64". Thus leave it be for the # moment, some insane circle of errors is involved here. -#%%ghost %{_sharedstatedir}/%{name}/system/keystore -#%%ghost %{_rundir}/%{name}/eventlog +# %%ghost %%{_sharedstatedir}/%%{name}/system/keystore +# %%ghost %%{_rundir}/%%{name}/eventlog %files -n libtss2-tcti-cmd0 %defattr(-,root,root)