how sign a file with a batch file

Mark Koek mark.koek@stelvio.nl
Thu Sep 20 12:02:02 2001


VIBRAC Geoffroy wrote:


> Sorry for my english, I'm french
>
> How can i sign a file with a batch file ? i use gpg --clearsign
> --armor --batch MYFILE But I have an error message (can't query
> passord in batchmode ...)
You can use --passphrase-fd 0 so that the password will be read from standard input, like echo <password> | gpg --passphrase-fd 0 etc. Mark