Commit graph

1 commit

Author SHA1 Message Date
1b38ce9d73 Keep a television signed in across a holiday
The auth token lasted five days. The app refreshes it on every launch,
so a device used regularly never noticed, but a device that is simply
not switched on has nothing to refresh with. A week away was enough: the
television came back to a login screen, to be answered on a remote with
no keyboard.

Ninety days is chosen against the machines this runs on rather than
against a threat model that would prefer shorter. Tokens live in the OS
secure store, and a password change still rotates tokenKey and
invalidates every outstanding one. The cost of the old value was being
paid by the least technical people in the house.

Applied to the live database by hand first; recorded here so restoring
the backend from migrations does not quietly put it back.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 02:09:55 +02:00