1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01:00

use /dev/urandom for roundcube/owncloud key generation, see #596, partially reverts #115 (69f0e1d07a)

This commit is contained in:
Joshua Tauberer
2015-11-17 17:13:49 -05:00
parent 16d148a8a9
commit 8c00556bab
3 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ apt_install python3 python3-dev python3-pip \
# * TLS private key (see `ssl.sh`, which calls `openssl genrsa`)
# * DNSSEC signing keys (see `dns.sh`)
# * our management server's API key (via Python's os.urandom method)
# * Roundcube's SECRET_KEY (`webmail.sh`)
# * ownCloud's administrator account password (`owncloud.sh`)
#
# Why /dev/urandom? It's the same as /dev/random, except that it doesn't wait
# for a constant new stream of entropy. In practice, we only need a little