Is it possible to encrypt to both a private key and a passphrase

Asked by Aaron Whitehouse

Following my Question #107216:
https://answers.launchpad.net/duplicity/+question/107216

Is it possible to encrypt to both a passphrase and a public key? I know that the --encrypt-key key option allows you to encrypt to a public key and that, with no option, it uses the PASSPHRASE environment variable, but is it possible to get Duplicity to encrypt to both a public key and a passphrase.

My usecase here is to set up backups on different machines with different passphrases (that I can give to the users), but also encrypted to my public key (so that I can decrypt them all in the same way).

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Whitehouse
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#2

That scenario is not possible, however, you can use multiple public keys, keep one to yourself, and give one to others.

Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#3

Did not see this one.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) said :
#4

Thanks Kenneth, that solved my problem.