Decryption via UNIX shell script

Albert Reiner areiner at tph.tuwien.ac.at
Tue Mar 15 17:47:14 CET 2005


[kraymer at kraymer.com, Mon, 14 Mar 2005 16:35:07 -0600 (CST)]:
> 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?

Read the man page; there is some --...-fd option you can use.

Albert.



More information about the Gnupg-users mailing list