Auth system: - Copy auth.py from stegasoo, adapt DB path to ~/.soosef/auth/soosef.db - Add setup/login/logout/recover/account routes - Add admin user management routes (users, create, delete, reset) - Full RBAC: admin_required and login_required decorators working Stego routes (mounted directly in app.py): - Generate credentials with QR code support - Encode/decode/tools placeholder pages (full route migration is Phase 1b) - Channel status API, capacity comparison API, download API Support modules (copied verbatim from stegasoo): - subprocess_stego.py: crash-safe subprocess isolation - stego_worker.py: worker script for subprocess - temp_storage.py: file-based temp storage with auto-expiry - ssl_utils.py: self-signed cert generation Templates and JS: - All stegasoo templates copied to stego/ subdirectory - Auth templates (login, setup, account, recover) at root - Admin templates (users, settings) - JS files: soosef.js (renamed from stegasoo.js), auth.js, generate.js Verified: full login flow works (setup → login → authenticated routes) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
379 B
Python
9 lines
379 B
Python
"""
|
|
Steganography routes are registered directly in app.py via _register_stegasoo_routes()
|
|
rather than as a blueprint, because the stegasoo route logic (3,600+ lines) uses
|
|
module-level state (ThreadPoolExecutor, jobs dict, subprocess_stego instance)
|
|
that doesn't translate cleanly to a blueprint.
|
|
|
|
The stego templates are in templates/stego/ and extend the soosef base.html.
|
|
"""
|