[tahoe-dev] pycryptopp and snow leopard

Aaron Cordova aaron at cordovas.org
Mon Aug 31 19:15:41 PDT 2009


It seems part of pycryptopp is failing (segfaulting) when running  
Tahoe on SnowLeopard (Mac OS 10.6). This is after a new install of  
Tahoe 1.5.0.

running the rsa unittests, revealed the following fails. Given the  
script:

from pycryptopp.publickey import rsa

signer = rsa.generate(522)
verifier = signer.get_verifying_key()
sig = signer.sign('a')
verifier.verify('a', sig)


script output:

 >>> from pycryptopp.publickey import rsa
 >>> signer = rsa.generate(522)
 >>> verifier = signer.get_verifying_key()
 >>> s = signer.sign('a')
 >>> s
'\x00\x92<,w& f\x8a\xe2\xa4\xe5\x11\x85\xac\x14\xaa\x94j\x98"\xab 
\x89\x96C-K\x94\x05@\xf7\xda\x9f-/\x9a\xa8L\x026\xbf\xa5\xb6"`\xba 
[\x05\\\xd0X\xd2\xfcd]\x89\xd4\xad\'.\xe0K\xe4\x01\x0e\x93'
 >>> verifier.verify('a', s)
Segmentation fault


Not sure if the underlying Crypto++ library runs or not.. may look  
into this further, but for now that's that.

Aaron Cordova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://allmydata.org/pipermail/tahoe-dev/attachments/20090831/f8030dfd/attachment.htm 


More information about the tahoe-dev mailing list