Skip to main content

Python wrapper module around the OpenSSL library

Project description

Stable Docs Build status Test coverage

High-level wrapper around a subset of the OpenSSL library. Includes

  • SSL.Connection objects, wrapping the methods of Python’s portable sockets

  • Callbacks written in Python

  • Extensive error-handling mechanism, mirroring OpenSSL’s error codes

… and much more.

You can find more information in the documentation. Development takes place on GitHub.


If you run into bugs, you can file them in our issue tracker.

We maintain a cryptography-dev mailing list for both user and development discussions.

You can also join #cryptography-dev on Freenode to ask questions or get involved.

Release Information

16.1.0 (2016-08-26)

Backward-incompatible changes:





  • Fix memory leak in OpenSSL.crypto.dump_privatekey() with FILETYPE_TEXT. #496

  • Enable use of CRL (and more) in verify context. #483

  • OpenSSL.crypto.PKey can now be constructed from cryptography objects and also exported as such. #439

  • Support newer versions of cryptography which use opaque structs for OpenSSL 1.1.0 compatibility.

Full changelog.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyOpenSSL-16.1.0.tar.gz (166.9 kB view hashes)

Uploaded Source

Built Distribution

pyOpenSSL-16.1.0-py2.py3-none-any.whl (44.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page