Date: Sat, 02 Sep 2023 16:37:13 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 273528] devel/py-awscli Doesn't work with OpenSSL 3 Message-ID: <bug-273528-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273528 Bug ID: 273528 Summary: devel/py-awscli Doesn't work with OpenSSL 3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: otis@FreeBSD.org Reporter: olivier@freebsd.org Flags: maintainer-feedback?(otis@FreeBSD.org) Assignee: otis@FreeBSD.org Doesn't work on head since OpenSSL 3: ~$ aws Traceback (most recent call last): File "/usr/local/bin/aws", line 19, in <module> import awscli.clidriver File "/usr/local/lib/python3.9/site-packages/awscli/clidriver.py", line 1= 7, in <module> import botocore.session File "/usr/local/lib/python3.9/site-packages/botocore/session.py", line 2= 6, in <module> import botocore.client File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 15= , in <module> from botocore import waiter, xform_name File "/usr/local/lib/python3.9/site-packages/botocore/waiter.py", line 18= , in <module> from botocore.docs.docstring import WaiterDocstring File "/usr/local/lib/python3.9/site-packages/botocore/docs/__init__.py", = line 15, in <module> from botocore.docs.service import ServiceDocumenter File "/usr/local/lib/python3.9/site-packages/botocore/docs/service.py", l= ine 14, in <module> from botocore.docs.client import ClientDocumenter, ClientExceptionsDocumenter File "/usr/local/lib/python3.9/site-packages/botocore/docs/client.py", li= ne 17, in <module> from botocore.docs.example import ResponseExampleDocumenter File "/usr/local/lib/python3.9/site-packages/botocore/docs/example.py", l= ine 13, in <module> from botocore.docs.shape import ShapeDocumenter File "/usr/local/lib/python3.9/site-packages/botocore/docs/shape.py", line 19, in <module> from botocore.utils import is_json_value_header File "/usr/local/lib/python3.9/site-packages/botocore/utils.py", line 37,= in <module> import botocore.httpsession File "/usr/local/lib/python3.9/site-packages/botocore/httpsession.py", li= ne 45, in <module> from urllib3.contrib.pyopenssl import ( File "/usr/local/lib/python3.9/site-packages/urllib3/contrib/pyopenssl.py= ", line 50, in <module> import OpenSSL.crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8= , in <module> from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 9, in <module> from OpenSSL._util import ( File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 167, in <module> Binding.init_static_locks() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 134, in init_static_locks cls._ensure_ffi_initialized() File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 123, in _ensure_ffi_initialized _legacy_provider_error(cls._legacy_provider_loaded) File "/usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openss= l/binding.py", line 43, in _legacy_provider_error raise RuntimeError( RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorith= ms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you = did not expect this error, you have likely made a mistake with your OpenSSL configuration. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273528-7788>