Commit a68fd642 authored by Helmuth Gronewold's avatar Helmuth Gronewold

The secret key that encrypts the backups should not be world readable.

parent f7c7d5b9
......@@ -10,6 +10,8 @@ mkdir -p $STORAGE_ROOT/backup
if [ ! -f $STORAGE_ROOT/backup/secret_key.txt ]; then
openssl rand -base64 2048 > $STORAGE_ROOT/backup/secret_key.txt
fi
# The secret key to encrypt backups should not be world readable.
chmod 0600 $STORAGE_ROOT/backup/secret_key.txt
# Link the management server daemon into a well known location.
rm -f /usr/local/bin/mailinabox-daemon
......
Markdown is supported
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