mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
makechallenge functionality was moved into daemon.py
This commit is contained in:
parent
ffa30bf012
commit
a927dae732
1 changed files with 0 additions and 8 deletions
|
|
@ -113,14 +113,6 @@ class session(object):
|
|||
for i in xrange(n):
|
||||
yield r.hgetall("session:%d" % i)
|
||||
|
||||
def make_challenge(self):
|
||||
challid = random()
|
||||
value = random()
|
||||
sessions.hset(self.id + ":req", "id", challid)
|
||||
sessions.hset(self.id + ":req", "challtime", int(time.time()))
|
||||
sessions.hset(self.id + ":req", "challenge", value)
|
||||
return (challid, value)
|
||||
|
||||
def handlesession(self, m, r):
|
||||
if r.failure.IsInitialized(): return
|
||||
if m.session == "":
|
||||
|
|
|
|||
Loading…
Reference in a new issue