Decrypt file using a shell script

Joseph Bruni
Sat Jun 15 03:56:02 2002

I noticed in the man pages for 1.0.7 a discussion about a gng-agent. I'm going to assume that this is probably similar in concept to the ssh-agent.

If so, you would load your private key into the agent and use it to handle supplying the gpg --decrypt command with the private key.

Unfortunately, I can't find any documentation on gpg-agent just now.

I hope this at least gives you a direction.

joe wrote:

>I am trying to write a shell script to allow us to automate the decryption
>of a file on an AIX 4.3.3 system using GNUPG.  I do not seem to be able to
>accomplish this with hard codeing the key in the shell script.  I know this
>is not recommenced for security purposes but it is necessary in our
>situation.  Can anyone offer any help.  I can accomplish this using EXPECT
>but do not want to add EXPECT and TCL to the system if at all possible.
>Gnupg-users mailing list

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape!

Get your own FREE, personal Netscape Mail account today at