gpg non-pubkey decryption automation

Matthias Urlichs
Fri May 18 07:59:02 2001


Frank DiCostanzo:

> echo "pass" | gpg --passphrase-fd 1 -d file.pgp
Use zero, not one.
> is there any automatable way to get the passphrase into gpg,
> security be damned?
Replace "echo" with "yes"; then you can decrypt many files in one pass. Or do the "for i in * ; do echo ... gpg ... $i; done" shell thing. You defenestrate any pretense of security by doing this, but well... I think you know that. ;-) -- Matthias Urlichs | noris network AG |