From b51f302be794de003a48c1bf376a30dd43c4e669 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Sat, 4 Jan 2003 05:58:04 +0100 Subject: [PATCH] /offlineimap/head: changeset 298 Removed this (not a real part of the program) --- offlineimap/head/offlineimap/test.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 offlineimap/head/offlineimap/test.py diff --git a/offlineimap/head/offlineimap/test.py b/offlineimap/head/offlineimap/test.py deleted file mode 100644 index 60b2f8f..0000000 --- a/offlineimap/head/offlineimap/test.py +++ /dev/null @@ -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