Crypt-OpenPGP - Re: Help with Crypt::OpenPGP

Posted on Wed Jul 12 19:13:31 2006 by builder in response to 140 (See the whole thread of 6)
Re: Help with Crypt::OpenPGP
Would you know a good source of information to help me implement OpenPGP encryption in my perl application? The documentation available online seems a little thin. A very simple example does not seem to be available anywhere.

For instance, I have a public key and some data (a report drawn from a database in csv format a.k.a. text). I want to use the public key to encrypt the data then stuff it in a file. Simple. Nothing fancy or "trick", but ...

So, I start reading the OpenPGP module docs. Keyring? What the hell do I need another file dependency for? Alright. Create a subroutine to take the public key and create a keyring file. How? There's documentation all over the web and none of it is to the point.

data + encryption key + encryption algorithm = encrypted data

Would seem rather straight forward.

Thank you for any enlightenment you wish to share with this feeble mind.
Direct Responses: 2635 | Write a response