tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Packages: web/csrf, tokens bound to a session (toboggan's Auth/Csrf)

`key secret` derives a session's key (HMAC-SHA256 under a fixed label,
"web/csrf-key/v1"), so no store holds it; `token key` mints
base64url(16 random bytes) "." base64url(HMAC(key, those bytes)); and
`valid key token` checks one in constant time, through signed's
same_bytes, now public. Tokens are stateless: any minted for a session
is valid until it ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 6920fc43800557b4de80b0ef4292d9d6015e5a0e

Parents 57cb2ac

4 fichiers modifiés, 174 ajouts, 5 suppressions