PiotrMachowski / Xiaomi-cloud-tokens-extractor

This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
MIT License
3.17k stars 327 forks source link

Add check if pycryptodome or pycryptodomex is installed #111

Open UberDudePL opened 7 months ago

UberDudePL commented 7 months ago

When running script on Ubuntu, you cannot use pip out of the box but sudo install python3-pycryptodome. When toy do it it actually installs pycryptodomex, which needs to use Cryptodome.Cipher to import