Commit Graph

113 Commits (912825034f763dbe361baca2435f32ce96ccbbdc)
 

Author SHA1 Message Date
scito 912825034f add zlib for alpine/arm64 docker image 2 years ago
scito 95e7d73173 mock no_args tests 2 years ago
scito 9f0872c2d0 extract from camera
- add help description
- use f-strings
- handle plural correctly
- rename methods, use otp_url instead of line
- remove importlib.util
- move cv2 imports to top
- remove unnecessary global delcarations
- group image tests
2 years ago
scito 7964c687f6 make running tests optional in docker build 2 years ago
scito 1d0b568b1e setup QEMU 2 years ago
scito aaa7bd3da1 build also on arm64 2 years ago
scito 5ab5f84ff3 add docker label for source 2 years ago
scito a4c4badd54 fix docker hub username 2 years ago
scito f272c35a1f enable docker push in ci_docker 2 years ago
scito e4e5271c0f github actions docker build no_qr_reader 2 years ago
scito 158564e79a fix to_bytes() mandatory byte_order 2 years ago
scito 672d18a5ca build docker images, run tests in docker build
- qreader_available flag
- echo commands in upgrade_deps.sh
2 years ago
scito 0490e227e1 docker image with qreader, 2nd image without qreader
- organize imports
- add qreader pytest.mark
- relaxed mode for pytest
- run tests in docker
- more tests
2 years ago
scito 2bcaa35251 organize imports 2 years ago
scito b0b4c29e7b improve README 2 years ago
scito e754befb52 refactor; update setup.py
more verbose logging
better error messages
2 years ago
scito 06b8efff62 add zypper and dnf for libzbar0 2 years ago
scito 5d0feacdba update README 2 years ago
scito 343520acb8 support multiple infiles 2 years ago
scito c2d7c905ff handle wrong stdin streams 2 years ago
scito bc329e24d5 renable libzbar 2 years ago
scito 4612ab6e7f catch zbar import error 2 years ago
scito 05db190de3 test qreader import 2 years ago
scito 0ad3c2d8ed change name to nightly tests 2 years ago
scito 31bb2909da fix ci jobs 2 years ago
scito c1a55fb874 test pypy only in nightly builds 2 years ago
scito 82da427d1a refactor code: extract method 2 years ago
scito af0d7ffd5d dynamic import of QReader
since this module has a dependency to zbar lib
2 years ago
scito 9a308b148f fix macOS ci 2 years ago
scito cd07851e30 install zbar lib 2 years ago
scito f4934192ae WIP 2 years ago
qwertyca 483fcc0163 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. 2 years ago
scito 65c52f4d81 skip verbose tests for pypy 2 years ago
scito 8ba4439305 add utf-8 encoding tests 2 years ago
scito 10bc6959a3 add python to vscode recommended extensions 2 years ago
u231053 a51507b701 fix #30: enforce utf-8 encoding
since windows used non-utf8-encoding
2 years ago
scito 7af4017910 ci: daily tests and order python from new to old
- more recent version first
2 years 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)
2 years ago
scito ca4a0bc7d2 improvements for - (stdout)
- - implies -q
- use add_mutually_exclusive_group for -v and -q
- adapt and improve tests
2 years ago
scito 1be4c7e0ef suppor writing csv and json to stdout; print errors to stderr
- add tests
2 years ago
scito fd1841f8dd update Pipfile.lock 2 years ago
scito 81c2cb498a add stdin pytest 2 years ago
scito 21c16ed44e add pypy Python versions 3.7, 3.8, and 3.9 to GitHub CI testing 2 years ago
scito 30638041d8 upgrade to protobuf 4.21.12 2 years ago
scito 892f4f92ae fix compatibility for Python < 3.11 2 years ago
scito bda0186d10 test wrong data and improve error handling 2 years ago
scito 96c8836a98 upgrade to protobuf 4.21.11 2 years 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
2 years 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>
2 years 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
2 years ago