pyOpenSSL is a high-level wrapper around a subset of the OpenSSL library. It 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.


Keywords
cryptography, openssl, python, ssl, tls
License
Apache-2.0
Install
conda install -c anaconda pyopenssl

Documentation

pyOpenSSL -- A Python wrapper around the OpenSSL library

Stable Docs https://github.com/pyca/pyopenssl/workflows/CI/badge.svg?branch=main 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 #pyca on irc.libera.chat to ask questions or get involved.