Roland Kurmann
13231a4f61
support Python 3.14 ( #453 )
...
* support Python 3.14
* update Python in Docker containers
2025-11-14 16:01:13 +01:00
scito
8dd1db7081
update protobuf 5.33.0
2025-10-17 20:12:27 +02:00
scito
5febef269a
update protobuf to 5.32.1
2025-09-13 15:29:16 +02:00
scito
dab2599d29
fix: add comments for Gtk2/3-workarounds in OpenCV window handling
2025-07-11 16:51:44 +02:00
Nova Hahn
d04902e749
Don't immediately close window on Gtk 2/3
...
OpenCV does not implement WND_PROP_VISIBLE when compiled with Gtk 2 or 3.
Instead it always returns -1, which extract_otp_secrets interprets as the
window having been closed.
See https://github.com/opencv/opencv/issues/25346 , which is marked as closed
but actually still present in OpenCV 4.11.
2025-07-11 14:05:19 +02:00
scito
c11854e164
fix: add flake8 workaround for tk_root
2025-06-27 08:56:02 +02:00
scito
949ee29fa4
upgrade Protobuf 6.31.1
2025-06-14 09:47:44 +02:00
scito
f82c79aa7d
build(deps-dev): bump protobuf from 6.30.2 to 6.31.0 and update related documentation
2025-05-16 08:42:19 +02:00
scito
7fa0e3f555
build: update protobuf version to 6.30.2 in generated files and README
2025-03-29 08:04:01 +01:00
scito
b6ab6417cb
build(deps): update protobuf to version 6.30.1
2025-03-15 09:30:48 +01:00
scito
10a60ab556
fix mypy error
...
src/extract_otp_secrets.py:707: error: Argument 1 to "save" of "PyPNGImage" has incompatible type "str"; expected "SupportsWrite[bytes]" [arg-type]
2025-02-08 09:12:45 +01:00
scito
00d25e89d9
build(deps): bump opencv-python to 4.11.0.86 and protobuf to 5.29.3
2025-01-25 12:22:12 +01:00
scito
e665d159f6
upgrade deps and fix errors
2024-12-25 10:38:34 +01:00
scito
6a2dc80ad4
upgrade to protobuf 5.29.1; add one missing type
2024-12-06 19:15:58 +01:00
scito
b54974e584
support glob expansion for infiles, fixes #328
...
Glob expansion for infiles is useful in environments where there is no expansion in the shell, e.g. on Windows.
2024-12-01 18:39:04 +01:00
scito
a2845556a4
upgrade to protobuf 5.29.0
2024-11-28 21:40:53 +01:00
scito
eb8bb38aa5
update deps
2024-10-24 19:17:08 +02:00
scito
5d5453231f
upgrade to protobul 5.28.2
2024-09-27 12:05:18 +02:00
scito
fce36ee279
workaround Windows fatal exception: access violation in log_debug *values: enable ci win tests again
2024-09-08 16:55:42 +02:00
scito
64980e71df
update to protobuf to 5.28.0, fix test and remove mypy ignore
2024-08-30 10:37:45 +02:00
scito
ec05910347
update protobuf to 5.27.2 and other deps
2024-06-30 10:08:58 +02:00
scito
77cdf7e41f
update deps: protobuf, cv2
2024-06-07 19:25:53 +02:00
scito
7f314cedd8
bump protobuf from 5.26.1 to 5.27.0
2024-05-28 22:14:21 +02:00
scito
a822abbba1
add export of plain otpauth url list, fix #196
2024-04-01 10:57:53 +02:00
scito
f9ce96fb57
improve cv2 typging; bump versions
2024-01-12 11:01:34 +01:00
scito
8e70ae9da9
bump protobuf to 24.0, cv2 and mypy
2023-08-12 12:44:45 +02:00
scito
15cbd77b07
improve numpy typing
2023-08-06 21:45:56 +02:00
scito
2610afe5d8
remove Python 3.7 workarounds, fixes #103
2023-08-06 19:29:59 +02:00
scito
a0cf4246c1
remove deprecated pkg_resources package
2023-08-06 19:29:59 +02:00
scito
7c295e0963
fix #106 : avoid UnboundLocalError for count_Xotp_entries: check has_Xotp
2023-07-23 14:32:42 +02:00
scito
72bac4d951
bump versions: cv2 4.8 compatibility
2023-07-07 12:43:38 +02:00
scito
994f96f749
Upgrade protobuf 23.0
2023-05-14 19:37:03 +02:00
scito
419f65fdea
improve pyzbar missing warning; bump libs
2023-03-05 11:53:52 +01:00
scito
6bf02d045c
write txt file in cv2 and cmd; upgrade protobuf 4.22.0
2023-02-17 19:22:58 +01:00
scito
78118c73e8
make zbar lib optional
...
- refactor: global variable renaming
2023-02-05 21:24:57 +01:00
scito
7faf530863
reproducible builds, build.sh: linux/arm64
2023-02-05 21:24:57 +01:00
scito
d234cf4112
cv2: fix save as csv/json/keepass
2023-01-30 11:28:07 +01:00
scito
970dbd3759
cv2: save as csv/json/keppass by key command
2023-01-29 16:50:55 +01:00
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
2023-01-24 21:19:38 +01:00
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]=
2023-01-13 21:28:38 +01:00
scito
ec09b5daad
improve README; add google-authenticator-exporter link
2023-01-06 10:13:51 +01:00
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"
2023-01-04 23:12:38 +01:00
scito
b215b78dad
test extract_otps_from_camera()
2023-01-03 23:51:33 +01:00
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
2023-01-03 00:28:32 +01:00