Removed openssl dependency

This commit is contained in:
Robin Kloppe 2021-12-30 19:27:38 +01:00 committed by GitHub
parent 3128ae3e21
commit d58bc3bb04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)