Skip to content

Fix relay signing-key rotation races - #6

Merged
Mathieu2301 merged 1 commit into
mainfrom
mathieu/integrate-home-key-auth
Sep 4, 2026
Merged

Mathieu2301 merged 1 commit into
mainfrom
mathieu/integrate-home-key-auth

Conversation

@Mathieu2301

Copy link
Copy Markdown
Member

Summary

  • always reverify unknown-key tokens against the key set returned by the shared refresh path
  • deterministically prove that 32 concurrent unknown-key callers join one active refresh, including cancellation and shared-failure coverage
  • wait for the SDK to process REAUTH_OK and assert a single WebSocket connection in the full platform integration
  • restore the version 1 relay metadata shape and derive loopback-only fixture endpoints from canonical public URLs

Validation

  • go test -race ./...
  • go test -race -tags integration ./...
  • go vet ./...
  • go vet -tags integration ./...
  • node --check test/integration/platform-auth.mjs
  • full Home Key to control plane to relay integration (32 concurrent verifications, 8 JWKS requests, 0 reconnects)

@Mathieu2301
Mathieu2301 merged commit 25efc19 into main Sep 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant