Commit Graph

19 Commits (a467955b13d53fdb775fc8638f48e563aaaffc25)

Author SHA1 Message Date
scito 8e70ae9da9 bump protobuf to 24.0, cv2 and mypy 10 months ago
scito 15cbd77b07 improve numpy typing 10 months ago
scito 2610afe5d8 remove Python 3.7 workarounds, fixes #103 10 months ago
scito a0cf4246c1 remove deprecated pkg_resources package 10 months ago
scito 7c295e0963 fix #106: avoid UnboundLocalError for count_Xotp_entries: check has_Xotp 10 months ago
scito 72bac4d951 bump versions: cv2 4.8 compatibility 11 months ago
scito 994f96f749 Upgrade protobuf 23.0 1 year ago
scito 419f65fdea
improve pyzbar missing warning; bump libs 1 year ago
scito 6bf02d045c write txt file in cv2 and cmd; upgrade protobuf 4.22.0 1 year ago
scito 78118c73e8 make zbar lib optional
- refactor: global variable renaming
1 year ago
scito 7faf530863 reproducible builds, build.sh: linux/arm64 1 year ago
scito d234cf4112 cv2: fix save as csv/json/keepass 1 year ago
scito 970dbd3759 cv2: save as csv/json/keppass by key command 1 year ago
scito 6a7a7233a4 build and upload executables created by PyInstaller
- create release on tag push
- build executables by PyInstaller:
    - extract_otp_secrets_linux_x86_64 (glibc 2.28)
    - extract_otp_secrets_win_x86_64.exe
    - extract_otp_secrets_macos_x86_64 (untested)
- add --version
- build linux executable in docker container
- update README
    - add TOC
    - improve badges
    - add PyInstaller section
- docker
    - build BASE_IMAGE as ARG
    - copy only required files to image
    - add .alias
- build.sh
    - fix clean
    - fix generate results
    - generate TOC
1 year ago
scito 2478edb7a1 decode only QR in zbar (which avoids assertion pdf417)
Warning on Windows:
WARNING: .\zbar\decoder\pdf417.c:89: <unknown>: Assertion "g[0] >= 0 && g[1] >= 0 && g[2] >= 0" failed.

        dir=0 sig=1b455 k=3 g0=04a g1=ffffffff g2=b78 buf[0000]=
1 year ago
scito ec09b5daad improve README; add google-authenticator-exporter link 1 year ago
scito 2ed923591e use only cv2_draw_box, move core functions to top
- improve camera test
- add more tests
- improve README
    - add "How to export otp secrets from Google Authenticator app"
    - reorder: put usage before installation
    - add "Full local build"
1 year ago
scito b215b78dad test extract_otps_from_camera() 1 year ago
scito 4ba0fad000 capture QR codes from camera and major refactoring
- add GUI for QR code capturing from camera (CV2 is used)
- support different QR readers: ZBAR,QREADER,QREADER_DEEP,CV2,CV2_WECHAT
- support several input files
- add option to ignore duplicate otps
- write warnings and errors to stderr
- add output coloring
- rename project from extract_otp_secret_keys to extract_otp_secrets
- improve help
- clean verbose level output
- use Python type hints and check with mypy
- use f-strings
- clean up code
- add more tests
- calculate code coverage
- use src-layout: move files and folders
- support wheel packing
- enhance README.md
- bugfixes
    * fix -k -
    * fix utf-8 encoding on windows
1 year ago