Expand description
Signing and sealing: sessions sealed into a cookie with no server store, signed links and tokens.
Structs§
- Acting
- Bearer
Token - Shown once when issued; only its digest is stored.
- Session
Claims - Signing
Keys - The first key seals and signs, every key opens: rotate by putting the successor first.
Enums§
- Open
Error - Signed
- Each purpose signs with its own derived key, so one purpose’s signature never passes for another’s.
- Token
Refused
Constants§
- OLD_
SIGNING_ KEYS - Read until apps move to
SOFIE_SIGNING_KEYS;sofie::runwarns while it is in use. - SIGNING_
KEYS
Functions§
- digest
- Each part is length-prefixed, so moving bytes between parts changes the digest.