kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
758 stars 238 forks source link

Recipe for the cryptography module #786

Closed BitCode-in closed 1 year ago

BitCode-in commented 1 year ago

Good afternoon! Please add a recipe for the cryptography module. `Traceback (most recent call last): File "", line 44, in load_module File "/Users/bitcode/Projects/ios/test/dist/root/python3/lib/python3.9/imp.py", line 342, in load_dynamic File "", line 711, in _load File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "", line 1173, in create_module File "", line 228, in _call_with_frames_removed ImportError: dynamic module does not define module export function (PyInit_cryptography_hazmat_bindings__rust)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/bitcode/Projects/ios/test/test-ios/YourApp/main.py", line 5, in File "/private/var/containers/Bundle/Application/test.app/lib/python3.9/site-packages/cryptography/fernet.py", line 14, in from cryptography.hazmat.primitives import hashes, padding File "/private/var/containers/Bundle/Application/test.app/lib/python3.9/site-packages/cryptography/hazmat/primitives/padding.py", line 11, in from cryptography.hazmat.bindings._rust import ( File "", line 48, in load_module File "/Users/bitcode/Projects/ios/test/dist/root/python3/lib/python3.9/imp.py", line 342, in load_dynamic ImportError: dynamic module does not define module export function (PyInit__rust)`

misl6 commented 1 year ago

Duplicate of #733