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
2 years 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
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
scito
16d9fffc4a
add test for verbose output
2 years ago
scito
33bba8848a
add dependabot.yml
2 years ago
scito
2eaab5e3b5
update README and CI
2 years ago
scito
9d08ebaa38
add output tests
2 years ago
scito
eac342c0cc
fix optional QRCode import
2 years ago
scito
aaef496d4f
refactor tests, add utils
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
Roland Kurmann
fe61b995d8
Add GPL3 LICENSE
2 years ago
scito
daf20cd5fa
add badge to REAME
2 years ago
scito
8d3e634eed
add latest Python version to workflow
2 years ago
scito
175e7c38e5
refactor to satisfy flak8
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
scito
c344c45e04
fix unsued parameter
...
The parameter given in convert_secret_from_bytes_to_base32_str() was not used
in the method. Use it now.
2 years ago
Greg Weber
4107de019e
add a devbox.json to convenientally run this
...
see https://github.com/jetpack-io/devbox
2 years ago
scito
7a8ba31947
Fix #9 : add export to json and csv
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
Jeroen Lodder
5dc155f556
Use print_ascii to make it work in powershell
...
qr.print_tty() doesn't work on windows, but qr.print_ascii() does.
May look a bit less formatted, but can still be scanned
2 years ago