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.

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyOpenSSL-16.1.0-py2.py3-none-any.whl (44.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 26, 2016
pyOpenSSL-16.1.0.tar.gz (166.9 kB) Copy SHA256 hash SHA256 Source None Aug 26, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page