simone36050 / PosteID-seed-extractor

Uno strumento per estrarre il seed OTP dell'app PosteID
MIT License
13 stars 2 forks source link

debian bookworm workaroud #4

Open AnthillSudoku opened 3 months ago

AnthillSudoku commented 3 months ago

Hi, just for references:

debian bookworm manages python by itself and not pip. To make PosteID-seed-extractor works I had to

  1. install all correspondent packages listed in requirements.txt, basically "python3-package_name"

sudo aptitude install python3-certifi python3-certifi python3-charset-normalizer python3-idna python3-pycparser python3-pycryptodome python3-pyotp python3-qrcode python3-requests python3-urllib3 python3-wrapt

  1. then to fix "No module named 'Crypto'" issue

ln -s /usr/lib/python3/dist-packages/Cryptodome /usr/lib/python3/dist-packages/Crypto

secret type

the secret type is SHA-1 / 120 sec / 6 digits this was not clearly explained in the readme, maybe it would be nice to add it. However, you see it in the otp URL

KeepassXC 2.7.4

If you have debian bookworm and use keepassxc 2.7.4, you got a wrong OTP since times longer than 60 sec have been implemented in 2.7.5. Just use KeepassDX for android.