http://www.perlmonks.org?node_id=682556


in reply to Re: Decrypting a message with Crypt::OpenPGP
in thread Decrypting a message with Crypt::OpenPGP

Great Thanks. I put in the changes you indicated and now I am getting a different error.
It says... "Error: Can't find a secret key to decrypt message"
The private.pgp and public.pgp files are binary and have something like G4... in them
I think it is finding these files okay because if I change the $secring assignment line to look for private1.pgp which doesn't exist it fails saying it can't find that file on that line.
Am I missing something?
Any ideas about what is wrong now?

Thanks