Twisted.conch Does Not Support Strong Key Exchange Algorithms (Yet?)

You’ve probably heard about a Logjam attack on Diffie-Hellman key exchange algorithm Here is a post by Jethro Beekman providing some details and suggessions on hardening your SSH server security. Few days ago I’ve started playing around Twisted Python framework in general and Conch library which handles SSH connections in an event-based manner in particular. ...

July 7, 2015 · 2 min · Serg K0SSK

Python. Threading. Function() Takes Exactly X Arguments (Y Given)

Was playing around running multiple threads in Python. Here is a part of script launching docker_cleanup(controller_name) function in a separate thread. from threading import Thread ... threads = [] for controller_name in controllers: # Remove container if it already exists t = Thread(target=docker_cleanup, args=(controller_name)) threads.append(t) t.start() for t in threads: t.join() # Block main thread while childs executed ... ...

May 29, 2015 · 1 min · Serg K0SSK