#35730: Enhance password reset security by encrypting 'uid' parameter instead of
base64-encoding to prevent possible user count leakage
--------------------------------------+------------------------------------
Reporter: Remy | Owner: Remy
Type: Cleanup/optimization | Status: assigned
Component: contrib.auth | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Adam):
If the pull request is not going to get merged then maybe a good
compromise would be moving [the logic for encoding the user's primary
key][https://github.com/django/django/blob/5.1.5/django/contrib/auth/forms.py#L481]
into its own function so that it's easier to override in a subclass. The
logic for decoding the user's primary key is already easy to override in a
subclass.
--
Ticket URL: <https://code.djangoproject.com/ticket/35730#comment:15>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070194bf2529df-bd84c0bb-26f5-4528-b6c9-0688d2fbb8eb-000000%40eu-central-1.amazonses.com.