diff options
-rw-r--r-- | paramiko/transport.py | 7 | ||||
-rw-r--r-- | tests/test_transport.py | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 70c47af9..68cc195d 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -158,7 +158,6 @@ class Transport(threading.Thread, ClosingContextManager): "aes128-cbc", "aes192-cbc", "aes256-cbc", - "blowfish-cbc", "3des-cbc", ) _preferred_macs = ( @@ -232,12 +231,6 @@ class Transport(threading.Thread, ClosingContextManager): "block-size": 16, "key-size": 32, }, - "blowfish-cbc": { - "class": algorithms.Blowfish, - "mode": modes.CBC, - "block-size": 8, - "key-size": 16, - }, "aes128-cbc": { "class": algorithms.AES, "mode": modes.CBC, diff --git a/tests/test_transport.py b/tests/test_transport.py index b26d36cd..c17a1fc3 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -196,9 +196,9 @@ class TransportTest(unittest.TestCase): def test_security_options(self): o = self.tc.get_security_options() self.assertEqual(type(o), SecurityOptions) - self.assertTrue(("aes256-cbc", "blowfish-cbc") != o.ciphers) - o.ciphers = ("aes256-cbc", "blowfish-cbc") - self.assertEqual(("aes256-cbc", "blowfish-cbc"), o.ciphers) + self.assertTrue(("aes256-cbc") != o.ciphers) + o.ciphers = ("aes256-cbc") + self.assertEqual(("aes256-cbc"), o.ciphers) try: o.ciphers = ("aes256-cbc", "made-up-cipher") self.assertTrue(False) |