use openssl to generate passphrase

This commit is contained in:
Martin Gebhardt 2015-03-22 18:16:12 +01:00
parent 424855bd96
commit 785b984de9

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)