Closed arthur-proglove closed 10 months ago
Interestingly enough, the issue already appears on 38.0.4 but not on 38.0.1
I ran into the same issue with cryptography 40.0.1.
The following import causes it in my case:
>>> from cryptography.hazmat.primitives import padding
Illegal instruction
Cross verified version 39.0.2: same behaviour.
Digging deeper rust bindings seem to be the root cause:
>>> from cryptography.hazmat.bindings._rust import (
... check_ansix923_padding,
... check_pkcs7_padding,
... )
Illegal instruction
Fixed
Package name
cryptography
Package version
39.0.2
PyPI URL
https://pypi.org/project/cryptography/
piwheels URL
https://www.piwheels.org/project/cryptography/
Python version
I am the maintainer
More information
The cryptography package is causing a
Illegal instruction
on my Raspberry Pi 0 W. I tried with the Raspbian image 2022-04-04 and 2023-02-21. I did not debug further so I am not sure where the incompatibility comes from.