You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

v0.5.2.rst 706B

123456789101112131415161718
  1. =========================
  2. Oscar 0.5.2 release notes
  3. =========================
  4. This is Oscar 0.5.2, a security release for Oscar 0.5.
  5. Insecure use of ``SECRET_KEY`` in basket cookie
  6. -----------------------------------------------
  7. For anonymous users, the basket ID is stored in a cookie. Previously, the
  8. value was signed using a simple CRC32 hash using the ``SECRET_KEY``.
  9. However, a good rule of thumb is to never roll your own encryption, and it is
  10. possible that this method weakens the security of the ``SECRET_KEY``.
  11. `The fix`_ uses Django's cryptographic signing functionality to sign the cookie
  12. in a more secure manner.
  13. .. _`The fix`: https://github.com/django-oscar/django-oscar/commit/876f723