GPG problem Urgent please

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


-----BEGIN PGP SIGNED MESSAGE-----
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.


	...atom

 _______________________________________________
 PGP key - http://smasher.suspicious.org/pgp.txt
 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/5tSVnCgLvz19QeMRAsCxAJ4yuP+XG/JEy9ol+vfzzslrofOQtwCfckWp
/h3YeBROv3DgfecUUI7YX+Q=
=cQhv
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list