Add /api/key-test diagnostic endpoint for API key verification

Provides a simple GET endpoint that validates the Authorization Bearer
token against HERMES_API_KEY and returns JSON:
  {"ok": true, "reason": "valid"} or
  {"ok": false, "reason": "key_mismatch" / "missing_bearer" / "not_configured"}

Rate limited to 4 per minute to prevent brute-force guessing.

Bump version 0.4.3 -> 0.4.4.
This commit is contained in:
Troll (Hermes Agent) 2026-08-05 14:41:39 +00:00
parent 4b48e0a44f
commit 2637cdba61
3 changed files with 30 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Theme Song Booth
**Version:** `v0.4.3`
**Version:** `v0.4.4`
A Flask web app for a convention booth where visitors request a custom AI-generated theme song, the operator manages the queue, and the final MP3(s) are delivered by email after payment.