6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-04 02:48:27 +00:00

fix: RsaKey.dq attribute error

Running `tutor config save` with an outdated version of pycryptodome was
failing with the following error:

    Error: Missing configuration value: 'Crypto.PublicKey.RSA.RsaKey object' has no attribute 'dq'

This is because the "dq" attribute was only introduced in pycryptodome
3.17.0: https://www.pycryptodome.org/src/changelog#january-2023

To resolve this issue we bump the minimum requirements.

Close #962
This commit is contained in:
Régis Behmo 2023-12-14 11:10:44 +01:00 committed by Régis Behmo
parent afb85aaab6
commit 68203f47be
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- [Bugfix] Error "'Crypto.PublicKey.RSA.RsaKey object' has no attribute 'dq'" during `tutor config save` was caused by outdated minimum version of the pycryptodome package. To resolve this issue, run `pip install --upgrade pycryptodome`. (by @regisb)

View File

@ -3,6 +3,6 @@ click>=8.0
jinja2>=2.10
kubernetes
mypy
pycryptodome
pycryptodome>=3.17.0
pyyaml>=6.0
typing-extensions>=4.4.0