Merge pull request #2 from coacx/master

use openssl to generate passphrase
This commit is contained in:
Robin Kloppe 2015-03-23 08:54:24 +01:00
commit f8cf48a483

View file

@ -50,7 +50,7 @@ LOGDIR='/var/log/duplicity' # must exist
# Setting the pass phrase to encrypt the backup files. Will use symmetrical keys in this case.
# Set one Password per Backup
PASSPHRASE=$(date|md5sum|awk '{print $1}')
PASSPHRASE=$(/usr/bin/openssl rand -base64 21)
export PASSPHRASE
# encryption algorithm for gpg, disable for default (CAST5)