holzschu / holzschu/a-shell

python cryptography upgrade

Open
#797 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

I needed a more up to date version of cryptography than the one installed in a-shell (3.4.8). I did `pip install --upgrade cryptography` which installed 42.0.8 (`cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl`)

But importing it fails since it tries to `dlopen` some modules - I guess cryptography upgrades need to be built into a-shell?

```
from cryptography.exceptions import InvalidTag, InvalidSignature, InvalidKey
File "/var/mobile/Containers/Data/Application/AA0C3C03-0398-47DC-872D-D3010AF622BF/Library/lib/python3.11/site-packages/cryptography/exceptions.py", line 9, in
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: dlopen(/private/var/containers/Bundle/Application/E1ED0679-433D-4384-8027-5DB8DA992CD1/a-Shell.app/Frameworks/python3_ios-cryptography.hazmat.bindings._rust.framework/python3_ios-cryptography.hazmat.bindings._rust, 0x0002)
: tried: '/private/var/containers/Bundle/Application/E1ED0679-433D-4384-8027-5DB8DA992CD1/a-Shell.app/Frameworks/python3_ios-cryptography.hazmat.bindings._rust.framework/python3_ios-crypto
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.