pyOpenSSL (19.1.0)
Installation
pip install --index-url pyOpenSSLAbout this package
Python wrapper module around the OpenSSL library
======================================================== pyOpenSSL -- A Python wrapper around the OpenSSL library
.. image:: https://readthedocs.org/projects/pyopenssl/badge/?version=stable :target: https://pyopenssl.org/en/stable/ :alt: Stable Docs
.. image:: https://travis-ci.org/pyca/pyopenssl.svg?branch=master :target: https://travis-ci.org/pyca/pyopenssl :alt: Build status
.. image:: https://codecov.io/github/pyca/pyopenssl/branch/master/graph/badge.svg :target: https://codecov.io/github/pyca/pyopenssl :alt: 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.Connectionobjects, 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.
.. _documentation: https://pyopenssl.org/
.. _issue tracker: https://github.com/pyca/pyopenssl/issues
.. _cryptography-dev: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _GitHub: https://github.com/pyca/pyopenssl
.. _pyca/cryptography: https://github.com/pyca/cryptography
Release Information
19.1.0 (2019-11-18)
Backward-incompatible changes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Removed deprecated
ContextType,ConnectionType,PKeyType,X509NameType,X509ReqType,X509Type,X509StoreType,CRLType,PKCS7Type,PKCS12Type, andNetscapeSPKITypealiases. Use the classes without theTypesuffix instead.#814 <https://github.com/pyca/pyopenssl/pull/814>_ - The minimum
cryptographyversion is now 2.8 due to issues on macOS with a transitive dependency.#875 <https://github.com/pyca/pyopenssl/pull/875>_
Deprecations: ^^^^^^^^^^^^^
- Deprecated
OpenSSL.SSL.Context.set_npn_advertise_callback,OpenSSL.SSL.Context.set_npn_select_callback, andOpenSSL.SSL.Connection.get_next_proto_negotiated. ALPN should be used instead.#820 <https://github.com/pyca/pyopenssl/pull/820>_
Changes: ^^^^^^^^
- Support
bytearrayinSSL.Connection.send()by using cffi's from_buffer.#852 <https://github.com/pyca/pyopenssl/pull/852>_ - The
OpenSSL.SSL.Context.set_alpn_select_callbackcan return a newNO_OVERLAPPING_PROTOCOLSsentinel value to allow a TLS handshake to complete without an application protocol.
Full changelog <https://pyopenssl.org/en/stable/changelog.html>_.