NTLM and Digest proxy authentication

General discussion regarding the development of POCO for contributors.
Blue
Posts: 1
Joined: 04 Jan 2016, 10:28

NTLM and Digest proxy authentication

Postby Blue » 04 Jan 2016, 10:46

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.

alex
Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: NTLM and Digest proxy authentication

Postby alex » 04 Jan 2016, 19:58

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.


Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 1 guest

cron