Re:Authentication made easy, fast and RESTful
by robee on Friday December 09, 2011 @12:11AM
(#3332674)
The HMAC library in Python still uses MD5 (http://docs.python.org/library/hmac.html) which is known to be exploitable with hash collisions. My opinion is that its not too difficult to roll a MAC setup using some SHA based hash.
[ Parent
| on HN ]
Re:Authentication made easy, fast and RESTful
by adambard on Sunday December 11, 2011 @08:42PM
(#3341846)
The constructor for the Python HMAC library just defaults to MD5; you can pass any of the hashlib modules to it via the digestmod parameter. I don't know why it doesn't default to something more secure, but it's no challenge to do.