Commit Graph

112 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 365d5ac432
use hub.docker for linux exe build
since it is more stable and thus faster
1 year ago
scito 88ff584e47
ci: workaround for failing builds 1 year ago
scito dbb5d8f755
workaround ghcr.io failed to copy
failed to copy: io: read/write on closed pipe

- use DockerHub instead of dhcr.io
- ref: https://github.com/containerd/containerd/issues/7972
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 f4bff86a5c fix curl upload windows
- set for pre-releases 99 in windows version
- fix TZ: use TZ=Europe/Zurich
1 year ago
scito cff5fe1cda
ci_release: ignore response and remove silent mode 1 year ago
scito 576b1e68c5
ci: ignore markdown files 1 year ago
scito 84e1922979
fix VERSION_PATCH for pre-tags, e.g. 1b1 1 year ago
scito 7f89168b92
ci_release: change order of build matrix 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 445d77783c update Pipfile.lock 1 year ago
scito f0134fa907 add zbar installation for archlinux [skip ci] 1 year ago
scito e0588285c9 require qreader < 2.0.0 due to breaking changes
- add more classifiers
1 year ago
scito ff9401687e ci: do not run ci tests on pull_request 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 5e439b9396 update Pipfile.lock packages 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 b215b78dad test extract_otps_from_camera() 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 2bef64e5f6 ci: no Pytest coverage comments for tags
Create commit comment
##[error]HttpError: No commit found for SHA: 19b3368
##[error]No commit found for SHA: 19b3368
1 year ago
scito 3502294172 remove dependency to module and fix build script 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
qwertyca 915efcf192 Add the ability so provide an image file as the infile. If the file contains a QR code generated by Google Authenticator's "Transfer Accounts" function, it will be decoded directly in a single step. This is meant to help users who need to access their secrets from Google Authenticator but don't have a QR code decoder and don't want to use an online one due to security concerns. 1 year ago
scito 65c52f4d81 skip verbose tests for pypy 1 year ago
scito 8ba4439305 add utf-8 encoding tests 1 year ago
scito 10bc6959a3 add python to vscode recommended extensions 1 year ago
u231053 a51507b701 fix #30: enforce utf-8 encoding
since windows used non-utf8-encoding
1 year ago
scito 7af4017910 ci: daily tests and order python from new to old
- more recent version first
1 year ago
scito 7af631ff1e ci: setup testing for linux, macos and windows platforms
- fix ci for windows: remove bash if/fi
- exlucde failing test from windows
- enable scheduled tests
- use --use-pep517 for pip install: avoid deprecation message
- exlcude windows-latest and pypy-3.9 since there is a problem with installing (missing zlib.h)
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 fd1841f8dd update Pipfile.lock 1 year ago
scito 81c2cb498a add stdin pytest 1 year ago
scito 21c16ed44e add pypy Python versions 3.7, 3.8, and 3.9 to GitHub CI testing 1 year ago
scito 30638041d8 upgrade to protobuf 4.21.12 1 year ago
scito 892f4f92ae fix compatibility for Python < 3.11 1 year ago
scito bda0186d10 test wrong data and improve error handling 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
dependabot[bot] 5783d086ad Bump pylint from 2.15.7 to 2.15.8
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.7 to 2.15.8.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.15.7...v2.15.8)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
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
Wu Tingfeng eae01a07d5
Test mutually exclusive arguments verbose and quiet (#25) 1 year ago