in reply to Crypt::OpenPGP help!!

boat73, it sounds like the process user doesn't have read access to your public key. Therefore, it's dying with "need something to encrypt with." Try a test script where you just list the keys you have access to. . .

- - arden.
ps please use <CODE> tags next time. . .

Replies are listed 'Best First'.
Re: Re: Crypt::OpenPGP help!!
by boat73 (Scribe) on Mar 10, 2004 at 16:34 UTC
    Sorry about the code tags. I do not see anything in Crypt::OpenPGP that would list keys. Is that in another pgp module that I havn't seen yet?
      Try  Crypt::OpenPGP::Key->check or  Crypt::OpenPGP::Key->public_key. There is a caveat with "check" so be sure to RTFM on Crypt::OpenPGP::Key before using it though.

      Good luck!

      - - arden.