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.