#14652: Sessions seem to be improperly using Pickle to hash a dictionary
----------------------------------------------+-----------------------------
Reporter: PaulM | Owner: nobody
Status: closed | Milestone: 1.3
Component: django.contrib.sessions | Version: 1.2
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------+-----------------------------
Changes (by lukeplant):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
The quotation is about using pickle '''as a unique hash'''. We are not
doing that - we are using pickle to pickle a dictionary, and using a MAC
to MAC the pickled string. The fact that the same dictionary might be
pickled to different strings doesn't affect us - we just use a MAC to
check that the pickled string we have is one that we generated, then we
unpickle it.
--
Ticket URL: <http://code.djangoproject.com/ticket/14652#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.