diff options
| author | WebX11 SysOp <darkmotox11@gmail.com> | 2026-11-05 23:49:03 +0100 |
|---|---|---|
| committer | WebX11 SysOp <darkmotox11@gmail.com> | 2026-11-05 23:49:03 +0100 |
| commit | 2f2d2c1715fce4a566b57488a48dc520063b6709 (patch) | |
| tree | f968a0bb8f8e9b8e42400f55fc07c63f73a23c4b /api/course | |
| parent | 3bb89a967645902bb695aedbaea0103def2b3b16 (diff) | |
GET/POST /api/auth/gitpush-token (+ /revoke) on auth-api: session-scoped, CSRF-gated,
3 mints per account per hour, bcrypt into the htpasswd, plaintext returned once and
never stored, audit at /var/lib/webx11/git-push-audit.jsonl.
No sudo or reload needed: nginx re-opens auth_basic_user_file per request, so a new
line is live immediately — proved by a 500 whose error line was per request.
Dashboard card 'Git push token' shows none/active, mints and reveals the remote once,
revokes. Verified in a real browser: badge none -> mint -> active, remote shape checked,
then revoked; htpasswd back to 0 bytes and the test session removed.
Diffstat (limited to 'api/course')
0 files changed, 0 insertions, 0 deletions