crontab + openbsd

Nix foad0128 at gmail.com
Wed Apr 1 15:44:19 CEST 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20090401/d16c667d/attachment.htm>


More information about the Gnupg-users mailing list