[Buildbot-devel] pyasn1-0.1.1 seems to break manhole on new install

A.T.Hofkamp a.t.hofkamp at tue.nl
Tue Nov 22 14:27:14 UTC 2011


On 11/22/2011 02:21 PM, Maarten Verwijs wrote:
>
>
> I posted the following on trac, but got tagged as spam. Here's a second
> go:
>
>
> On november 6th there was a new version of pyasn1 released on
> http://pypi.python.org/packages/2.6/p/pyasn1/.
>
> Using this version breaks the import of manhole when doing a new
> installation of a master.

Looking at the traceback line

 > "/home/buildmaster/buggy/lib/python2.6/site-packages/buildbot-0.8.5-py2.6.egg/buildbot/manhole.py",
 > line 24, in<module>
 >          from twisted.conch import manhole, telnet, manhole_ssh, checkers
 > as conchc

Buildbot just seems to do a simple import of a Twisted module.

 > 
"/home/buildmaster/buggy/lib/python2.6/site-packages/Twisted-11.1.0-py2.6-linux-x86_64.egg/twisted/conch/ssh/keys.py",
 > line 234, in _fromString_PRIVATE_OPENSSH
 >          return Class(RSA.construct((n, e, d, p, q)))
 >        File
 > "/home/buildmaster/buggy/lib/python2.6/site-packages/Crypto/PublicKey/RSA.py",
 > line 235, in construct
 >          key = self._math.rsa_construct(*tup)
 >        File
 > "/home/buildmaster/buggy/lib/python2.6/site-packages/Crypto/PublicKey/_slowmath.py",
 > line 85, in rsa_construct
 >          assert isinstance(e, long)
 >      exceptions.AssertionError:

And eventually, the Crypto package of Python 2.6 gets an unexpected data type.

At first sight, I'd say it is a bug in Python 2.6 Crypto or possibly in Twisted.


Albert




More information about the devel mailing list