gpg run from .procmailrc can't find secret keyring
Fri Oct 11 02:50:02 2002
Peter T. Abplanalp wrote:
> * On Thu, Oct 10, 2002 at 05:34:12PM -0400, Joseph Shraibman wrote:
>>gpg (GnuPG) 1.0.7
>>I set up a script to be called from my .procmailrc to decrypt incoming pgp
>>mail, but it doesn't work. I put in my script to call gpg
>>--list-secret-keys and here is the output:
>>gpg: Warning: using insecure memory!
>>gpg: [don't know]: invalid packet (ctb=00)
>>gpg: read_keyblock: read error: invalid packet
>>gpg: enum_keyblocks(read) failed: invalid keyring
> i suspect the script is not run as your user id.
It is. I checked. The output of id is the same as the command line, the $HOME variable is
the same too.