Migrating from PGP TO GPG

Lionel Elie Mamane lionel at mamane.lu
Wed Oct 5 19:34:56 CEST 2005


On Mon, Oct 03, 2005 at 05:02:52PM -0700, amit bhalerao wrote:

>     I want to decrypt a gpg encrypted document using a GPG. Is there  
> any way i can decrypt it in a non -interactive mode so that it  
> doesn't ask for passphrase.I want to execute the command in shell  
> script.
> Any pointer to this would be of great help.

Use the GnuPG agent from GnuPG2 (you can use the agent from GnuPG2
with GnuPG 1.4) or use the --passphrase-fd option.

-- 
Lionel



More information about the Gnupg-users mailing list