Skip to content

Commit

Permalink
Twisted now uses 'cryptography', not 'pycrypto'
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigc committed Jul 12, 2017
1 parent e87a34b commit e301e28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/config.py
Expand Up @@ -521,7 +521,7 @@ def copy_str_or_callable_param(name, alt_key=None):
if 'manhole' in config_dict:
# we don't check that this is a manhole instance, since that
# requires importing buildbot.manhole for every user, and currently
# that will fail if pycrypto isn't installed
# that will fail if cryptography isn't installed
self.manhole = config_dict['manhole']

if 'revlink' in config_dict:
Expand Down
6 changes: 3 additions & 3 deletions master/buildbot/manhole.py
Expand Up @@ -254,7 +254,7 @@ def __init__(self, port, username, password):
"""

if not manhole_ssh:
config.error("pycrypto required for ssh mahole.")
config.error("cryptography required for ssh mahole.")
self.username = username
self.password = password

Expand Down Expand Up @@ -288,7 +288,7 @@ def __init__(self, port, keyfile):
"""

if not manhole_ssh:
config.error("pycrypto required for ssh mahole.")
config.error("cryptography required for ssh mahole.")

# TODO: expanduser this, and make it relative to the buildmaster's
# basedir
Expand Down Expand Up @@ -317,7 +317,7 @@ def __init__(self, port, checker):
"""

if not manhole_ssh:
config.error("pycrypto required for ssh mahole.")
config.error("cryptography required for ssh mahole.")

_BaseManhole.__init__(self, port, checker)

Expand Down
2 changes: 1 addition & 1 deletion master/docs/manual/cfg-global.rst
Expand Up @@ -458,7 +458,7 @@ Two of them use a username+password combination to grant access, one of them use

.. note::

Using any Manhole requires that ``pycrypto`` and ``pyasn1`` be installed.
Using any Manhole requires that ``cryptography`` and ``pyasn1`` be installed.
These are not part of the normal Buildbot dependencies.

`manhole.AuthorizedKeysManhole`
Expand Down

0 comments on commit e301e28

Please sign in to comment.