From 8ce589ebf2675d1c1c6501d029a0ce860fe74ea8 Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Aug 20 2018 14:34:24 +0000 Subject: Fixed sendmail.pem unsafe: Group readable file --- diff --git a/sendmail.spec b/sendmail.spec index e8e4ee1..f554598 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -19,7 +19,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.15.2 -Release: 29%{?dist} +Release: 30%{?dist} License: Sendmail Group: System Environment/Daemons URL: http://www.sendmail.org/ @@ -587,7 +587,7 @@ if [ ! -f %{sslcert} ]; then %{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \ -subj "/C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}" - chmod 644 %{sslcert} + chmod 600 %{sslcert} fi exit 0 @@ -749,6 +749,9 @@ fi %endif %changelog +* Mon Aug 20 2018 Jaroslav Škarvada - 8.15.2-30 +- Fixed sendmail.pem unsafe: Group readable file + * Mon Jul 23 2018 Robert Scheck - 8.15.2-29 - Add basic sendmail TLS configuration by default (#1607314 #c11)