DIGEST-MD5 implemented in python
I set up an XMPP server a while ago, and yesterday I noticed that the Psi client could not connect to my server. A quick look in the logs indicated that something went wrong during authentication. Unfortunately the authentication method used, something called DIGEST-MD5, isn't easily debuggable by hand, so I dug up the specification of the method in RFC2831 and wrote a small utility in python that generates a response to a DIGEST-MD5 challenge. It is available from here: digest-md5.py.
I have tested it with the XMPP and SMTP protocols and should run on python 2 variants from 2.3 onwards. Feel free to use it any way you want. Comments and suggestions for improvements are welcome, as always.
Filed under Programming | Comment (1)One Response to “DIGEST-MD5 implemented in python”
Leave a Reply
UEYKBo lbnfgihzyyuu, [url=http://ofxaisisskis.com/]ofxaisisskis[/url], [link=http://lruvvddhyxmg.com/]lruvvddhyxmg[/link], http://wyvzuxbkuwbv.com/