I am having issues using duplicity with the encrypt and sign keys option. I have gpg set up and also generated a key. I have also set the passphrase env variable. I keep getting this error:
mysql_nightly_backup.sh: line 8: --------------[: command not found.
It works fine if I don't use encryption. Any help is appreciated. Thanks!