Package: python3-cryptography Version: 42.0.5-2 Severity: grave X-Debbugs-Cc: sramac...@debian.org
Importing cryptography.exceptions fails to import: >> import cryptography.exceptions Traceback (most recent call last): File "<input>", line 1, in <module> import cryptography.exceptions File "/usr/lib/python3/dist-packages/cryptography/exceptions.py", line 9, in <module> from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 921, in _load_unlocked File "<frozen importlib._bootstrap>", line 813, in module_from_spec File "/home/sebastian/development/bpython/bpython/curtsiesfrontend/repl.py", line 275, in _create_module module_object = self.loader.create_module(spec) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 se tting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration . This import error breaks at least paramiko. Cheers -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (650, 'unstable-debug'), (650, 'unstable'), (601, 'testing'), (600, 'experimental-debug'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.10.4-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages python3-cryptography depends on: ii libc6 2.39-7 ii libgcc-s1 14.2.0-2 ii libssl3t64 3.3.1-6 ii python3 3.12.5-1 ii python3-cffi-backend [python3-cffi-backend-api-min] 1.17.0-1 pn python3-cffi-backend-api-max <none> python3-cryptography recommends no packages. Versions of packages python3-cryptography suggests: pn python-cryptography-doc <none> pn python3-cryptography-vectors <none> -- no debconf information -- Sebastian Ramacher