On Tue, Mar 17, 2026 at 7:23 AM Illecors <[email protected]> wrote:

>     from cryptography.hazmat.bindings._rust import x509 as rust_x509
> ImportError: cannot import name 'x509' from
> 'cryptography.hazmat.bindings._rust'
> (unknown location)


Hello,

Hrm -- this certainly shouldn't happen.  Can you please give me the version
number of python3-cryptography you have installed (dpkg -l
python3-cryptography), as well as the output of the following two commands:

1. ls -l
/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/_rust.abi*.so
2. python3 -c "import
cryptography.hazmat.bindings._rust;print(cryptography.hazmat.bindings._rust);print(cryptography.hazmat.bindings._rust.x509)"

Thanks for your help!
-- 
Harlan Lieberman-Berg
~hlieberman

Reply via email to