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\...@\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
_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to