Fix DnsChall

This commit is contained in:
James Kasten
2015-02-02 02:02:11 -08:00
parent 687668ec75
commit 860a9a77b0
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -299,8 +299,7 @@ class AuthHandler(object): # pylint: disable=too-many-instance-attributes
elif chall["type"] == "dns":
logging.info(" DNS challenge for name %s.", domain)
return challenge_util.DnsChall(
domain, str(chall["token"]), self.authkey[domain])
return challenge_util.DnsChall(domain, str(chall["token"]))
else:
raise errors.LetsEncryptClientError(
+1 -1
View File
@@ -13,7 +13,7 @@ from letsencrypt.client import le_util
DvsniChall = collections.namedtuple("DvsniChall", "domain, r_b64, nonce, key")
SimpleHttpsChall = collections.namedtuple(
"SimpleHttpsChall", "domain, token, key")
DnsChall = collections.namedtuple("DnsChall", "domain, token, key")
DnsChall = collections.namedtuple("DnsChall", "domain, token")
# Client Challenges
RecContactChall = collections.namedtuple(