Skip to content
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

Cryptodome.Cipher Module not found #2

Open
scurth opened this issue Jan 28, 2021 · 1 comment
Open

Cryptodome.Cipher Module not found #2

scurth opened this issue Jan 28, 2021 · 1 comment

Comments

@scurth
Copy link

scurth commented Jan 28, 2021

With python3 the import need to be adjusted:

openwifipass/GrantorHandler.py:

-from Cryptodome.Cipher import ChaCha20_Poly1305
+from Crypto.Cipher import ChaCha20_Poly1305

@schmittner
Copy link
Member

You probably have not installed pycryptodomex as indicated in here:

"pycryptodomex",

Note that pycryptodomex implements the Cryptodome interface, while pycryptodome uses the "old" Crypto interface (source).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants