clan: the KERIA boot door answers CORS for any origin — the community app boots from a local file (#1873) #1874

Merged
ben merged 1 commit from session/boot-cors-1873 into main 2026-09-25 09:44:18 +00:00
Owner

Closes #1873

Ben ruled (2026-09-25): allow any origin.

After #1869 opened the /boot gate, the community app still could not register. The door's CORS was pinned to the apex, the Electron app boots from a local file (Origin: null), and Chromium dropped the reply ("Failed to connect to identity network"). curl showed the door open because it ignores CORS.

  • internal/clan/keri.go renders Access-Control-Allow-Origin "*" on the preflight arm and on the proxied response (header_down), and its comments are updated.
  • keri_test.go now pins * and refuses the old apex pin.
  • Docs: GOTCHAS #345 extended (test a door from its real client), STATUS.

CORS authorises nothing: forward_auth still decides, and a carried invite is still checked. KERIA's admin door already answers *.

Verified: go test ./internal/clan/ ./internal/fleetwire/ ./internal/update/ pass. A standing community picks the change up on its next land, through the front-door reconcile (#1845).

🤖 Generated with Claude Code

Closes #1873 **Ben ruled (2026-09-25): allow any origin.** After #1869 opened the `/boot` gate, the community app still could not register. The door's CORS was pinned to the apex, the Electron app boots from a local file (`Origin: null`), and Chromium dropped the reply ("Failed to connect to identity network"). curl showed the door open because it ignores CORS. - `internal/clan/keri.go` renders `Access-Control-Allow-Origin "*"` on the preflight arm and on the proxied response (`header_down`), and its comments are updated. - `keri_test.go` now pins `*` and refuses the old apex pin. - Docs: GOTCHAS #345 extended (test a door from its real client), STATUS. CORS authorises nothing: forward_auth still decides, and a carried invite is still checked. KERIA's admin door already answers `*`. **Verified:** `go test ./internal/clan/ ./internal/fleetwire/ ./internal/update/` pass. A standing community picks the change up on its next land, through the front-door reconcile (#1845). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ben force-pushed session/boot-cors-1873 from bb34b1a374
All checks were successful
ci / seam (pull_request) Successful in 11m16s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to 4be172d3a5
All checks were successful
ci / seam (pull_request) Successful in 13m6s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-25 09:43:59 +00:00
Compare
ben merged commit e1314bdb48 into main 2026-09-25 09:44:18 +00:00
ben deleted branch session/boot-cors-1873 2026-09-25 09:44:20 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1874
No description provided.