Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
94 stars 28 forks source link

0.4.45 broken on Arch Linux due to updates to cryptography dependency #513

Closed dvzrv closed 3 months ago

dvzrv commented 3 months ago

Hi! :wave:

The nitropy nk3 update command is broken (https://support.nitrokey.com/t/nitrokey-3-module-not-found-error/6044) due to changes in python-cryptography >=42.0.0.

It appears the openssl backend for RSA (and others) have been RiiR'd: https://github.com/pyca/cryptography/pull/9152

As your version requirement covers version 42.0.0, I think ideally the dependency on cryptography should be updated to be >= 42.0.0 and the code should be adjusted to support this.

dvzrv commented 3 months ago

Sorry, noticed to late that #512 had already been opened. I'll close this one