Add sessions-web, the prod-side web page and container

Stdlib-only Python app: password login (scrypt), signed SameSite=Strict
cookie, CSRF tokens, login rate limiting, strict CSP and no JavaScript. Every
action is one ssh call to sessions-ctl with a pinned host key. Ships a
Containerfile and a Podman Quadlet unit (rootless, read-only root, all
capabilities dropped, published on 127.0.0.1 only, secrets via podman secret).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
agent 2026-09-30 11:55:38 +00:00
parent 1816f6f863
commit 7a2077f730
6 changed files with 564 additions and 0 deletions

1
web/known_hosts.dev-box Normal file
View file

@ -0,0 +1 @@
[2.28.100.223]:14922 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEdLIHPjrkeUPfw1CDcIHC2Yydl39X46GBjmn6vqd+6E