Fetching metadata from the HF Docker repository...
-
v8.4.4: Auth & Security Hardening — Sprint 43 P2
CRITICAL: JWT secret mismatch fixed (5 decoder files aligned)
- Token creator and decoders now use canonical jwt_secret_key
- Fixed: core/dependencies.py, core/helpers.py, ui/routes.py,
public_routes.py, apps/auth/services/token_service.py
Auth crash prevention (6 fixes):
- role.value AttributeError: safe accessor with hasattr (6+ locations)
- user.permissions: derived from role mapping, not model attribute
- HTTPException swallowed: wrong password now correctly returns 401
- Duplicate /api/auth/login route removed from routes.py
- core/auth/service.py: role.value + permissions consistency
Hybrid architecture audit (13 fixes):
- Column mismatches: password_hash, is_active, removed ghost columns
- Auth dependencies rewritten: in-memory mock → DB-backed
- Login form: email→username, sync auth, JWT cookie+redirect
- P2P: public GunDB relay removed, self-hosted only
- PHI encryption: AES-256-GCM for IndexedDB stores
- Sync indicator + real conflict detection
Verified: 15/15 endpoints …
-
refactor: consolidate directory structure
- Move 17 apps from /apps to /src/apps
- Archive duplicate core modules (events, models, repositories, services)
- Consolidate ops scripts to /scripts/ops (11 scripts)
- Create comprehensive consolidation report
- Add implementation summary document
Changes:
- Backup created at archive/pre_consolidation_backup/
- Import analysis identifies 54 files needing review
- All applications successfully migrated
- Platform health check passes