Skip to content

fix(secrets): enforce canonical opaque API keys - #24

Merged
birdmanmandbir merged 2 commits into
mainfrom
canonical-opaque-api-keys
Sep 5, 2026
Merged

fix(secrets): enforce canonical opaque API keys#24
birdmanmandbir merged 2 commits into
mainfrom
canonical-opaque-api-keys

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • validate sb_publishable_* and sb_secret_* against Supabase's canonical self-hosted random/checksum format
  • reject noncanonical credentials before dependent workloads reconcile, without a compatibility path
  • document the pinned upstream algorithm, enforcement boundary, and rollout prerequisite
  • include the primary-source research note used for the decision

Verification

  • go test ./...
  • go build ./...
  • make fmt vet
  • make test
  • make lint
  • make test-tanka
  • make test-delivery
  • git diff --check

Deployment prerequisite

Do not deploy the strict operator image until every existing SupabaseProject has canonical publishable/secret keys and all matching consumers are updated atomically.

@birdmanmandbir
birdmanmandbir merged commit ca00337 into main Sep 5, 2026
3 checks passed
@orga-agent
orga-agent Bot deleted the canonical-opaque-api-keys branch September 5, 2026 09:09
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