diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-02-19 11:39:06 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-02-19 11:39:06 -0800 |
commit | 4ee756c311e31b8ba30b84829116e98ef4ffc9af (patch) | |
tree | c46f87021cd9a5000c98cde24f7aa0d9a8718a42 | |
parent | a3318d348da23e3bd5cbb59f5aee08a68c42366a (diff) | |
parent | c798ef5dd3b2647f765716b943fe42615d5508dd (diff) |
Merge branch '1.17' into 1.18
-rw-r--r-- | paramiko/auth_handler.py | 2 | ||||
-rw-r--r-- | sites/www/changelog.rst | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/paramiko/auth_handler.py b/paramiko/auth_handler.py index 38b23729..cab27a88 100644 --- a/paramiko/auth_handler.py +++ b/paramiko/auth_handler.py @@ -597,7 +597,7 @@ class AuthHandler (object): for i in range(n): responses.append(m.get_text()) result = self.transport.server_object.check_auth_interactive_response(responses) - if isinstance(type(result), InteractiveQuery): + if isinstance(result, InteractiveQuery): # make interactive query instead of response self._interactive_query(result) return diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst index 460637f9..8286baa9 100644 --- a/sites/www/changelog.rst +++ b/sites/www/changelog.rst @@ -2,6 +2,9 @@ Changelog ========= +* :bug:`895` Fix a bug in server-mode concerning multiple interactive auth + steps (which were incorrectly responded to). Thanks to Dennis Kaarsemaker for + catch & patch. * :support:`866 backported` (also :issue:`838`) Remove an old test-related file we don't support, and add PyPy to Travis-CI config. Thanks to Pierce Lopez for the final patch and Pedro Rodrigues for an earlier edition. |