I will look and see if this is reported already upstream and if so find our if 
there's a patch to fix or new version that corrects this behaviour. I'll also 
try to reproduce the error and report upstream if it is not already.

Jeremy

-----Original Message-----

From:  Lars Wirzenius <[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 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 paramiko server instances, each with its own key, so I wanted
to pick the shortest possible key and that's 160 bits.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-paramiko depends on:
ii  python                     2.4.4-6       An interactive high-level object-o
ii  python-crypto              2.0.1+dfsg1-2 cryptographic algorithms and proto
ii  python-support             0.6.4         automated rebuilding support for p

python-paramiko recommends no packages.

-- no debconf information



Reply via email to