scito / extract_otp_secrets

Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
https://scito.ch/content/extract-secret-keys-google-authenticator-qr-export
GNU General Public License v3.0
1.12k stars 137 forks source link

Installation of zbar with Archlinux #43

Closed mastromberger closed 1 year ago

mastromberger commented 1 year ago

Hi Can you please add follwing to Installation of shared system libraries for Archlinux? pacman -S zbar

Without zbar I've got following python src/extract_otp_secrets.py example_export.txt

ERROR: Cannot import QReader module. This problem is probably due to the missing zbar shared library. On Linux and macOS libzbar0 must be installed. See in README.md for the installation of the libzbar0. Exception: Unable to find zbar shared library

After the command "pacman -S zbar" everything worked fine

greetings Martin Stromberger

scito commented 1 year ago

Thanks for your input! I've added it for Arch Linux.