Backward-incompatible changes:
cryptography version is now 38.0.x (and we now pin releases
against cryptography major versions to prevent future breakage)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: ^
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>_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>_.Backward-incompatible changes:
#1047 <https://github.com/pyca/pyopenssl/pull/1047>_cryptography version is now 35.0.π Deprecations: ^
π Changes: ^
DTLS
<https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security>_
primitives. #1026 <https://github.com/pyca/pyopenssl/pull/1026>_Backward-incompatible changes:
cryptography version is now 3.3.π Deprecations: ^
π Changes: ^
#993 <https://github.com/pyca/pyopenssl/pull/993>_OpenSSL.SSL.Context.set_min_proto_version and OpenSSL.SSL.Context.set_max_proto_version
to set the minimum and maximum supported TLS version #985 <https://github.com/pyca/pyopenssl/pull/985>_.to_cryptography and from_cryptography methods to support an upcoming release of cryptography without raising deprecation warnings.
#1030 <https://github.com/pyca/pyopenssl/pull/1030>_Backward-incompatible changes:
π Deprecations: ^
π Changes: ^
Backward-incompatible changes:
cryptography version is now 3.2.OpenSSL.tsafe module.OpenSSL.SSL.Context.set_npn_advertise_callback, OpenSSL.SSL.Context.set_npn_select_callback, and OpenSSL.SSL.Connection.get_next_proto_negotiated.π Deprecations: ^
OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12.π Changes: ^
chain parameter to OpenSSL.crypto.X509StoreContext()
where additional untrusted certificates can be specified to help chain building.
#948 <https://github.com/pyca/pyopenssl/pull/948>_OpenSSL.crypto.X509Store.load_locations to set trusted
certificate file bundles and/or directories for verification.
#943 <https://github.com/pyca/pyopenssl/pull/943>_Context.set_keylog_callback to log key material.
#910 <https://github.com/pyca/pyopenssl/pull/910>_OpenSSL.SSL.Connection.get_verified_chain to retrieve the
verified certificate chain of the peer.
#894 <https://github.com/pyca/pyopenssl/pull/894>_.Context.set_verify.
If omitted, OpenSSL's default verification is used.
#933 <https://github.com/pyca/pyopenssl/pull/933>_OpenSSL.crypto.load_privatekey
and OpenSSL.crypto.dump_privatekey.
#947 <https://github.com/pyca/pyopenssl/pull/947>_Backward-incompatible changes:
ContextType, ConnectionType, PKeyType, X509NameType, X509ReqType, X509Type, X509StoreType, CRLType, PKCS7Type, PKCS12Type, and NetscapeSPKIType aliases.
Use the classes without the Type suffix instead.
#814 <https://github.com/pyca/pyopenssl/pull/814>_cryptography version is now 2.8 due to issues on macOS with a transitive dependency.
#875 <https://github.com/pyca/pyopenssl/pull/875>_π Deprecations: ^
OpenSSL.SSL.Context.set_npn_advertise_callback, OpenSSL.SSL.Context.set_npn_select_callback, and OpenSSL.SSL.Connection.get_next_proto_negotiated.
ALPN should be used instead.
#820 <https://github.com/pyca/pyopenssl/pull/820>_π Changes: ^
bytearray in SSL.Connection.send() by using cffi's from_buffer.
#852 <https://github.com/pyca/pyopenssl/pull/852>_OpenSSL.SSL.Context.set_alpn_select_callback can return a new NO_OVERLAPPING_PROTOCOLS sentinel value
to allow a TLS handshake to complete without an application protocol.Backward-incompatible changes:
X509Store.add_cert no longer raises an error if you add a duplicate cert.
#787 <https://github.com/pyca/pyopenssl/pull/787>_π Deprecations: ^
none
π Changes: ^
#805 <https://github.com/pyca/pyopenssl/pull/805>_X509Name.get_components()
#804 <https://github.com/pyca/pyopenssl/pull/804>_Backward-incompatible changes:
cryptography version is now 2.2.1.π Deprecations: ^
none
π Changes: ^
Connection.get_certificate to retrieve the local certificate.
#733 <https://github.com/pyca/pyopenssl/pull/733>_OpenSSL.SSL.Connection now sets SSL_MODE_AUTO_RETRY by default.
#753 <https://github.com/pyca/pyopenssl/pull/753>_Context.set_tlsext_use_srtp to enable negotiation of SRTP keying material.
#734 <https://github.com/pyca/pyopenssl/pull/734>_Backward-incompatible changes:
cryptography version is now 2.1.4.π Deprecations: ^
none
π Changes: ^
cacerts.
#723 <https://github.com/pyca/pyopenssl/pull/723>_Connection.export_keying_material for RFC 5705 compatible export of keying material.
#725 <https://github.com/pyca/pyopenssl/pull/725>_Backward-incompatible changes:
none
π Deprecations: ^
none
π Changes: ^
OpenSSL.rand module.
This subset allows conscientious users to reseed the OpenSSL CSPRNG after fork.
#708 <https://github.com/pyca/pyopenssl/pull/708>_X509 object after the underlying object has been mutated.
#709 <https://github.com/pyca/pyopenssl/pull/709>_