Skip to content

feat!: make the ALTCHA_HMAC_KEY setting mandatory#35

Merged
tdruez merged 2 commits intomainfrom
mandatory-hmac-key
Mar 10, 2026
Merged

feat!: make the ALTCHA_HMAC_KEY setting mandatory#35
tdruez merged 2 commits intomainfrom
mandatory-hmac-key

Conversation

@tdruez
Copy link
Contributor

@tdruez tdruez commented Mar 9, 2026

Warning

ALTCHA_HMAC_KEY is now mandatory. See migration guide below.

Issue:

Issue: #15

Changes

The ALTCHA_HMAC_KEY setting is now mandatory. If it's not set in your Django settings, the app will raise ImproperlyConfigured at the first challenge creation or validation, instead of silently generating a random fallback key.

tdruez added 2 commits March 10, 2026 12:10
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez tdruez changed the title make the ALTCHA_HMAC_KEY setting mandatory feat!: make the ALTCHA_HMAC_KEY setting mandatory Mar 9, 2026
@tdruez tdruez merged commit f809603 into main Mar 10, 2026
8 checks passed
@tdruez tdruez deleted the mandatory-hmac-key branch March 10, 2026 01:29
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