use key, not passphrase, in symmetric encryption

Hauke Laging mailinglisten at
Mon Oct 17 15:09:40 CEST 2011

Am Montag, 17. Oktober 2011, 13:51:03 schrieb sweepslate:
> The end goal is to encrypt a volume of around 100GB of personal files
> that I'll be carrying arround with me in a portable drive.

> The key point is doing the encryption of 14000 files in a
> non-interactive way.

echo fubar | gpg --symmetric --passphrase-fd 0 --batch file.txt

Or use --passphrase-file

PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 555 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20111017/d9555b4b/attachment.pgp>

More information about the Gnupg-users mailing list