Commit graph

6 commits

Author SHA1 Message Date
fea876654b
fix(hub): bind email budget reserve to a bounded resend chain
The global reserve is claimed atomically with the budget check by deleting a live
attempt for the same address (under 5 failures, under 3 resends, chain under 30
minutes), so it cannot fund mail to other addresses, branch or race.
2026-10-24 17:48:20 +02:00
6ea14d0ec2
fix(hub): group IPv6 sources by /64 and reserve email budget for resends
Per-source limits no longer dodgeable by rotating IPv6 host bits, and a
separate global reserve lets browsers with a live attempt resend even when
fresh starts exhaust the hourly budget.
2026-10-24 17:45:36 +02:00
cca084b0ae
feat(hub): email one-time-code sign-in
POST /v1/auth/email/start and /verify with HMAC-protected 8-digit codes
(10 min, 5 tries, atomic single use), browser-bound via a __Host- cookie,
same-origin checks, per-address/source/global rate limits and an injectable
sender. Enabled in /v1/info only when SMTP is configured. Email identities
use external_identities(provider='email') and never merge with GitHub.
2026-10-24 17:42:52 +02:00
69d065e3a6
docs(hub): record GitHub deployment verification 2026-10-24 15:05:21 +02:00
ff9c8f330e
feat: add GitHub sign-in and channel webhooks 2026-10-24 15:02:42 +02:00
a811de590a
feat(hub): add central service foundation and transactional mail 2026-10-24 14:15:48 +02:00