From 43c16133c45455dab9cd215ab5e521cd32213166 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 13 Jan 2021 16:26:20 +0200 Subject: python3-pyopenssl: Upgrade 19.1.0 -> 20.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade to release 20.0.1: - Fixed compatibility with OpenSSL 1.1.0 - Added a new optional chain parameter to OpenSSL.crypto.X509StoreContext() where additional untrusted certificates can be specified to help chain building. - Added OpenSSL.crypto.X509Store.load_locations to set trusted certificate file bundles and/or directories for verification. - Added Context.set_keylog_callback to log key material. - Added OpenSSL.SSL.Connection.get_verified_chain to retrieve the verified certificate chain of the peer. - Make verification callback optional in Context.set_verify. If omitted, OpenSSL’s default verification is used. - Fixed a bug that could truncate or cause a zero-length key error due to a null byte in private key passphrase in OpenSSL.crypto.load_privatekey and OpenSSL.crypto.dump_privatekey. - Deprecated OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12. - The minimum cryptography version is now 3.2. - Remove deprecated OpenSSL.tsafe module. - Removed deprecated OpenSSL.SSL.Context.set_npn_advertise_callback, OpenSSL.SSL.Context.set_npn_select_callback, and OpenSSL.SSL.Connection.get_next_proto_negotiated. - Drop support for Python 3.4 - Drop support for OpenSSL 1.0.1 and 1.0.2 Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pyopenssl_19.1.0.bb | 24 ---------------------- .../python/python3-pyopenssl_20.0.1.bb | 23 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyopenssl_20.0.1.bb diff --git a/meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb b/meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb deleted file mode 100644 index da783ea298..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Simple Python wrapper around the OpenSSL library" -HOMEPAGE = "https://pyopenssl.org/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -DEPENDS += "openssl ${PYTHON_PN}-cryptography" - -SRC_URI[md5sum] = "d9804fedbd1eb0c7d9243397b1fbf972" -SRC_URI[sha256sum] = "9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507" - -PYPI_PACKAGE = "pyOpenSSL" -inherit pypi setuptools3 - -PACKAGES =+ "${PN}-tests" -FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" - -RDEPENDS_${PN}_class-target = " \ - ${PYTHON_PN}-cryptography \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-threading \ -" -RDEPENDS_${PN}-tests = "${PN}" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pyopenssl_20.0.1.bb b/meta-python/recipes-devtools/python/python3-pyopenssl_20.0.1.bb new file mode 100644 index 0000000000..e121ef8444 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyopenssl_20.0.1.bb @@ -0,0 +1,23 @@ +SUMMARY = "Simple Python wrapper around the OpenSSL library" +HOMEPAGE = "https://pyopenssl.org/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS += "openssl ${PYTHON_PN}-cryptography" + +SRC_URI[sha256sum] = "4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51" + +PYPI_PACKAGE = "pyOpenSSL" +inherit pypi setuptools3 + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" + +RDEPENDS_${PN}_class-target = " \ + ${PYTHON_PN}-cryptography \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-threading \ +" +RDEPENDS_${PN}-tests = "${PN}" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg