On Thu, 2007-02-08 at 23:35 +0000, Rob Hudson wrote:
> Should I file a bug to eventually use hashlib for >= Python 2.5?
> Should I provide a patch which attempts to import hashlib and use it
> if available, but otherwise falls back on md5/sha1?

Be careful to ensure backwards compatibility. Otherwise an
inconsequential Python upgrade (to 2.5) will mean all your previously
recorded passwords are now unusable. You need to at least be able to
check for SHA1-style hashes and use those if necessary no matter which
version of Python you are using.

Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to