Skip to content

fix: use real API key and webhook secret formats in .env.example - #3

Merged
catsika merged 2 commits into
mainfrom
fix/env-placeholders
Nov 11, 2026
Merged

catsika merged 2 commits into
mainfrom
fix/env-placeholders

Conversation

@catsika

@catsika catsika commented Nov 11, 2026 •

Copy link
Copy Markdown
Member
  • API key placeholders use the real km_live_… format instead of km_admin_… / km_client_….
  • KEYMINT_WEBHOOK_SECRET is left empty (like LICENSE_API_SECRET), so the webhook route keeps refusing requests (503) until a real secret is set. A comment and the README describe the format: 64 hex characters with no prefix (Keymint webhook secrets have no whsec_ prefix).

Nothing in the code checks these prefixes: the webhook route uses the secret as-is for the HMAC.

Tests: npm run build passes (includes Next.js lint and type checking). The repo has no unit tests; the live smoke test was not run.

@catsika
catsika merged commit 4ab8ab4 into main Nov 11, 2026
2 checks passed
@catsika
catsika deleted the fix/env-placeholders branch November 11, 2026 22:36
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