From 583706bbe231a7ad81aadfb87ede428517d22ba2 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 10 Aug 2016 22:33:52 +0200 Subject: [PATCH] Update the SSH pycrypto/asn1 import recommendation to instead reference the cryptography library as mentioned in Twisted issue https://twistedmatrix.com/trac/ticket/7413. --- evennia/server/portal/ssh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/evennia/server/portal/ssh.py b/evennia/server/portal/ssh.py index de707b1051..61ca1fd6bb 100644 --- a/evennia/server/portal/ssh.py +++ b/evennia/server/portal/ssh.py @@ -21,7 +21,9 @@ try: from twisted.conch.ssh.keys import Key except ImportError: raise ImportError ("To use SSH, you need to install the crypto libraries:\n" - " pip install pycrypto pyasn1\n") + " pip install cryptography\n" + "(on older Twisted versions you may instead have to try " + "pip install pycrypto pyasn1)\n") from twisted.conch.ssh.userauth import SSHUserAuthServer from twisted.conch.ssh import common