[Twisted-Python] NNTP/SMTP authentication

Itamar Shtull-Trauring itamar at itamarst.org
Wed Apr 30 15:25:32 EDT 2003


On Wed, 30 Apr 2003 14:34:41 -0400
Jp Calderone <exarkun at 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.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list