ai-code-battle/cmd/acb-api
jedarden e5dc3bc543 fix: accept base64-encoded AES keys (OpenBao stores keys as base64, not hex)
The encryption key stored in OpenBao/K8s secrets is base64-encoded but
the API and worker crypto functions expected hex. Add parseAESKey() that
accepts both formats (tries hex first, falls back to base64).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 23:04:29 -04:00
..
alerts.go Add Discord/Slack alerting webhooks to Go API server 2026-03-26 01:32:47 -04:00
alerts_test.go Add Discord/Slack alerting webhooks to Go API server 2026-03-26 01:32:47 -04:00
config.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
config_test.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
crypto.go fix: accept base64-encoded AES keys (OpenBao stores keys as base64, not hex) 2026-04-30 23:04:29 -04:00
crypto_test.go fix: accept base64-encoded AES keys (OpenBao stores keys as base64, not hex) 2026-04-30 23:04:29 -04:00
db.go fix(api): add missing replay_feedback FK migration 2026-04-28 23:36:02 -04:00
Dockerfile fix(docker): add COPY ratelimit/ to acb-api Dockerfile 2026-04-23 18:09:53 -04:00
health.go Add Go API server (cmd/acb-api) with PostgreSQL, Valkey, and Glicko-2 2026-03-26 01:21:48 -04:00
main.go feat(api): wire voteLtr rate limiter for upvote endpoint (§13.6) 2026-04-22 17:37:34 -04:00
mapvote_test.go fix(types): add missing ReplayPlayer import and type annotation for transcript feature 2026-04-22 18:20:56 -04:00
rotatekey_test.go fix(api): remove unused time import from rotatekey_test.go 2026-04-22 17:40:06 -04:00
server.go fix(evolver): wire Nash mixture and meta weaknesses into LLM prompts, fix 4-D diversity 2026-04-23 01:22:19 -04:00
server_test.go feat(api): wire voteLtr rate limiter for upvote endpoint (§13.6) 2026-04-22 17:37:34 -04:00