Re: [Twisted-Python] R: Re: smtp-server: issue with checkers.FilePasswordDB and hash

2010-04-06 Thread Lucas Taylor
On 4/5/10 6:22 AM, aleu...@inwind.it wrote: > >> If your passwords are already hashed before they are sent to the server >> for authentication, then there is no need for a hash function. >> FilePasswordDB will accept either IUsernamePassword or >> IUsernameHashedPassword credentials. > > I want t

[Twisted-Python] twisted.protocols.basic.NetstringReceiver: Some errors are not visible

2010-04-06 Thread Carlos Valiente
>From twisted/protocols/basic.py: class NetstringReceiver(protocol.Protocol): def doLength(self): ... raise NetstringParseError, "netstring too long" ... def dataReceived(self, data): ... try: ...

Re: [Twisted-Python] R: Re: smtp-server: issue with checkers.FilePasswordDB and hash

2010-04-06 Thread exarkun
On 09:31 am, ltaylor.vo...@gmail.com wrote: >[snip] >Clients using CRAM-MD5 will still fail with the same error, though. You >could create your own checker which differentiates how it checks based >on the provided credentials interface. FilePasswordDB can already check IUsernameHashedPassword cred