Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

With GPG I can encrypt file symmetrically, as for example described here: How do I symmetrically encrypt a file using gpg?. On decryption it will show (among other lines):

gpg: encrypted with 1 passphrase

How can I add more than one passphrase on encrypting the file?


  • I know it is possible to add multiple recipients in the asymmetric encryption.
  • One can encrypt the file both symmetric and asymmetric at the same time. From the manpage of gpg:

    -e     Encrypt data. This option may be combined with --sign (for  a
           signed  and  encrypted  message),  --symmetric (for a message
           that may be decrypted via a secret key or a  passphrase),  [...]
  • A message on the gnupg mailing list from 2004 indicates that it is not yet possible. Now almost 10 years later and this might not be correct anymore.

share|improve this question

2 Answers 2

GnuPG still has not implemented the ability to add multiple passphrases for symmetric encryption.

share|improve this answer
If you could add a (recent) source or reference for this, I'm happy to accept this answer. –  gertvdijk Aug 20 '13 at 22:15
That's easy to prove, run the command (gpg -c <filename>) on something. You will be prompted for one passphrase and that's it. –  Ben Sep 29 '13 at 22:41

Run gpg2 -c on it twice: first, the file you want to encrypt and second, the encrypted file.

share|improve this answer
No, this doesn't work. It will result in a GPG-encrypted file within another GPG encrypted file (filename.gpg.gpg). The only way to decrypt it is by using the second and the first passphrase together. This is not what I'm asking for. Please elaborate. –  gertvdijk Nov 16 '13 at 14:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.