crontab + openbsd
Nix
foad0128 at gmail.com
Thu Apr 2 10:18:31 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/20090402/4dd75778/attachment.htm>
More information about the Gnupg-users
mailing list