Commit Graph

49 Commits (970dbd37590c9251d4257a47a838584d18c87805)

Author SHA1 Message Date
scito 970dbd3759 cv2: save as csv/json/keppass by key command 1 year ago
scito 197347a3e9
update README 1 year ago
scito 580f94256f Add files of Visual C++ 2013 Redistributable Package
- add files of vcredist_x64.exe as binary data to pyzbar
- thus avoid manual installation of vcredist_x64.exe
- test all qr readers in exe smoketests
- improve README
1 year ago
scito cff5fe1cda
ci_release: ignore response and remove silent mode 1 year ago
scito b9f17c4a95
rename build docker jobs 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 f0134fa907 add zbar installation for archlinux [skip ci] 1 year ago
scito 5c4d3ce696 improve README 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 36fd0c0bb6 add test keepass with no data 1 year ago
scito 851cb6532c improve build and README
- clean pip
- do not use sudo anymore
- add missing mypy-protobuf package
- sort package dependencies
- fix order of build calls
- add frame color docu to README
1 year ago
scito 2707e244be update README 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
scito 9d052dc78a refactor image import and add Alpine docker image
- dynamic import of QR reader
- build docker also for arm64
1 year ago
scito ca4a0bc7d2 improvements for - (stdout)
- - implies -q
- use add_mutually_exclusive_group for -v and -q
- adapt and improve tests
1 year ago
scito 1be4c7e0ef suppor writing csv and json to stdout; print errors to stderr
- add tests
1 year ago
scito 30638041d8 upgrade to protobuf 4.21.12 1 year ago
scito 96c8836a98 upgrade to protobuf 4.21.11 1 year ago
scito c44a3f45de add pip installation; improve README
- improve README
    - add Installation section
    - add Features section
    - add Glossary
    - add related projects

- add setup.py for pip installation:
    pip install git+https://github.com/scito/extract_otp_secret_keys
1 year ago
scito a77e775948 add keepass csv export; improve hotp
- export to dedicated totp and hotp csv files for KeePass
- show Typ as totp/hotp instead of OTP_TOTP/OTP_HOTP
  (BREAKING CHANGE in csv, json and stdout, qr codes or urls are not affected)
- add hotp example
- add hotp tests
- export counter for hotp to csv and json files
- add section on KeePass to README
- increase protobuf to 4.21.10
- show file names of exported csv or json files
1 year ago
scito 10fefacd2d add clean pipenv to README 1 year ago
Ilya Kaznacheev d08195507e
Add docker as installation option (#23)
* Add docker as installation option

* Add newline to Dockerfile

* Fix example typo

* Add code review fixes
2 years ago
scito 354a4bdada improve steps in README.md 2 years ago
scito 52d5c56890 use protobuf 4.21.8 2 years ago
scito 4546655cc5 add protoc upgrade script and update to protoc 21.6/protobuf 4.21.6 2 years ago
scito 3933e6ed8a add #StandWithUkraine 2 years ago
scito dbfd3464f2 save qr code to specific dir, improve help, add tests
- use metavar for files and dirs in help
- support several recursive dirs in saveqr
- add saveqr and debug tests
2 years ago
scito 4baf406211 improve docu
- add help page to README.txt
- remove -p
- mention optional qrcode module
2 years ago
scito 9beb98693c README: link badges, add protobuf 2 years ago
scito fbde835601 enable pytest in vscode and mention it in README 2 years ago
scito fb4cee14da add VSCode devcontainer setup 2 years ago
scito acab230436 improve README.md 2 years ago
scito 2eaab5e3b5 update README and CI 2 years ago
scito 9d08ebaa38 add output tests 2 years ago
scito cf91108c3f add badges to README, rename CI file to ci.yml
- add python and license badge to README
- rename GitHub Workflow actions file to ci.yml
2 years ago
scito fef46dcfba support pipenv 2 years ago
scito daf20cd5fa add badge to REAME 2 years ago
scito 7f8250c0a6 add github test action and add pytest 2 years ago
scito c0d1cf6c51 upgrade to protobuf 4.21.5, add quiet mode, refactor code, add unit test
- update README.txt
- rename generated code directory
- refactor code:
    - extract methods
    - make code testable
2 years ago
Greg Weber 4107de019e add a devbox.json to convenientally run this
see https://github.com/jetpack-io/devbox
2 years ago
Michael Iseli bf96148461 Add python virtual env instructions
This change adds instructions on how to setup a python virtual env for this
repo.
In addition, the respective requirements files have been added for easy
installation with pip.
2 years ago
scito 6f884b4d05 add "known to work" in readme 3 years ago
scito b354c3d80d fix example in readme, generate with protoc 3.14 3 years ago
FrankAbagnaleJr cc26f7b589
Option to save QR codes as PNG (#2)
* Generate QR code images

Now generates QR images instead of attempting to display the QR code in the console. Places them in a subdirectory of the current directory, entitled "qr"

* Update README.md

* Changes based on suggestions from scito

https://github.com/scito/extract_otp_secret_keys/pull/2#pullrequestreview-555264890

* Update extract_otp_secret_keys.py

Minor formatting changes and clarifications to help text

* Update extract_otp_secret_keys.py

Remove --qr argument, instead opting to respond to --printqr or --saveqr
3 years ago
scito 9f166d66b4 use backtick for url protocol 4 years ago
scito b19c505fb8 fix typos 4 years ago
scito eede2780e0 fix refs 4 years ago
scito c16a9b7e93 add readme 4 years ago