pyOpenSSL -- A Python wrapper around the OpenSSL library v22.1.0 Release Notes

Release Date: 2022-09-25 // over 1 year ago
  • Backward-incompatible changes:

    • โœ‚ Remove support for SSLv2 and SSLv3.
    • ๐Ÿš€ The minimum cryptography version is now 38.0.x (and we now pin releases against cryptography major versions to prevent future breakage)
    • ๐Ÿ”จ The OpenSSL.crypto.X509StoreContextError exception has been refactored, changing its internal attributes. #1133 <https://github.com/pyca/pyopenssl/pull/1133>_

    ๐Ÿ—„ Deprecations: ^

    • ๐Ÿ—„ OpenSSL.SSL.SSLeay_version is deprecated in favor of OpenSSL.SSL.OpenSSL_version. The constants OpenSSL.SSL.SSLEAY_* are deprecated in favor of OpenSSL.SSL.OPENSSL_*.

    ๐Ÿ”„ Changes: ^

    • ๐Ÿ‘Œ Add OpenSSL.SSL.Connection.set_verify and OpenSSL.SSL.Connection.get_verify_mode to override the context object's verification flags. #1073 <https://github.com/pyca/pyopenssl/pull/1073>_
    • Add OpenSSL.SSL.Connection.use_certificate and OpenSSL.SSL.Connection.use_privatekey to set a certificate per connection (and not just per context) #1121 <https://github.com/pyca/pyopenssl/pull/1121>_.

Previous changes from v22.0.0

  • Backward-incompatible changes:

    • โฌ‡๏ธ Drop support for Python 2.7. #1047 <https://github.com/pyca/pyopenssl/pull/1047>_
    • The minimum cryptography version is now 35.0.

    ๐Ÿ—„ Deprecations: ^

    ๐Ÿ”„ Changes: ^

    • ๐Ÿ”ฆ Expose wrappers for some DTLS <https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security>_ primitives. #1026 <https://github.com/pyca/pyopenssl/pull/1026>_