mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 03:02:15 +02:00
Updated todos
This commit is contained in:
@@ -153,10 +153,8 @@ class AuthHandler(object):
|
|||||||
"""
|
"""
|
||||||
active_achalls = []
|
active_achalls = []
|
||||||
for achall, resp in itertools.izip(achalls, resps):
|
for achall, resp in itertools.izip(achalls, resps):
|
||||||
# XXX: make sure that all achalls, including those
|
# This line needs to be outside of the if block below to
|
||||||
# corresponding to None or False returned from
|
# ensure failed challenges are cleaned up correctly
|
||||||
# Authenticator are removed from the queue and thus avoid
|
|
||||||
# infinite loop
|
|
||||||
active_achalls.append(achall)
|
active_achalls.append(achall)
|
||||||
|
|
||||||
# Don't send challenges for None and False authenticator responses
|
# Don't send challenges for None and False authenticator responses
|
||||||
|
|||||||
@@ -329,8 +329,6 @@ class Client(object):
|
|||||||
|
|
||||||
with error_handler.ErrorHandler(self.installer.recovery_routine):
|
with error_handler.ErrorHandler(self.installer.recovery_routine):
|
||||||
for dom in domains:
|
for dom in domains:
|
||||||
# TODO: Provide a fullchain reference for installers like
|
|
||||||
# nginx that want it
|
|
||||||
self.installer.deploy_cert(
|
self.installer.deploy_cert(
|
||||||
domain=dom, cert_path=os.path.abspath(cert_path),
|
domain=dom, cert_path=os.path.abspath(cert_path),
|
||||||
key_path=os.path.abspath(privkey_path),
|
key_path=os.path.abspath(privkey_path),
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ def renew(cert, old_version):
|
|||||||
sans = crypto_util.get_sans_from_cert(f.read())
|
sans = crypto_util.get_sans_from_cert(f.read())
|
||||||
new_certr, new_chain, new_key, _ = le_client.obtain_certificate(sans)
|
new_certr, new_chain, new_key, _ = le_client.obtain_certificate(sans)
|
||||||
if new_chain:
|
if new_chain:
|
||||||
# XXX: Assumes that there was no key change. We need logic
|
# XXX: Assumes that there was a key change. We need logic
|
||||||
# for figuring out whether there was or not. Probably
|
# for figuring out whether there was or not. Probably
|
||||||
# best is to have obtain_certificate return None for
|
# best is to have obtain_certificate return None for
|
||||||
# new_key if the old key is to be used (since save_successor
|
# new_key if the old key is to be used (since save_successor
|
||||||
@@ -180,7 +180,6 @@ def main(config=None, cli_args=sys.argv[1:]):
|
|||||||
rc_config = configobj.ConfigObj(cli_config.renewer_config_file)
|
rc_config = configobj.ConfigObj(cli_config.renewer_config_file)
|
||||||
rc_config.merge(configobj.ConfigObj(
|
rc_config.merge(configobj.ConfigObj(
|
||||||
os.path.join(cli_config.renewal_configs_dir, i)))
|
os.path.join(cli_config.renewal_configs_dir, i)))
|
||||||
# TODO: this is a dirty hack!
|
|
||||||
rc_config.filename = os.path.join(cli_config.renewal_configs_dir, i)
|
rc_config.filename = os.path.join(cli_config.renewal_configs_dir, i)
|
||||||
try:
|
try:
|
||||||
# TODO: Before trying to initialize the RenewableCert object,
|
# TODO: Before trying to initialize the RenewableCert object,
|
||||||
|
|||||||
Reference in New Issue
Block a user