Symmetric & Encrypt in One

Hauke Laging mailinglisten at
Sat Sep 27 18:00:29 CEST 2014

Am Sa 27.09.2014, 16:11:09 schrieb MFPA:

> If I just try:-
> echo "$PW" | gpg --passphrase-fd 0 --symmetric  --output file.gpg file
> it symmetrically encrypts but I cannot find a passphrase that works
> for decryption.

I quote the man page for "--passphrase-fd n":

"[...] Note that this passphrase is only used if the option --batch has 
also been given. This is different from gpg."

Crypto für alle:
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20140927/1857285b/attachment.sig>

More information about the Gnupg-users mailing list