Page 1 of 1

NTLM and Digest proxy authentication

Posted: 04 Jan 2016, 10:46
by Blue
Hi,

I am currently working on a contribution that would bring NTLM and Digest support to POCO.

The work I've done so far can be checked out at: https://github.com/TankerApp/poco.

I see that there is already an implementation of Digest in "HTTPDigestCredentials.cpp", but it does not seem to be called anywhere.
Is is possible to have more informations about this ?

About NTLM: I need a DES encryption implementation to compute the NTLM hash.
But because I am working in the "Net" module, I can't use Crypto module because I don't think it
would be a good thing to create such a dependency.

So what should I do ?
1) Implement a DES function by myself and add it to the "Net" module, like it's done for "MD5Engine" in "Foundation" ?
2) Directly call a DES function from "Crypto"?
3) Write all NTLM hashing functions in "Crypto" ?

Thank you in advance.

Re: NTLM and Digest proxy authentication

Posted: 04 Jan 2016, 19:58
by alex
I'd say 1), but in the upcoming NetEx library. It would be best to move this discussion to github and send some pull requests.