PGPy: Pretty Good Privacy for Python
PGPy is a Python library for implementing Pretty Good Privacy into Python programs, conforming to the OpenPGP specification per RFC 4880.
Features
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.
Installation
To install PGPy, simply:
$ pip install PGPy
Command-Line Interface
This module will install sopgpy, an implementation of the Stateless OpenPGP Command-line Interface.
Documentation
PGPy Documentation on Read the Docs
Discussion
Please report any bugs found on the issue tracker
You can also join #pgpy on Freenode to ask questions or get involved
Requirements
Python >= 3.6
Tested with: 3.11, 3.10, 3.9, 3.8, 3.7, 3.6
To use sopgpy you'll also need:
- sop >= 0.5.1
To use EAX as an AEAD mode, you'll also need:
License
BSD 3-Clause licensed. See the bundled LICENSE file for more details.