-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Error importing "sshkey_tools.keys" (Module 'openssl' has no attribute 'ed25519') #33
Comments
Let me check this, the Cryptography library recently made some changes to their structure which caused some issues a while back. |
Hello! My Python version is 3.9.6. A teammate with Python 3.11 has the same issue. |
This comment was marked as outdated.
This comment was marked as outdated.
Hi, nevermind the last comment. I was able to reproduce this with the Cryptography version at <41, looks like I forgot to add that constraint to the requirements when I updated the code for the newer versions. You could try manually upgrading that library by running |
Hello @scheibling . I have followed the steps and now I don't have any problem with the library. Thank you very much! |
Fantastic, thank you for the feedback! I'll send out 0.10.2 (#34) in a little bit which has the minimum versions specified, you shouldn't need to run into this in the future |
Error importing:
from sshkey_tools.keys import (
RsaPrivateKey,
EcdsaPrivateKey,
Ed25519PrivateKey,
EcdsaCurves
)
AttributeError: module 'openssl' has no attribute 'ed25519'
Few days ago, it worked perfectly fine. Now I am not able to work with this library. I tried to uninstall, update and go back older versions, didn't work.
The text was updated successfully, but these errors were encountered: