rev 298 - offlineimap/head/offlineimap
[email protected] Fri, 3 Jan 2003 16:58:04 -0600 (CST)
| Newsgroups | gmane.mail.imap.offlineimap.subversion |
|---|---|
| Message-ID | <[email protected]> |
Author: jgoerzen Date: 2003-01-03 16:58:04 -0600 (Fri, 03 Jan 2003) New Revision: 298 Removed: offlineimap/head/offlineimap/test.py Log: Removed this (not a real part of the program) Deleted: offlineimap/head/offlineimap/test.py ============================================================================== --- offlineimap/head/offlineimap/test.py (original) +++ offlineimap/head/offlineimap/test.py Fri Jan 3 16:58:04 2003 @@ -1,17 +0,0 @@ -#!/usr/bin/python2.2 -i -import hmac -def getpassword(): - return 'tanstaaftanstaaf' - -def md5handler(response): - challenge = response.strip() - print "challenge is", challenge - msg = getpassword() - reply = hmac.new(challenge, msg) - retval = 'tim' + ' ' + \ - reply.hexdigest() - while len(retval) < 64: - retval += "\0" - - print "md5handler returning", retval - return retval