sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 7e59bd26af fix(auth): close session races found in review
- fix(storage): lock the user row when rotating a refresh token or changing a
  password, so on PostgreSQL a token minted during a password change can no
  longer survive the revoke-everything that runs at the same time
- fix(auth): a replay of a just-rotated refresh token (two tabs, a retrying
  client) now fails without revoking the winner's new token; only a replay
  after RefreshReuseGrace is treated as theft and revokes every session
- fix(auth): changing or resetting a password and revoking the user's refresh
  tokens now happen in one transaction
- docs(auth): note that the last-admin rule relies on a single instance
- test: password change racing with a refresh (25 rounds, both databases),
  grace window, winner's token still valid after concurrent rotation
2026-11-11 12:45:06 +01:00
..
api/http fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00
auth fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00
config feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
library fix: refresh match keys at startup and re-check file type after stat 2026-11-11 12:30:43 +01:00
listening feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
storage fix(auth): close session races found in review 2026-11-11 12:45:06 +01:00