mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Merge branch 'master' of github.com:letsencrypt/lets-encrypt-preview
This commit is contained in:
commit
7b7f1c5d9c
3 changed files with 18 additions and 15 deletions
|
|
@ -11,8 +11,8 @@ Apache, though we will be expanding it to other platforms.
|
|||
|
||||
```
|
||||
sudo apt-get install python python-setuptools python-virtualenv \
|
||||
python-dev python-augeas gcc swig dialog libssl-dev
|
||||
virtualenv --system-site-packages venv
|
||||
python-dev gcc swig dialog libssl-dev
|
||||
virtualenv --no-site-packages venv
|
||||
./venv/bin/python setup.py install
|
||||
sudo ./venv/bin/letsencrypt
|
||||
```
|
||||
|
|
|
|||
|
|
@ -369,11 +369,11 @@ class Client(object):
|
|||
|
||||
logger.info("Performing the following challenges:")
|
||||
|
||||
# Every indicies element is a list of integers referring to which
|
||||
# Every indices element is a list of integers referring to which
|
||||
# challenges in the master list the challenge object satisfies
|
||||
# Single Challenge objects that can satisfy multiple server challenges
|
||||
# mess up the order of the challenges, thus requiring the indicies
|
||||
challenge_objs, indicies = self.challenge_factory(
|
||||
# mess up the order of the challenges, thus requiring the indices
|
||||
challenge_objs, indices = self.challenge_factory(
|
||||
self.names[0], c["challenges"], path)
|
||||
|
||||
responses = ["null"] * len(c["challenges"])
|
||||
|
|
@ -387,7 +387,7 @@ class Client(object):
|
|||
# Handle RecoveryToken type challenges
|
||||
pass
|
||||
|
||||
for index in indicies[i]:
|
||||
for index in indices[i]:
|
||||
responses[index] = response
|
||||
|
||||
logger.info("Configured Apache for challenges; " +
|
||||
|
|
@ -548,7 +548,7 @@ class Client(object):
|
|||
sni_satisfies = []
|
||||
|
||||
challenge_objs = []
|
||||
challenge_obj_indicies = []
|
||||
challenge_obj_indices = []
|
||||
for c in path:
|
||||
if challenges[c]["type"] == "dvsni":
|
||||
logger.info(" DVSNI challenge for name %s." % name)
|
||||
|
|
@ -558,7 +558,7 @@ class Client(object):
|
|||
|
||||
elif challenges[c]["type"] == "recoveryToken":
|
||||
logger.info("\tRecovery Token Challenge for name: %s." % name)
|
||||
challenge_obj_indicies.append(c)
|
||||
challenge_obj_indices.append(c)
|
||||
challenge_objs.append({type:"recoveryToken"})
|
||||
|
||||
else:
|
||||
|
|
@ -570,10 +570,10 @@ class Client(object):
|
|||
# one "challenge object" is issued for all sni_challenges
|
||||
challenge_objs.append({"type":"dvsni", "listSNITuple":sni_todo,
|
||||
"dvsni_key":os.path.abspath(self.key_file)})
|
||||
challenge_obj_indicies.append(sni_satisfies)
|
||||
challenge_obj_indices.append(sni_satisfies)
|
||||
logger.debug(sni_todo)
|
||||
|
||||
return challenge_objs, challenge_obj_indicies
|
||||
return challenge_objs, challenge_obj_indices
|
||||
|
||||
|
||||
def get_key_csr_pem(self, csr_return_format = 'der'):
|
||||
|
|
|
|||
13
setup.py
13
setup.py
|
|
@ -15,18 +15,21 @@ setup(
|
|||
'letsencrypt.scripts',
|
||||
],
|
||||
install_requires=[
|
||||
#'dialog',
|
||||
'requests',
|
||||
'jsonschema',
|
||||
'M2Crypto',
|
||||
'pycrypto',
|
||||
#'python-augeas',
|
||||
'python-augeas',
|
||||
'python2-pythondialog',
|
||||
'requests',
|
||||
],
|
||||
dependency_links=[
|
||||
# http://augeas.net/download.html
|
||||
'https://fedorahosted.org/released/python-augeas/',
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'letsencrypt = letsencrypt.scripts.main:main'
|
||||
]
|
||||
'letsencrypt = letsencrypt.scripts.main:main',
|
||||
],
|
||||
},
|
||||
zip_safe=False,
|
||||
include_package_data=True,
|
||||
|
|
|
|||
Loading…
Reference in a new issue