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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file pyOpenSSL-18.0.0.tar.gz.

File metadata

  • Download URL: pyOpenSSL-18.0.0.tar.gz
  • Upload date:
  • Size: 167.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyOpenSSL-18.0.0.tar.gz
Algorithm Hash digest
SHA256 6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580
MD5 c92e9c85b520b7e153fef0f7f3c5dda7
BLAKE2b-256 9b7cee600b2a9304d260d96044ab5c5e57aa489755b92bbeb4c0803f9504f480

See more details on using hashes here.

Provenance

File details

Details for the file pyOpenSSL-18.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyOpenSSL-18.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 26ff56a6b5ecaf3a2a59f132681e2a80afcc76b4f902f612f518f92c2a1bf854
MD5 3feb16d1d2bc3ed621f40119f0a6489b
BLAKE2b-256 96af9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c

See more details on using hashes here.

Provenance

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