From 77b1aaccc6dcc17108da17dc609c81bdd4e9a0e5 Mon Sep 17 00:00:00 2001 From: Kieran Spear Date: Mon, 31 Mar 2014 12:01:32 +1100 Subject: Don't validate points in known_hosts ECDSA keys Point validation is really expensive and apparently unnecessary when we already trust the keys in our known_hosts file. With my current known_hosts file of 657 keys, this reduces the time taken to complete a remote task in fabric from 24 seconds to 7 seconds. This requires python-ecdsa >= 0.11. Closes #270. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 2910a7fe..3b0ecdd8 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ try: from setuptools import setup kw = { 'install_requires': ['pycrypto >= 2.1, != 2.4', - 'ecdsa', + 'ecdsa >= 0.11', ], } except ImportError: -- cgit v1.2.3