OpenPGP (RFC2440) message parser
This is a fairly simply module which will decode OpenPGP messages (RFC 2440). Such messages are generated by Gnu Privacy Guard and PGP. I haven’t made any effort to do much cryptographic operations because in my case my purpose for creating the module was to write an OpenLDAP backend that supported the kind of LDAP access present in PGP. The one crypto thing it does do is calculate the fingerprint/key_id for a public key. So, basically this module will let you read in a message (which could be encrypted text or a pgp key) and will let you iterate over the object and inspect its parts.