openwifipass icon indicating copy to clipboard operation
openwifipass copied to clipboard

Cryptodome.Cipher Module not found

Open scurth opened this issue 4 years ago • 1 comments

With python3 the import need to be adjusted:

openwifipass/GrantorHandler.py:

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

scurth avatar Jan 28 '21 19:01 scurth

You probably have not installed pycryptodomex as indicated in here: https://github.com/seemoo-lab/openwifipass/blob/8b63768ed5f69f943d2de8b668ae68ca3a01e089/setup.py#L43

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

schmittner avatar Jan 29 '21 12:01 schmittner