Commit 90d61648 authored by Paul Cammish's avatar Paul Cammish
Browse files

Fixes for dhparam generation

parent bdc607f1
CHANGELOG
---------
2022-03-23
sympl-core
* Replace tempfile with mktemp in sympl-generate-dhparams
sympl-mail
* Correctly regenerate dhparams for dovecot
2022-03-22
sympl-mail
* Clean up logging warning in exim main.log
......
sympl-core (11.20220323.0) stable; urgency=medium
* Replace tempfile with mktemp in sympl-generate-dhparams
-- Paul Cammish <sympl@kelduum.net> Tue, 22 Mar 2022 14:00:00 +0000
sympl-core (11.20220322.1) stable; urgency=low
* Update references from sympl.host to sympl.io
......
......@@ -41,7 +41,7 @@ dir=$(dirname "$fileName")
mkdir -m 750 -p "$dir"
length=2048
tmpfile=$(tempfile -m 0600 -d "$dir" -p .dh)
tmpfile=$(TMPDIR="$dir" mktemp XXXXXXXXXXX.dh )
if [ ! -f "$tmpfile" ] ; then
echo "temporary file '$tmpfile' doesn't exist, stopping."
......
sympl-mail (11.20220323.0) stable; urgency=medium
* Correctly regenerate dhparams for dovecot
-- Paul Cammish <sympl@kelduum.net> Wed, 23 Mar 2022 11:47:00 +0000
sympl-mail (11.20220322.2) stable; urgency=low
* Update references from sympl.host to sympl.io
......
......@@ -6,4 +6,5 @@ if [ "$*" = "--verbose" ] || [ "$*" = "-v" ]; then
fi
sympl-generate-dhparams $verbose/etc/ssl/private/exim4-dhparams.pem Debian-exim
sympl-generate-dhparams $verbose/etc/ssl/private/dovecot-dhparams.pem dovecot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment