GPG problem Urgent please

Atom 'Smasher' atom-gpg at
Mon Dec 22 03:25:04 CET 2003

Hash: SHA1

> I am facing a problem with gpg. i want to decrypt a file and i want all
> the decryption information to be incorporated in gpg command itself. i
> have this requirement because i need to use it in shell script
> if i give command
> gpg --decrypt a.gpg     It ask me for passpharase on command promt
> but i want to use this command in the shell so i need to provide the
> passphrase along with the command so i tried this
> gpg --decrypt a.pgp  --passphrase-fd 'my passpharase'
> but this dont work
> can anyone please help me out solving this

echo 'password' | gpg  --passphrase-fd 0  --decrypt a.gpg

this is horribly insecure.


 PGP key -
 3EBE 2810 30AE 601D 54B2 4A90 9C28 0BBF 3D7D 41E3

	"Have you any idea how successful censorship is on TV?
	 Don't know the answer? Hmm. Successful. Isn't it?"
		-- Max Headroom

Version: GnuPG v1.2.3 (FreeBSD)


More information about the Gnupg-users mailing list