I recently attempted to move my web2py install to a different server.
All went well except for passwords failing to validate.  It turns out
that the version of python I was using (2.5.1) had an issue with
hmac.  Essentialy the following will give an incorrect digest on this
version of python:

hmac.new("salt", "password", hashlib.sha512).hexdigest()

Although this is clearly an issue with python rather than web2py, I
was wondering about the best way to deal with this.  I can move the
hmac.py from the old install but don't want to break any other
functionality.  What is the best approach?

Thanks.

Reply via email to