Removed openssl dependency
This commit is contained in:
parent
3128ae3e21
commit
d58bc3bb04
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ LOGDIR='/var/log/duplicity' # must exist
|
||||||
|
|
||||||
# Setting the pass phrase to encrypt the backup files. Will use symmetrical keys in this case.
|
# Setting the pass phrase to encrypt the backup files. Will use symmetrical keys in this case.
|
||||||
# Set one Password per Backup
|
# Set one Password per Backup
|
||||||
PASSPHRASE=$(/usr/bin/openssl rand -base64 21)
|
PASSPHRASE=$(dd if=/dev/urandom 2>/dev/null | tr -cd '[:alnum:]' | fold -w21 | head -1)
|
||||||
export PASSPHRASE
|
export PASSPHRASE
|
||||||
|
|
||||||
# encryption algorithm for gpg, disable for default (CAST5)
|
# encryption algorithm for gpg, disable for default (CAST5)
|
||||||
|
|
Loading…
Reference in a new issue