On Monday 14 March 2005 04:35 pm, [EMAIL PROTECTED] wrote:
> I am writing a shell script to automatically decrypt an encrypted file
> using GPG.  How do I send the passphrase to the executable (GPG).  I want
> no human intervention on this.  I'm calling the shell script from a batch
> file to decrypt the file.
>
> Anyone have a UNIX shell script (Korn Shell) that does this?
>
> Thanks!
>
> Kelly Raymer
I use one file readable only by root for all local scripts. And run the 
script's in a jail or sandbox. I would also mention that you need to be sure 
not to export the variable into the user's environment. Be sure to keep the 
scope of the password(s) contained within the script's execution processes 
themselves.

Attachment: pgpwNZuRcjlRf.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to