#36226: Only PBKDF2PasswordHasher supports str and bytes password
----------------------------+----------------------------------------
Reporter: Jason Held | Type: Bug
Status: new | Component: contrib.auth
Version: 5.1 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+----------------------------------------
The other password hashers in their `encode` method all at some point call
`.encode` on their password in some way. Thus, the other hasher classes,
in the django source code, do not support the API and docstring of
`make_password`.
This seems pretty easy to fix on the whole and I'd be happy to make a PR
for it.
--
Ticket URL: <https://code.djangoproject.com/ticket/36226>
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/010701955f4fd878-f7d16ca3-fc73-4c7e-b5cc-2b0801bf7767-000000%40eu-central-1.amazonses.com.