Hi

I got a problem with a crypt file.
When i execute my script no problem everything work, but when i schedule it
in a crontab there is a problem with the passphrase "gpg: decryption failed:
secret key not available"

#!/bin/sh

gpgdir=/appli/

for i in `find $gpgdir -name '*.TOTO'`; do
echo ma_passphrase| /usr/local/bin/gpg --batch --no-tty --passphrase-fd 0 -o
"${i}"_decrypt -d $i
done

Can you help me please.
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to