Commit Graph

2 Commits

Author SHA1 Message Date
alan d55e1e7162 Let installed apps sign in over https again
The __Host- session cookie name now goes to browsers only. Native clients
(no Origin or fetch metadata), including app builds from before the change,
get the plain cookie name, still Secure over https, so they find their
session after signing in.
2026-11-10 02:19:36 +00:00
alan e43f9fa50c Hash the web password and revoke sessions server-side
Store a scrypt hash (migrating a plaintext password without changing it),
sign sessions with a generation that ./password and --revoke-all rotate,
make logout a same-origin POST that revokes the token, add sign out everywhere,
and close proxied websockets whose session ends. Enforce a strength rule for
new passwords, back off logins per client and server-wide, check Origin on
login, tighten next, add security headers and a __Host- cookie over https.
2026-11-10 01:21:28 +00:00