Solution: Crontab running gpg script can’t find secret key

griffmcc gmcclellan at
Thu Feb 3 21:45:47 CET 2011

Here's what works for me:

echo 'password' | gpg -vvv --homedir /root/.gnupg --batch --passphrase-fd 0
--output /usr/share/file.gpg --encrypt --sign /usr/share/file.tar.bz2

View this message in context:
Sent from the GnuPG - User mailing list archive at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20110203/da034795/attachment.htm>

More information about the Gnupg-users mailing list