Skip to main content

Python wrapper module around the OpenSSL library

Project description

Stable Docs Build status Test coverage

Note: The Python Cryptographic Authority strongly suggests the use of pyca/cryptography where possible. If you are using pyOpenSSL for anything other than making a TLS connection you should move to cryptography and drop your pyOpenSSL dependency.

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.

Discussion

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

18.0.0 (2018-05-16)

Backward-incompatible changes:

  • The minimum cryptography version is now 2.2.1.
  • Support for Python 2.6 has been dropped.

Deprecations:

none

Changes:

  • Added Connection.get_certificate to retrieve the local certificate. #733
  • OpenSSL.SSL.Connection now sets SSL_MODE_AUTO_RETRY by default. #753
  • Added Context.set_tlsext_use_srtp to enable negotiation of SRTP keying material. #734

Full changelog.

Download files

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

Files for pyOpenSSL, version 18.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pyOpenSSL-18.0.0-py2.py3-none-any.whl (53.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyOpenSSL-18.0.0.tar.gz (167.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page