Can I Encrypt directly with a passphrase? (not using Public/Private keys)

Asked by John Robson on 2018-12-16

Can I Encrypt directly with a passphrase as an option: --passphrase "My_Secret_Password"?

(or use the: export PASSPHRASE="...", no problem)

I know that is a little less safe than GPG Public/Private keys, but Symmetric encryption is very easy to just choose a password and done.

* Maybe this could be a future feature.

Thank you all

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
edso
Solved:
2018-12-16
Last query:
2018-12-16
Last reply:
2018-12-16
Best edso (ed.so) said : #1

symmetric encryption is already the default, if no key is given.

fronm the man page section env vars
"
PASSPHRASE
This passphrase is passed to GnuPG. If this is not set, the user will be prompted for the passphrase.
"
http://duplicity.nongnu.org/duplicity.1.html#sect6

John Robson (johnrobson) said : #2

Thanks edso, that solved my question.