[Twisted-Python] Re: Authentication with Perspective Broker and hashed password file
Dave Cook
daverz at gmail.com
Sat Feb 12 01:18:28 MST 2005
On Fri, 11 Feb 2005 18:57:34 -0800, Dave Cook <daverz at gmail.com> wrote:
> I'd like to authenticate my PB client against a hashed password file,
> but I'm getting an error when I use a hash:
>
> Failure: twisted.cred.error.UnhandledCredentials: No checker for
> twisted.spread.interfaces.IJellyable,
> twisted.cred.credentials.IUsernameHashedPassword,
> twisted.cred.credentials.ICredentials,
> twisted.spread.pb.IUsernameMD5Password
BTW, I just tried it with the trivial hash
myChecker = checkers.FilePasswordDB("my_plaintext_passwd_file",
hash=lambda u, p, h: p)
Just to make very sure that the hash algorithm wasn't the problem.
Dave Cook
More information about the Twisted-Python
mailing list