/offlineimap/head: changeset 298
Removed this (not a real part of the program)
This commit is contained in:
parent
854eaf3055
commit
b51f302be7
@ -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
|
|
Loading…
Reference in New Issue
Block a user