Bug#433563: python-paramiko: generating a 160-bit DSS key leads to eternal loop

2009-12-13 Thread Dwayne C. Litzenberger
tags 433563 + fixed-upstream thanks This has been fixed upstream in PyCrypto 2.1.0. Generating 160-bit DSA keys is now disallowed; DSA.generate now accepts only multiples of 64 bits between 512 and 1024, per the DSA standard (such a small DSA key is not terribly useful, anyway). Cheers, - Dw

Bug#433563: python-paramiko: generating a 160-bit DSS key leads to eternal loop

2007-07-17 Thread Jeremy T. Bouse
us <[EMAIL PROTECTED]> Subj: Bug#433563: python-paramiko: generating a 160-bit DSS key leads to eternal loop Date: Tue Jul 17, 2007 6:35 pm Size: 1K To: Debian Bug Tracking System <[EMAIL PROTECTED]> Package: python-paramiko Version: 1.6.4-1 Severity: normal The following code does n

Bug#433563: python-paramiko: generating a 160-bit DSS key leads to eternal loop

2007-07-17 Thread Lars Wirzenius
Package: python-paramiko Version: 1.6.4-1 Severity: normal The following code does not seem to ever finish: import paramiko paramiko.DSSKey.generate(bits=160) If I change the 160 to 161, it works, instantly. Amusingly, I ran into this because I wanted my unit test code generate a number of para