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.

Source Distribution

pyOpenSSL-18.0.0.tar.gz (167.3 kB view hashes)

Uploaded source

Built Distribution

pyOpenSSL-18.0.0-py2.py3-none-any.whl (53.1 kB view hashes)

Uploaded py2 py3

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