fix(user): harden the first-boot setup window #30
No reviewers
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app!30
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/setup-window"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three defects in the anonymous zero-users window (ADR-0018):
WithinTxwith an in-transaction recount, mirroring ImportData's existing fix. Race test: four concurrent Creates, exactly one wins, losers get the same "setup is complete" verdict.X-Initial-Admin-Tokenwas compared with!=in both Create and ImportData — nowcrypto/subtle.ConstantTimeCompare.EAG_INITIAL_ADMIN_TOKENis set (no refusal — seed-family, local dev and test helpers keep working). The timoni values and TrueNAS compose now document the window explicitly ("whoever reaches it first owns the install") with a CHANGE-ME placeholder.ADR-0018 updated with the hardening note. Full suite + integration +
timoni mod vetpass.Fixes #9
🤖 Generated with Claude Code
a0290959ca8e12cfc0ce