Releases: aboutcode-org/django-altcha
v0.10.0
WARNING Breaking changes:
-
ALTCHA_HMAC_KEYis now mandatory.
If it's not set in your Django settings, the app will raiseImproperlyConfiguredat
the first challenge creation or validation, instead of silently generating a random
fallback key. -
ALTCHA_CACHE_ALIASnow defaults to "default" instead of using a dedicatedLocMemCache
instance. This means django-altcha automatically benefits from whatever cache backend your
project already has configured.
Projects that explicitly setALTCHA_CACHE_ALIASare not affected.
Removed the internalLocMemCachefallback. Cache configuration is now fully handled
through Django's CACHES setting.
What's Changed
- feat!: refactor the ALTCHA_* settings loading by @tdruez in #34
- feat!: make the ALTCHA_HMAC_KEY setting mandatory by @tdruez in #35
- feat!: refactor the cache configuration using "default" when not provided by @tdruez in #36
- chore: bump version to 0.10.0 for release by @tdruez in #37
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- chore: set explicit workflow permissions and pin down actions by @tdruez in #29
- chore: rework the pypi-release workflow to use trusted publishing by @tdruez in #30
- fix: replace altcha.i18n.js bundle by proper dist_i18n/all.js by @tdruez in #31
- chore: bump version to 0.9.1 by @tdruez in #32
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- added support for altcha translations by @xgimp in #23
- chore: upgrade altcha-lib-py to v1.0.0 and bundled JS library to latest v2.3.0 release by @tdruez in #25
- Add documentation about "Replay Attack Protection" by @tdruez in #26
- Bump version to 0.9.0 for release by @tdruez in #27
New Contributors
Full Changelog: v0.4.0...v0.9.0
v0.4.0
v0.3.0
Important Security Note
Providing an ALTCHA_HMAC_KEY value in your Django settings is now required.
https://django-altcha.readthedocs.io/en/latest/installation.html#installation
What's Changed
- Add the
ALTCHA_HMAC_KEYsetup as part of the installation #15 by @tdruez in #16 - Add a
ALTCHA_VERIFICATION_ENABLEDsetting by @tdruez in #17 - Bump version to 0.3.0 for release by @tdruez in #18
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Important Security Note
If you have previously set and used a static ALTCHA_HMAC_KEY, you must rotate this key as part of upgrading to this release.
Earlier versions of django-altcha accepted challenges that were generated without an expiration (expires) value.
This allowed older challenges to remain valid indefinitely.
As a result, any attacker with access to an old challenge could reuse it to bypass CAPTCHA validation.
To fully benefit from the security improvements in this release, you must also invalidate any existing challenges by rotating the HMAC key used to generate and verify them.
What's Changed
- Add support for altcha 0.2.0 by @tdruez in #8
- Add challenge expiration support by @tdruez in #7
- Add a AltchaChallengeView to allow
challengeurla setup by @tdruez in #9 - Add protection against replay attacks #10 by @tdruez in #11
- Bump version for 0.2.0 release by @tdruez in #12
Credits
- Special thanks to Alex Vandiver alexmv@zulip.com for reporting these issues.
Full Changelog: v0.1.3...v0.2.0
v0.1.3
What's Changed
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.1...v0.1.2