#31985: salted_hmac incorrect documentation
-------------------------------------------+------------------------
Reporter: Francisco Couzo | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.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 |
-------------------------------------------+------------------------
On its documentation, it mentions "any algorithm name supported by
hashlib.new() can be passed",
but this is not true, algorithms supported by hashlib.new() may not
accessible through getattr,
This was mentioned here:
https://github.com/django/django/pull/12291#discussion_r364348132
But it wasn't addressed.
Either we can make salted_hmac use hashlib.new (which is discouraged by
python's documentation).
Or change the documentation to not mentioned hashlib.new.
--
Ticket URL: <https://code.djangoproject.com/ticket/31985>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/055.264d65414375e59bb9681f617bae1c81%40djangoproject.com.