The Crypto.Hash.MD5 and Crypto.Hash.SHA modules from dev-python/pycrypto import the md5 and sha standard library modules deprecated in python-2.6 in favor of hashlib, generating deprecation warnings. Attached upstream patch [1] fixes the problem. [1] http://gitweb.pycrypto.org/?p=crypto/pycrypto-2.x.git;a=commitdiff;h=d2311689910240e425741a546576129f4c9735e2
Created attachment 171431 [details, diff] patch from upstream
There is an additional patch as well for this issue - http://gitweb.pycrypto.org/?p=crypto/pycrypto-2.0.x.git;a=commitdiff_plain;h=84b793416b52311643bfd456a4544444afbfb5da or did you combine the two?
Created attachment 171698 [details, diff] updated patch now including HMAC fix Now I did... :) Works all right.
Hello, pycrypto-2.0.1-r7 in CVS now. Christian, thanks a lot for reporting and for the patches. Thanks Steev as well. Best regards,