How do I automate decrypting the file ?
C.Hackenschmidt
stoffita@web.de
Wed Jul 16 13:15:02 2003
Hi,
> I have gone over the archives at gnugp website for the answer
> but none of the solutions work. Does any one have an example
> of a batch file for decrypting a file in Windows
> environment? I cannot pass the passpharse to the command line.
Did you try
gpg --passphrase-fd 0 --decrypt <file> < password.txt
where your password is stored in the password.txt-file?
I had problems when the --passphrase-fd parameter came after the
--decrypt-parameter.
Having the decrpyt-parameter always last on the line worked.
Greetz
Chris