diff --git a/0007-disable-test_tpm2_samples_swtpm_localca_pkcs11.patch b/0007-disable-test_tpm2_samples_swtpm_localca_pkcs11.patch new file mode 100644 index 0000000000000000000000000000000000000000..e511ee3e6bb9a095d9f98518bc9ec2bf99336567 --- /dev/null +++ b/0007-disable-test_tpm2_samples_swtpm_localca_pkcs11.patch @@ -0,0 +1,25 @@ +From f14eaaf8d88f148ac9a848609023f9f36825d3f0 Mon Sep 17 00:00:00 2001 +From: chenhuiying +Date: Wed, 23 Nov 2022 19:19:37 +0800 +Subject: [PATCH] disable test_tpm2_samples_swtpm_localca_pkcs11 + +Signed-off-by: yezengruan +--- + tests/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 8a4a9c2..c88acb4 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -79,7 +79,6 @@ TESTS += \ + test_swtpm_cert \ + test_tpm2_parameters \ + test_tpm2_samples_swtpm_localca \ +- test_tpm2_samples_swtpm_localca_pkcs11 \ + test_tpm2_swtpm_cert \ + test_tpm2_swtpm_cert_ecc \ + test_tpm2_swtpm_setup_create_cert +-- +2.27.0 + diff --git a/swtpm-091be80.tar.gz b/swtpm-091be80.tar.gz index 154da137303581e1a9e1748e3c52dc8e102210b6..bbb2bfa719d566fc24b9743bd8a5209944e46c6d 100644 Binary files a/swtpm-091be80.tar.gz and b/swtpm-091be80.tar.gz differ diff --git a/swtpm.spec b/swtpm.spec index cd5cc9696fdfb40867f8f7a0eddc036857f54d53..f0861d3f1b2db161e16d068480643156c7cbd403 100644 --- a/swtpm.spec +++ b/swtpm.spec @@ -12,7 +12,7 @@ Summary: TPM Emulator Name: swtpm Version: 0.3.3 -Release: 6 +Release: 7 License: BSD Url: http://github.com/stefanberger/swtpm Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz @@ -23,6 +23,7 @@ Patch03: 0003-swtpm_cert-Switch-to-open-from-fopen-for-writing-cer.patch Patch04: 0004-swtpm-Do-not-follow-symlinks-when-opening-lockfile-C.patch Patch05: 0005-swtpm-Switch-to-open-from-fopen-for-the-pidfile-CVE-.patch Patch06: 0006-swtpm-Use-open-not-fopen-when-accessing-statefile-CV.patch +Patch07: 0007-disable-test_tpm2_samples_swtpm_localca_pkcs11.patch BuildRequires: automake BuildRequires: autoconf @@ -180,6 +181,9 @@ fi %attr( 755, tss, tss) %{_localstatedir}/lib/swtpm-localca %changelog +* Wed Nov 23 2022 yezengruan - 0.3.3-7 +- Update the source package to be consistent with the download link + * Thu Jun 30 2022 yezengruan - 0.3.3-6 - Addressed potential symlink attack issue (CVE-2020-28407)