PGPy: Pretty Good Privacy for Python
PGPy is a Python (2 and 3) library for implementing Pretty Good Privacy into Python programs, conforming to the OpenPGP specification per RFC 4880.
Currently, PGPy can load keys and signatures of all kinds in both ASCII armored and binary formats.
It can create and verify RSA, DSA, and ECDSA signatures, at the moment. It can also encrypt and decrypt messages using RSA and ECDH.
To install PGPy, simply:
$ pip install PGPy
PGPy Documentation on Read the Docs
Please report any bugs found on the issue tracker
You can also join
#pgpy on Freenode to ask questions or get involved
Python 3 >= 3.4; Python 2 >= 2.7
Tested with: 3.7, 3.6, 3.5, 3.4, 2.7
BSD 3-Clause licensed. See the bundled LICENSE file for more details.