[Bug 273813] ports-mgmt/fastest_pkg: RuntimeError: OpenSSL 3.0's legacy provider failed to load
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Sep 2023 05:40:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273813 Bug ID: 273813 Summary: ports-mgmt/fastest_pkg: RuntimeError: OpenSSL 3.0's legacy provider failed to load Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: grahamperrin@gmail.com Flags: maintainer-feedback?(ehaupt@FreeBSD.org) Assignee: ehaupt@FreeBSD.org % fastest_pkg -v Traceback (most recent call last): File "/usr/local/bin/fastest_pkg", line 33, in <module> sys.exit(load_entry_point('fastest-pkg==0.2.1', 'console_scripts', 'fastest_pkg')()) File "/usr/local/bin/fastest_pkg", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module = import_module(match.group('module')) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/fastest_pkg/fastest_pkg.py", line 15, in <module> import dns.resolver File "/home/grahamperrin/.local/lib/python3.9/site-packages/dns/resolver.py", line 30, in <module> import dns._ddr File "/home/grahamperrin/.local/lib/python3.9/site-packages/dns/_ddr.py", line 12, in <module> import dns.nameserver File "/home/grahamperrin/.local/lib/python3.9/site-packages/dns/nameserver.py", line 5, in <module> import dns.asyncquery File "/home/grahamperrin/.local/lib/python3.9/site-packages/dns/asyncquery.py", line 32, in <module> import dns.quic File "/home/grahamperrin/.local/lib/python3.9/site-packages/dns/quic/__init__.py", line 4, in <module> import aioquic.quic.configuration # type: ignore File "/usr/local/lib/python3.9/site-packages/aioquic/quic/configuration.py", line 6, in <module> from ..tls import ( File "/usr/local/lib/python3.9/site-packages/aioquic/tls.py", line 40, in <module> from OpenSSL import crypto File "/home/grahamperrin/.local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import SSL, crypto File "/home/grahamperrin/.local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 9, in <module> from OpenSSL._util import ( File "/home/grahamperrin/.local/lib/python3.9/site-packages/OpenSSL/_util.py", line 6, in <module> from cryptography.hazmat.bindings.openssl.binding import Binding File "/home/grahamperrin/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 167, in <module> Binding.init_static_locks() File "/home/grahamperrin/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 134, in init_static_locks cls._ensure_ffi_initialized() File "/home/grahamperrin/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 123, in _ensure_ffi_initialized _legacy_provider_error(cls._legacy_provider_loaded) File "/home/grahamperrin/.local/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/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 algorithms 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. % pkg iinfo fastest_pkg py39-fastest_pkg-0.2.1_1 % date ; uname -aKU Fri 15 Sep 2023 06:38:35 BST FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #10 main-n265135-07bc20e4740d-dirty: Sat Sep 2 17:36:59 BST 2023 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500000 1500000 % I assume that this will affect some people (not me alone). -- You are receiving this mail because: You are the assignee for the bug.