Skip to content

Commit

Permalink
letsencrypt -> certbot
Browse files Browse the repository at this point in the history
  • Loading branch information
marcan committed May 6, 2016
1 parent 928d6cc commit c1785a8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

from acme import challenges

from letsencrypt import errors
from letsencrypt import interfaces
from letsencrypt import reverter
from certbot import errors
from certbot import interfaces
from certbot import reverter

from letsencrypt.plugins import common
from certbot.plugins import common

from letsencrypt_external import constants
from letsencrypt_external import dvsni
from certbot_external import constants
from certbot_external import dvsni

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -62,7 +62,7 @@ def perform(self, achalls):
"""Perform the given challenge.
:param list achalls: Non-empty (guaranteed) list of
:class:`~letsencrypt.achallenges.AnnotatedChallenge`
:class:`~certbot.achallenges.AnnotatedChallenge`
instances, such that it contains types found within
:func:`get_chall_pref` only.
Expand Down Expand Up @@ -111,7 +111,7 @@ def cleanup(self, achalls):
"""Revert changes and shutdown after challenges complete.
:param list achalls: Non-empty (guaranteed) list of
:class:`~letsencrypt.achallenges.AnnotatedChallenge`
:class:`~certbot.achallenges.AnnotatedChallenge`
instances, a subset of those previously passed to :func:`perform`.
:raises PluginError: if original configuration cannot be restored
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions letsencrypt_external/dvsni.py → certbot_external/dvsni.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""ExternalDVSNI"""
import logging

from letsencrypt import errors
from letsencrypt.plugins import common
from certbot import errors
from certbot.plugins import common

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -31,7 +31,7 @@ class ExternalDvsni(common.TLSSNI01):
def perform(self):
"""Perform a DVSNI challenge using an external script.
:returns: list of :class:`letsencrypt.acme.challenges.DVSNIResponse`
:returns: list of :class:`certbot.acme.challenges.DVSNIResponse`
:rtype: list
"""
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

install_requires = [
'acme',
'letsencrypt',
'certbot',
'zope.interface',
]

setup(
name='letsencrypt-external',
name='certbot-external',
description="External hook plugin for Let's Encrypt client",
url='https://github.com/marcan/letsencrypt-external',
url='https://github.com/marcan/certbot-external',
author="Hector Martin",
author_email='marcan@marcan.st',
license='Apache License 2.0',
install_requires=install_requires,
packages=find_packages(),
entry_points={
'letsencrypt.plugins': [
'external = letsencrypt_external.configurator:ExternalConfigurator',
'certbot.plugins': [
'external = certbot_external.configurator:ExternalConfigurator',
],
},
)

0 comments on commit c1785a8

Please sign in to comment.