Stepping through ICS source I can see AuthDigestCalcResponse is called and the MD5 response is calculated. I note Qop is empty.

What aspects of THttpCli can effect the calculated digest response?

Paul



On 06/01/2012 22:27, Paul Read wrote:
What ICS version do you use? THttpCli got some fixes recently related to
authentication AFAIR. Try latest ICSv7 from here:
http://wiki.overbyte.be/wiki/index.php/ICS_Download

I was using version 708 using the latest (721) I now at least get the response to the 401 being sent back :-)

But still the request is rejected by the server. Wireshark shows that the digest authorization response calculated by ICS is different to that calculated by cURL. (THe nonce given was the same for ICS and cURL). The cURL response is accepted, the ICS response is not.

cURL:
Digest username=\"bob\", realm=\"PUSH Authentication\", nonce=\"132577494\", uri=\"/push\", response=\"ce032cf8dad4898084e1a3f7f34148c8\", algorithm=\"MD5\"

ICS:
Digest username=\"bob\",realm=\"PUSH Authentication\",nonce=\"132577494\",uri=\"/push\",response=\"7e843d8e80bd9265b467916afbc9cb2e\"


How can I be sure ICS is using MD5 and not MD4 or something else?

Paul



On 06/01/2012 18:20, Arno Garrels wrote:
RTT wrote:
On 06-01-2012 17:31, Arno Garrels wrote:
What do you mean by "cURL"? http://curl.haxx.se/
:-) I thought it's some kind of URL/URI I never heard of.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to