diff --git a/paramiko/common.py b/paramiko/common.py index e349e05..3c1bc16 100644 --- a/paramiko/common.py +++ b/paramiko/common.py @@ -99,6 +99,7 @@ DISCONNECT_SERVICE_NOT_AVAILABLE, DISCONNECT_AUTH_CANCELLED_BY_USER, \ from Crypto.Util.randpool import PersistentRandomPool, RandomPool # keep a crypto-strong PRNG nearby +import os try: randpool = PersistentRandomPool(os.path.join(os.path.expanduser('~'), '/.randpool')) except: