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

2011-02-03 Thread griffmcc
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:

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

2011-02-03 Thread Ingo Klöcker
On Thursday 03 February 2011, griffmcc wrote: 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 I suggest setting the passphrase of the key to an empty passphrase.