Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.

Release history Release notifications

This version
History Node

18.0.0

History Node

17.5.0

History Node

17.4.0

History Node

17.3.0

History Node

17.2.0

History Node

17.1.0

History Node

17.0.0

History Node

16.2.0

History Node

16.1.0

History Node

16.0.0

History Node

0.15.1

History Node

0.15

History Node

0.14

History Node

0.13.1

History Node

0.13

History Node

0.12

History Node

0.11

History Node

0.10

History Node

0.9

History Node

0.8

History Node

0.7

History Node

0.6

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-18.0.0-py2.py3-none-any.whl (53.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 16, 2018
pyOpenSSL-18.0.0.tar.gz (167.3 kB) Copy SHA256 hash SHA256 Source None May 16, 2018

Supported by

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