Aaron D. Lee
3fd3204552
Cap RSA at 3072 bits, add zstd compression for QR codes
...
- RSA key size capped at 3072 bits (4096 too large for QR codes)
- Added zstd compression for QR code RSA keys (better ratio than zlib)
- New prefix STEGASOO-ZS: for zstd, backward compatible with STEGASOO-Z: (zlib)
- Added zstandard dependency to web/api/compression extras
- Updated all docs, CLI options, and web UI to reflect 3072 max
- Version bump to 4.2.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-09 23:30:31 -05:00
Aaron D. Lee
2d3ed8a79a
Add progress bars, fix DCT decode, sparkly MOTD
...
Progress bar support (v4.1.2):
- Web frontend: Real-time progress during encode with phase display
- CLI: --progress flag with rich library for encode command
- Backend: progress_file parameter for async progress reporting
DCT decode bug fix:
- Fixed InvalidMagicBytesError not being caught in early-exit check
- RS-protected format (v4.1.0+) has length prefix first, not magic bytes
- Exception handler now catches both ValueError and InvalidMagicBytesError
MOTD update:
- Added sparkly header to setup.sh MOTD (matches other rpi scripts)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-05 20:25:33 -05:00
Aaron D. Lee
01f0173dd4
Add EXIF Editor, consolidate channel key resolution
...
EXIF Editor (Library → CLI → API → WebUI):
- src/stegasoo/utils.py: read_image_exif(), write_image_exif()
- CLI: stegasoo tools exif [--clear|--set Field=Value]
- API: /api/tools/exif, /api/tools/exif/update, /api/tools/exif/clear
- WebUI: EXIF Editor tab with inline editing, clear all, save/download
Architectural consolidation:
- Moved resolve_channel_key() to src/stegasoo/channel.py (was duplicated in 3 frontends)
- Added get_channel_response_info() for consistent API/WebUI responses
- Frontends now use thin wrappers that translate exceptions
DCT improvements:
- Added will_fit_by_mode() pre-check to WebUI encode (fail fast)
- Suggests LSB mode when DCT capacity exceeded
Dependencies:
- Added piexif>=1.1.0 for EXIF editing
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-04 01:16:33 -05:00
Aaron D. Lee
afa88bc73b
Apply black formatter to all Python files
...
Reformatted 29 files for consistent code style and CI compliance.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-02 17:44:41 -05:00
Aaron D. Lee
6b21190f97
Lint cleanup: ruff fixes across entire codebase
...
- Strip trailing whitespace from all Python files
- Fix import sorting (I001) across all modules
- Convert Optional[X] to X | None syntax (UP045)
- Remove unused imports (F401)
- Convert lambda assignments to def functions (E731)
- Add TYPE_CHECKING import for forward references
- Update pyproject.toml ruff config:
- Move select/ignore to [tool.ruff.lint] section
- Add per-file ignores for DCT colorspace naming (N803/N806)
- Add per-file ignores for __init__.py import structure (E402)
- Exclude defunct test_routes.py
- Remove frontends/web/test_routes.py (defunct debug snippet)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-02 17:17:38 -05:00
Aaron D. Lee
6fa4b447db
More snazzy 4.0 Web UI improvements.
2026-01-02 15:45:43 -05:00
Aaron D. Lee
ef7478b30a
A whoooole lotta 4.0.x fixes.
2026-01-01 22:18:13 -05:00
Aaron D. Lee
a001f227ec
Bug fixes, CLI updates, docs.
2026-01-01 13:40:27 -05:00
Aaron D. Lee
657cae0ae6
3.2.0 Big revamp
2026-01-01 03:14:35 -05:00
Aaron D. Lee
34376b2dfe
Version 3.0.2 full expirimental DCT support, jpegio for better jpg manipulation, etc.
2025-12-31 15:43:29 -05:00
Aaron D. Lee
4eefc946c4
Version 3.1.0 now with experimental DCT support.
2025-12-31 13:11:34 -05:00
Aaron D. Lee
50a7b10c63
Pinned the container, some other resiliancy stuff.
2025-12-30 23:31:17 -05:00
Aaron D. Lee
653de8cbaa
QR functionality (sorta).
2025-12-28 12:04:15 -05:00
Aaron D. Lee
5bd49cb581
Added file support and increased file limits.
2025-12-28 03:44:17 -05:00
Aaron D. Lee
fc1300d738
Looks like it kinda works.
2025-12-27 23:33:42 -05:00
Aaron D. Lee
8581b86104
New Version 2 -- prolly doesn't work.
2025-12-27 22:40:31 -05:00