curo1305
1420180be7
feat(07.4-02): add fgp validation block to get_current_user in deps/auth.py
- Add `import hmac` to deps/auth.py imports block
- Insert fgp check after user_nbf block: extract fgp_claim from payload,
skip if empty (migration grace for pre-7.4 tokens, D-06), recompute
fgp_actual via auth_service._compute_fgp, compare with hmac.compare_digest
- Mismatch raises HTTP 401 "Token fingerprint mismatch" (D-03)
- Block placed outside try/except (pure computation, no I/O, no fail-open)
2026-06-06 21:55:13 +02:00
..
2026-06-05 00:00:26 +02:00
2026-06-06 17:21:14 +02:00
2026-06-04 18:46:11 +02:00
2026-06-06 21:55:13 +02:00
2026-06-05 14:44:59 +02:00
2026-06-04 18:46:11 +02:00
2026-06-06 21:54:47 +02:00
2026-06-02 16:10:35 +02:00
2026-06-04 23:08:16 +02:00
2026-06-06 21:49:46 +02:00
2026-05-24 11:30:56 +02:00
2026-06-04 23:35:15 +02:00
2026-06-06 17:19:50 +02:00
2026-06-04 19:13:05 +02:00
2026-06-06 17:19:50 +02:00
2026-05-22 08:53:28 +02:00
2026-06-03 18:47:43 +02:00
2026-06-04 18:58:19 +02:00