Skip to main content

PGPy: Pretty Good Privacy for Python

.. image:: https://badge.fury.io/py/PGPy.svg :target: https://badge.fury.io/py/PGPy :alt: Latest stable version

.. image:: https://travis-ci.com/SecurityInnovation/PGPy.svg?branch=master :target: https://travis-ci.com/SecurityInnovation/PGPy?branch=master :alt: Travis-CI

.. image:: https://coveralls.io/repos/github/SecurityInnovation/PGPy/badge.svg?branch=master :target: https://coveralls.io/github/SecurityInnovation/PGPy?branch=master :alt: Coveralls

.. image:: https://readthedocs.org/projects/pgpy/badge/?version=latest :target: https://pgpy.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

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:

.. code-block:: bash

$ pip install PGPy

Documentation

PGPy Documentation <https://pgpy.readthedocs.io/en/latest/>_ on Read the Docs

Discussion

Please report any bugs found on the issue tracker <https://github.com/SecurityInnovation/PGPy/issues>_

You can also join #pgpy on Freenode to ask questions or get involved

Requirements

  • Python >= 3.6

    Tested with: 3.10, 3.9, 3.8, 3.7, 3.6

  • Cryptography <https://pypi.python.org/pypi/cryptography>_

  • pyasn1 <https://pypi.python.org/pypi/pyasn1/>_

  • six <https://pypi.python.org/pypi/six>_

License

BSD 3-Clause licensed. See the bundled LICENSE <https://github.com/SecurityInnovation/PGPy/blob/master/LICENSE>_ file for more details.

Metadata

Release files for PGPy-dtc 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PGPy-dtc 0.1.1
File Size Uploaded
pgpy_dtc-0.1.1.tar.gz 119.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PGPy-dtc 0.1.1
File Interpreter ABI Platform
PGPy_dtc-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 204.6 kB

Release files / pgpy_dtc-0.1.1.tar.gz

Download URL pgpy_dtc-0.1.1.tar.gz
Size 119.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dfab2ef88a1468ae0e12909f7ee1c48c9a3ff73324e94f833059bb8bbd48948c
BLAKE2b-256 checksum
How to use checksums
155dba9f73201ba3e6c3a35298a629c136b5cdc8362fefa977d0cfe6a9f5be6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / PGPy_dtc-0.1.1-py3-none-any.whl

Download URL PGPy_dtc-0.1.1-py3-none-any.whl
Size 85.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fb7c8b7cb23a048337035618f2f3aeb946ffdf4f7005ac50f8134ed81170929
BLAKE2b-256 checksum
How to use checksums
c1be3670fc11134fd167bc9231d6afb4240714676173296fd43bcc60b6299967
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page