From d380b497269afddd5b716945a3e25d4379f89ac4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 16 May 2023 06:16:04 +0000 Subject: [PATCH] import crypto-policies-20221215-1.gitece0092.el8 --- .crypto-policies.metadata | 2 +- .gitignore | 2 +- SPECS/crypto-policies.spec | 19 +++++++++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.crypto-policies.metadata b/.crypto-policies.metadata index a297442..1340b26 100644 --- a/.crypto-policies.metadata +++ b/.crypto-policies.metadata @@ -1 +1 @@ -d9eb22b50432da7a60db16fde7ac127078933ed1 SOURCES/crypto-policies-gitae470d6.tar.gz +5dc28a3ef24d17d33281124719cf8a44506b666e SOURCES/crypto-policies-gitece0092.tar.gz diff --git a/.gitignore b/.gitignore index 13f5edc..8092a12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/crypto-policies-gitae470d6.tar.gz +SOURCES/crypto-policies-gitece0092.tar.gz diff --git a/SPECS/crypto-policies.spec b/SPECS/crypto-policies.spec index ada68ac..d7b4667 100644 --- a/SPECS/crypto-policies.spec +++ b/SPECS/crypto-policies.spec @@ -1,5 +1,5 @@ -%global git_date 20211116 -%global git_commit ae470d6c5ee633d77c3ae9bcebf748fb3dad9507 +%global git_date 20221215 +%global git_commit ece0092078a87593c01b127cdb2368877ce11d01 %{?git_commit:%global git_commit_hash %(c=%{git_commit}; echo ${c:0:7})} %global _python_bytecompile_extra 0 @@ -121,10 +121,12 @@ if not posix.access("%{_sysconfdir}/crypto-policies/config") then end local policypath = "%{_datarootdir}/crypto-policies/"..policy for fn in posix.files(policypath) do - local backend = fn:gsub(".*/", ""):gsub("%%..*", "") - local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config" - posix.unlink(cfgfn) - posix.symlink(policypath.."/"..fn, cfgfn) + if fn ~= "." and fn ~= ".." then + local backend = fn:gsub(".*/", ""):gsub("%%..*", "") + local cfgfn = "%{_sysconfdir}/crypto-policies/back-ends/"..backend..".config" + posix.unlink(cfgfn) + posix.symlink(policypath.."/"..fn, cfgfn) + end end end @@ -186,6 +188,11 @@ end %{_mandir}/man8/fips-finish-install.8* %changelog +* Thu Dec 15 2022 Alexander Sosedkin - 20221215-1.gitece0092 +- bind: expand the list of disableable algorithms +- tests/java: fix java.security.disableSystemPropertiesFile=true +- stop accidentally creating /etc/crypto-policies/back-ends/.config symlink + * Tue Nov 16 2021 Alexander Sosedkin - 20211116-1.gitae470d6 - OSPP: relax -ECDSA-SHA2-512, -FFDHE-* - fips-mode-setup, fips-finish-install: call zipl more often (s390x-specific)