duo-bypass
duo-bypass copied to clipboard
feature: duo_activate.py read text from qr.png
Hi,
This PR simplifies the duo_activate.py for the user by automatically reading the QR code in the image qr.png. The QR code png can either be directly copied from the browser ("Save Image As...") or by creating a screenshot.
If the QR code is not recognized by cv2 or the file does not exist, the user will be asked for the QR code text value.
This PR also includes:
- Write to duotoken.hotp fix: https://github.com/revalo/duo-bypass/pull/4
- Added pyqrcode to requirements.txt
Thank you very much for your work!