Drop the hardcoded fallback secret and warn on example secrets
fix(auth): drop the hardcoded fallback secret and warn on example secrets (#872)
Drop the hardcoded fallback secret and warn on example secretsff6364-fix-drop-the-hardcoded-fallback-secret-and-cve-2026-116747fixdrop hardcoded fallback secret warn example
Committed by carfeii
commit message
fix(auth): drop the hardcoded fallback secret and warn on example secrets (#872)
Kener no longer signs sessions or hashes API keys with DUMMY_SECRET when
KENER_SECRET_KEY is unset or empty. An empty key now counts as unset, so the
sign-in page shows "Set up not completed". Kener logs a startup warning when
the key is unset or is a published example value. The API key docs now match
the code: no per-key permissions, no expiry, no rate limits. Adds the v4.1.10
changelog page.
Fixes #871
Co-authored-by: carfeii <[email protected]>Editor assessment
This commit patches CVE-2026-116747. Clear and well scoped. The body states what changes: sessions and API keys are no longer signed with DUMMY_SECRET when KENER_SECRET_KEY is unset or empty, an empty key now counts as unset so setup is treated as incomplete, and a startup warning fires for unset or published example values. It also records the documentation correction about permissions, expiry and rate limits, plus the changelog entry, with a valid Fixes footer. The PR number in the subject is the only noise; one sentence on the exploitation risk would make it a 5.