Commit Graph

233 Commits (master)
 

Author SHA1 Message Date
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
scito 10fefacd2d add clean pipenv to README 1 year ago
scito b562ceb00a use Python 3.11 for pipenv 1 year ago
scito 3e1818619e add dev deps to Pipfile 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
1 year ago
scito a95a0d1325 upgrade devcontainer to Python 3.11 2 years ago
scito 302c45be99 generalize to upgrade_deps.sh and update Pipfile.lock 2 years ago
scito 354a4bdada improve steps in README.md 2 years ago
scito 13c4b6c7d4 enable Python 3.11 ci 2 years ago
dependabot[bot] 397534d5ef Bump protobuf from 4.21.7 to 4.21.8
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.21.7 to 4.21.8.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
scito 52d5c56890 use protobuf 4.21.8 2 years ago
dependabot[bot] 8bc7d8f035 Bump protobuf from 4.21.6 to 4.21.7
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.21.6 to 4.21.7.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
scito a60cbbb7bb ignore wheel files 2 years ago
scito 4546655cc5 add protoc upgrade script and update to protoc 21.6/protobuf 4.21.6 2 years ago
dependabot[bot] 39af5ab077 Bump protobuf from 4.21.5 to 4.21.6
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.21.5 to 4.21.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Roland Kurmann be4d0d37db
add default codeql-analysis.yml
This file enables security scans on GitHub.
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 fbefb3474c fix save_qr: dict notation is needed 2 years ago
scito 4baf406211 improve docu
- add help page to README.txt
- remove -p
- mention optional qrcode module
2 years ago
scito cd2d3258d3 handle not encoded + in query params, fixes #15
- add debug level, by givein parameter -vv
- if the base64 string is not urlencoded, then + will be replaced by a space,
  what cannot be decoded anymore
  --> replace spaces back to plus
- add test
2 years ago
scito df8b99dce4 add debug launch config for folder and workspace 2 years ago
scito 801c0e42d0 add technical spelling words, like TOTP 2 years ago
scito d7f4533c99 enable base64 decode validation
Enable validation for analyzing #15
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 4027677b38 add vscode settings.json 2 years ago
scito acab230436 improve README.md 2 years ago
scito 7fc69ea415 refactor to reduce complexity of extract_otps (main loop)
flake8 is happy now
2 years ago