Repository navigation
Conversation
- Upgrade document integrity hash from 64-bit SHAKE-256 to full 32-byte SHA-256. - Print full SHA-256 digest in the PDF header for human verification. - Add structured verification mode (verify_qr_pdf, /verify, and qrdm verify) reporting named check flags without writing files. - Add minimal-page mode (minimal_mode) showing only filename, hash, and page numbers. - Add standalone command-line interface (qrdm encode/decode/verify). - Add strict validation mode rejecting NUL bytes, size overages, and binary signatures. - Add support for detecting and optionally rejecting foreign/unexplained barcodes. - Add automated regression tests for degraded scans (rotation, blur, JPEG loss). - Add security threat model documentation (docs/source/threat_model.md). - Add offline bundle creation script (scripts/create_offline_bundle.sh). - Bump version to 2.2.0 in __init__.py, pyproject.toml, and CHANGELOG.md.
…ification - Add 'photo' and 'flatbed' presets in encode_qr_pdf, CLI, and REST endpoint. - 'flatbed' preset packs up to 12 codes/page (double capacity) for high-res scanners. - 'photo' preset produces larger codes with Quartile ECC for mobile phone cameras. - Drop Python 3.9 (past EOL) and require Python >= 3.10 in pyproject.toml. - Publish full QRDM format specification (docs/source/format_specification.md). - Add unit tests for preset encoding, capacity, and decoding.
…ntation - Update FastAPI pinning from hard-pinned 0.109 to >= 0.115.0 and modernize all dependency versions in pyproject.toml. - Format all source, tests, and ui code using black and ruff with 0 lint errors. - Exclude generated protobuf code from ruff and black. - Update Sphinx documentation for backend endpoints (/verify, presets, minimal_mode), frontend controls, and API references. - Verify full test suite passes (30/30 passed) and documentation builds cleanly.
…d PyPI publish - Add ci.yml: runs black formatting, ruff linting, and pytest matrix across Python 3.10, 3.11, and 3.12 with zbar. - Add release.yml: triggers on merge to main, parses clean release version from SNAPSHOT branch/commit (e.g. 2.2.0), tags v<version>, creates GitHub Release with CHANGELOG notes and distribution assets, builds and deploys latest docs to GitHub Pages (gh-pages), and publishes package to PyPI.
…iminate PyMuPDF deprecation warnings
…and upload size limits
…, and updated dependencies
- Add optional AES-256-GCM payload encryption at rest with PBKDF2-HMAC-SHA256 - Add decompression bomb ceiling protection to avoid zip-bomb DoS - Add path traversal and filename sanitization via sanitize_filename - Add --passphrase argument to CLI encode, decode, and verify commands - Add passphrase and filename sanitization to FastAPI REST backend - Add comprehensive test suite in tests/test_crypto_security.py - Update format specification, threat model, backend documentation, and CHANGELOG
…nd fix GitHub Pages multi-path deployment
… prevent null byte tag truncation
…cidentally overwritten during merge
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@ericqLL I decided to update our code base. Let me know what you think!
2.3.0 - 2026-11-06
Added
svglibXML parsing by constructing ReportLabDrawingandRectvector shapes directly from the QR matrix, improving encode throughput by up to 13.7x.ThreadPoolExecutor.-acrossqrdm encode,qrdm decode, andqrdm verify.--jsonflag toqrdm verifyfor automated CI/CD and pipeline integration.qrdm verifyaccepts multiple PDF paths, generating structured individual and summary audit reports.qrdm.encode,qrdm.decode, andqrdm.verifydirectly on the rootqrdmmodule namespace.GET /healthendpoint to FastAPI backend for Kubernetes and Docker container liveness/readiness probes.QRDM_MAX_UPLOAD_SIZEsetting to FastAPI backend, returning HTTP 413 (Payload Too Large) on oversized uploads.--passphrase.max_uncompressed_size) to reject zip-bomb denial-of-service attacks before large buffers are allocated.sanitize_filenameutility to neutralize directory traversal (..), forward/backslashes, and unsafe filesystem characters.Changed