Commit Graph
100 Commits
Author SHA1 Message Date
scito edf405eda6 fix: add 'apt-get update' before installing libzbar0 in CI workflows
avid error after "sudo apt-get install -y libzbar0":

The following additional packages will be installed:
  libdjvulibre-text libdjvulibre21 libimath-3-1-29t64 libjxr-tools libjxr0t64
  libmagickcore-6.q16-7-extra libopenexr-3-1-30 libv4l-0t64 libv4lconvert0t64
  libwmflite-0.2-7

...

Err:1 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 libdjvulibre-text all 3.5.28-2ubuntu0.24.04.1
  404  Not Found [IP: 91.189.92.21 80]
Err:2 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 libdjvulibre21 arm64 3.5.28-2ubuntu0.24.04.1
  404  Not Found [IP: 91.189.92.21 80]
Fetched 1590 kB in 3s (487 kB/s)
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/d/djvulibre/libdjvulibre-text_3.5.28-2ubuntu0.24.04.1_all.deb  404  Not Found [IP: 91.189.92.21 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/d/djvulibre/libdjvulibre21_3.5.28-2ubuntu0.24.04.1_arm64.deb  404  Not Found [IP: 91.189.92.21 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.
2026-03-06 13:47:52 +01:00
scito 4fb1d7b931 fix: uv for gitforwin [skip ci] 2026-01-31 16:09:53 +01:00
scito 74d95d2437 upgrade protobuf to 6.33.5 (fix security problem)
Cause: protobuf affected by a JSON recursion depth bypass:

A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages.

Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.
2026-01-31 14:08:43 +01:00
scito a1e3873063 update protobuf 33.4 2026-01-16 17:19:15 +01:00
scito 6af1e80efb support numpy 2.4 2026-01-01 21:04:29 +01:00
scito e8838676b2 add uv to build.sh 2025-12-13 17:13:30 +01:00
scito c31ca93c53 add uv 2025-12-13 17:13:30 +01:00
scito 214662e419 remove useless --use-pep517 in build.sh 2025-12-03 21:02:19 +01:00
scito 865aaaef28 fix: set binary in .gitattributes 2025-11-23 08:50:07 +01:00
scito 7616ee094f docs: update README Linux dependency instructions
Fixes #176
2025-11-23 08:49:39 +01:00
scito 8856f648f6 docs: fix coverage 2025-11-16 16:05:18 +01:00
scito 000acbf8b9 fix: skip only -vvv on windows, run other tests 2025-11-15 21:15:30 +01:00
scito bb852f382b docs: add Linux podman 2025-11-15 14:44:18 +01:00
scito 1be8e4ed1c fix: git for win changes 2025-11-15 14:44:18 +01:00
scito 3d0be22e4a feat: build.sh compatible with podman in WSL2 2025-11-15 14:44:18 +01:00
scito c38ebd4d1a fix: update podman run command for git for win 2025-11-15 14:44:18 +01:00
scito 531f9660f3 feat: add docker env variable 2025-11-15 14:44:18 +01:00
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
Roland Kurmann 2b990376a6 Gitforwin (#468)
* adapt to git for win

- fix numpy in order to avoid need for compilation
- use Python 3.14

* update build.sh pipenv

* fix(deps): update numpy version constraints for Python compatibility in requirements.txt

* fix(deps): update numpy version constraints for more flexibility

* fix(deps): specify numpy versions and use pip install --dev

* revert pip install -U --dev

* add install mesa-libGL for Fedora

* add gitattributs
2025-11-14 14:02:14 +01:00
scito 8dd1db7081 update protobuf 5.33.0 2025-10-17 20:12:27 +02:00
scito 6b1bc4ee06 update Pipfile.lock 2025-10-12 15:16:01 +02:00
scito f4b81d890c disable setuptools in pyproject.toml due to failing dependabot 2025-10-11 21:20:18 +02:00
scito 7ab0744495 disable Python 3.14 on windows due to failing tests 2025-10-11 21:20:18 +02:00
scito 0a0baebaad fix: comment out macOS 14 build configuration in CI workflow 2025-10-05 17:03:25 +02:00
scito 96e92dc295 fix: update CI configuration to use macOS 15 instead 13 for intel 2025-10-05 17:03:25 +02:00
scito 6b163cd377 update manually Pipfiles and try to fix Depandabot errors
fixed version colorama to 0.4.6 and qreader to 1.3.2
2025-10-05 15:56:49 +02:00
scito c9d30e8aca fix: update setuptools requirement to version 80.0.0 or higher 2025-10-05 14:54:06 +02:00
scito 3aad6677d8 fix: remove failing ci-tests 2025-09-19 14:10:50 +02:00
scito 957a9d1f8f fix: update CI configuration to include additional platforms and ensure prerelease support 2025-09-19 14:10:50 +02:00
scito d6677623ec fix: add Python 3.14 and threaded versions, update actions 2025-09-19 14:10:50 +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
scito 37738e8990 upgrade to opencv 4.12.0.88 2025-07-11 14:57: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 716194da48 fix Pipfile and Pipfile.lock 2025-05-22 22:42:47 +02:00
scito e0dac0fd99 fix: update python_requires to support Python 3.9 and above 2025-05-19 08:03:48 +02:00
scito 3899f5f826 docs: add Copilot instructions for coding standards and tone 2025-05-16 08:42:34 +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 b09d2c6c1f docs: update README to include Docker Hub and GitHub Packages links for prebuilt images 2025-03-15 13:39:03 +01:00
scito 208e6e60fc ci: add support for SBOM generation in Docker CI workflow 2025-03-15 10:43:24 +01:00
scito 1851664c96 ci: enable provenance for Docker images in CI workflow 2025-03-15 10:43:24 +01:00
scito ab0cd6717a ci: update docker/build-push-action to version 6 2025-03-15 10:43:24 +01:00
scito ccb52cc8b5 ci: fix conditional push for alpine images 2025-03-15 09:30:48 +01:00
scito 41ed2b62d4 build: drop support for Python 3.8 and require Python 3.9 or higher 2025-03-15 09:30:48 +01:00
scito b6ab6417cb build(deps): update protobuf to version 6.30.1 2025-03-15 09:30:48 +01:00
scito e857912c74 ci: add cleanup job for old container images on ghcr.io 2025-03-09 13:16:21 +01:00
scito 494a9f8446 ci: check master and secret_source for multiarch manifest creation 2025-03-03 22:06:25 +01:00
Roland Kurmann d5a8b6f0c0 ci: fix digest artifact names for multi-platform Docker builds (fix #367) (#376)
* ci: fix digest artifact names for multi-platform Docker builds

* ci: remove unused platforms parameter from Docker build steps

* ci: push Docker images exceptionally on feature branch

* ci: update Dockerfile to include uname command and fix label formatting

* ci: update CI workflow to set platforms dynamically for Docker builds

* ci: disable arm64 docker

* ci: only arm64 docker

* ci: update CI workflow for multiarch Docker builds and manifest creation

* ci: add multiarch manifest creation

* ci: fix multiarch manifest for loop

* ci: restore push conditions for Docker image builds

* ci: restore push conditions for Docker image builds
2025-03-01 20:19:15 +01:00
Roland Kurmann 95c34277ca ci: add additional ci test platforms ubuntu-24.04-arm and macos-13 (#372)
* ci: add support for ubuntu-24.04-arm and macos-13 in CI workflow

* ci: update CI workflows to include Python 3.x and enhance macOS build configurations

* ci: update Docker Buildx image to latest version

* ci: push bullseye image also to ghcr

* ci: run Docker natively on amd64 and arm64, avoid qemu emulation

* ci: fix native docker releases

* ci: comment out macOS build steps due to missing zbar shared library
2025-03-01 13:12:48 +01:00
scito ca6ca1f0e6 ci: push bullseye image also to ghcr 2025-03-01 11:12:27 +01:00
scito 026db54551 ci: update Docker Buildx image to latest version 2025-03-01 11:05:15 +01:00
scito 7557ae125a build(deps): update deps and fix toc 2025-02-22 09:12:30 +01:00
scito f94120b84c ci: remove workaround for Docker Buildx failing builds 2025-02-22 09:12:30 +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 38e7e8b40b fix and improve README.md (fixes #347)
- fix docker tag
- improve podman compatibility (add repo domain)
2025-02-08 09:11:27 +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 fa8506935f add python 3.13 to pyproject.toml; bump numpy 2024-12-14 11:47:58 +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 d2993c093c fix readme: remove duplicated toc 2024-11-10 10:46:57 +01:00
scito c9a2784e56 upgrade deps 2024-11-10 10:46:37 +01:00
scito 396071f15a set Docker base image to Python 3.13; fix README 2024-10-25 21:25:22 +02:00
scito 6503b442f1 comment out native macos-12 release build instead of exclude
since exclude failed in release build
2024-10-25 20:38:08 +02:00
scito eb8bb38aa5 update deps 2024-10-24 19:17:08 +02:00
scito d486a94c6f disable macos releases due to build failures
FileNotFoundError: Icon input file /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/PyInstaller/bootloader/images/icon-windowed.icns not found
2024-10-24 18:55:34 +02:00
scito ee932c05e3 use Python 3.13 in Docker 2024-10-24 18:55:34 +02:00
scito e13a4584fb add Pythion 3.13 to README 2024-10-20 10:54:36 +02:00
scito 91e2efe7e1 upgrade deps 2024-10-13 12:49:50 +02:00
scito b5442a0d94 test python 3.13 in CI 2024-10-13 11:57:13 +02:00
Roland Kurmann 2318c3a185 Merge pull request #298 from scito/dependabot/pip/qrcode-8.0
build(deps): bump qrcode from 7.4.2 to 8.0
2024-10-07 18:29:22 +02:00
Roland Kurmann f07db1b74f Merge pull request #297 from scito/proto_5282
upgrade to protobul 5.28.2
2024-09-28 10:07:10 +02:00
scito 5d5453231f upgrade to protobul 5.28.2 2024-09-27 12:05:18 +02:00
Roland Kurmann 5d7afeeed3 Merge pull request #295 from scito/dependabot/pip/pylint-3.3.1
build(deps-dev): bump pylint from 3.3.0 to 3.3.1
2024-09-27 09:19:43 +02:00
Roland Kurmann 6c54a438cb Merge pull request #294 from scito/dependabot/pip/pylint-3.3.0
build(deps-dev): bump pylint from 3.2.7 to 3.3.0
2024-09-23 09:36:11 +02:00
Roland Kurmann 9b8c79b232 Merge pull request #288 from scito/dependabot/pip/pytest-8.3.3
build(deps-dev): bump pytest from 8.3.2 to 8.3.3
2024-09-11 20:33:03 +02:00
scito 7c31f988c8 improve macOS cmd instructions, fixes #283 2024-09-08 16:59:25 +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 9463dc3e88 add network none to docker run which fixes #284 2024-09-08 12:57:59 +02:00
scito 5986cf32ff disable CI tests on Windows due to
2024-08-30T07:49:08.0488465Z tests\extract_otp_secrets_img_unit_test.py ....                          [  3%]
2024-08-30T07:49:09.6248858Z Windows fatal exception: access violation
2024-08-30T07:49:09.6249406Z
2024-08-30T07:49:09.6249686Z Current thread 0x000014f4 (most recent call first):
2024-08-30T07:49:09.6251542Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 919 in log_debug
2024-08-30T07:49:09.6254028Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 220 in get_payload_from_otp_url
2024-08-30T07:49:09.6255710Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 227 in extract_otp_from_otp_url
2024-08-30T07:49:09.6257046Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 537 in extract_otps_from_files
2024-08-30T07:49:09.6258334Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 327 in extract_otps
2024-08-30T07:49:09.6259459Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\extract_otp_secrets.py", line 185 in main
2024-08-30T07:49:09.6260526Z   File "D:\a\extract_otp_secrets\extract_otp_secrets\tests\extract_otp_secrets_test.py", line 572 in test_extract_verbose
2024-08-30T07:49:09.6261701Z   File "C:\hostedtoolcache\windows\Python\3.12.5\x64\Lib\site-packages\_pytest\python.py", line 159 in pytest_pyfunc_call

2024-08-30T07:49:11.0068928Z tests\extract_otp_secrets_test.py .................................
2024-08-30T07:49:11.0159444Z ##[error]Process completed with exit code 1.
2024-08-30T07:49:11.0171776Z ##[debug]Finishing: Test with pytest
2024-08-30 10:37:45 +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 c663a2de8f update codeql to node20 actions 2024-06-09 09:56:32 +02:00
scito b77e8cc190 build nuitka with clang 2024-06-09 09:46:01 +02:00
scito 9fd3333a3a update to node20 actions 2024-06-09 09:33:39 +02:00
scito 0ae5f296e8 update deps 2024-06-09 08:59:27 +02:00
scito 77cdf7e41f update deps: protobuf, cv2 2024-06-07 19:25:53 +02:00
scito c175909227 daily dependabot updates 2024-06-07 14:50:13 +02:00
scito cc363b4c57 update nuitka 2.3; fix build order; measure pyinstaller and nuitka 2024-06-02 10:22:34 +02:00
scito e196c76db4 minor: update deps and README 2024-05-31 08:53:53 +02:00
scito 07416678a0 lift python requirement to 3.8 2024-05-29 22:27:26 +02:00
scito e4d0bb418d use latest version of opencv also for macos 2024-05-29 22:17:59 +02:00
scito 7069156f54 upgrade ci actions to node 20 versions
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-05-29 22:08:56 +02:00
scito 384d98ff8b cleanup Python 3.7 requirements 2024-05-29 21:56:20 +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 b41250c23a ci: upgrade to actions/upload-artifact@v4 2024-02-23 11:05:30 +01:00