From 2048190bdd422f9053fac3dfaff1cf9a100f5531bda332eed5304777ea9e0785 Mon Sep 17 00:00:00 2001 From: Mark Post Date: Mon, 28 Nov 2022 16:48:10 +0000 Subject: [PATCH] Accepting request 1038743 from home:markkp:branches:security - Updated spec file to set permissions on /etc/opencryptoki/strength.conf to be owned by root:pkcs11 with permissions of 640. (bsc#1205566) OBS-URL: https://build.opensuse.org/request/show/1038743 OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=126 --- openCryptoki.changes | 6 ++++++ openCryptoki.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/openCryptoki.changes b/openCryptoki.changes index 8d63fd4..864c816 100644 --- a/openCryptoki.changes +++ b/openCryptoki.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 28 16:24:11 UTC 2022 - Mark Post + +- Updated spec file to set permissions on /etc/opencryptoki/strength.conf + to be owned by root:pkcs11 with permissions of 640. (bsc#1205566) + ------------------------------------------------------------------- Fri Sep 30 19:14:38 UTC 2022 - Mark Post diff --git a/openCryptoki.spec b/openCryptoki.spec index 742b6bd..ee8d659 100644 --- a/openCryptoki.spec +++ b/openCryptoki.spec @@ -232,7 +232,7 @@ ln -sf %{_libdir}/opencryptoki/libopencryptoki.so %{_prefix}/lib/pkcs11/PKCS11_A # configuration directory %dir %{_sysconfdir}/opencryptoki %config %{_sysconfdir}/opencryptoki/opencryptoki.conf -%config %{_sysconfdir}/opencryptoki/strength.conf +%config %attr(640,root,pkcs11) %{_sysconfdir}/opencryptoki/strength.conf %config %attr(640,root,pkcs11) %{_sysconfdir}/opencryptoki/p11sak_defined_attrs.conf %ifarch s390 s390x %config %{_sysconfdir}/opencryptoki/ccatok.conf