On Wed, 2003-04-30 at 15:25, Itamar Shtull-Trauring wrote:
On Wed, 30 Apr 2003 14:34:41 -0400 Jp Calderone <exarkun@intarweb.us> wrote:
Whether the *actual* details of how IMAP4 is using cred are proper are not, I don't know ;) The code works, but it seems that there are too many different objects involved in the process (CramMD5Identity, CramMD5ServerAuthenticator, CramMD5ClientAuthenticator - and that's just for*one* kind of authentication scheme). Setup is similarly tedious, requiring 4 lines of "boilerplate" to set things up, and then *10* lines to add each new identity. Now that imap4.py is settling down, it'd be great if someone with more experience with cred could take a look at it and give me some feedback.
This is why cred is going to be refactored. With a chainsaw. On fire. End result should be that you have to do a *lot* less work in your protocol.
That sounds really great. In the meantime, should Jp and/or I go ahead with a simple implementation of NNTP/SMTP authentication? I'm going to need it within the next month or so. Thanks for all your work! Abe