[Dovecot] CRAM-MD5 in Python

tomas at tuxteam.de tomas at tuxteam.de
Wed Dec 16 20:19:03 EET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Dec 16, 2009 at 06:12:48PM +0100, Pascal Volk wrote:
> On 12/16/2009 05:11 PM Andre wrote:
> > Hi to all!
> > …
> > I’m implementing password crypto, but I have some problem in generating CRAM-MD5 password, dovecot style.
> > … is there anyone that have had solved the problem or has any idea on how to approach it?
> 
> CRAM-MD5 requires a lot of code. ;)
> It was to hard to me for the moment, so I'm using subprocess.Popen.
> If this may be a solution for you, have a look at:
> http://hg.localdomain.org/vmm/file/160/VirtualMailManager/VirtualMailManager.py#l416

What's missing from hmac and hashlib? Why wouldn't e.g. [1] work?

[1] <http://susampal.blogspot.com/2009/02/auth-cram-md5.html>

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLKSSXBcgs9XrR2kYRAsX+AJ4+hplibewYv8qzyhAHHy8oDbYqGgCfW4Zn
p3TPmeXx/YNz5o8BvBkm3eU=
=M5YF
-----END PGP SIGNATURE-----


More information about the dovecot mailing list