/pyopenssl

A Python wrapper around the OpenSSL library

Primary LanguagePythonApache License 2.0Apache-2.0

pyOpenSSL -- A Python wrapper around the OpenSSL library

Stable Docs https://github.com/pyca/pyopenssl/workflows/CI/badge.svg?branch=main Test coverage

Note: This fork of pyOpenSSL wraps additional functionality from OpenSSL. This requires my fork of the cryptography library (dennisn00/cryptography) to be installed in pip. I recommend using a virtual environment.

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.