[Python-modules-team] Bug#627727: python-keyczar: FTBFS: ValueError: RSA modulus length must be a multiple of 256 and > 1024
Jakub Wilk
jwilk at debian.org
Mon May 23 22:26:28 UTC 2011
Source: python-keyczar
Version: 0.6~b.061709-3
Severity: serious
Justification: fails to build from source
python-keyczar FTBFS:
| make[1]: Entering directory `/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709'
| set -e ; \
| cd tests/keyczar/; \
| for py in 2.6 2.7; do \
| if [ "$py" \< "2.6" ]; then \
| PYTHONPATH=/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/build/lib python$py alltests.py; \
| else \
| PYTHONPATH=/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/build/lib.linux-x86_64-$py python$py alltests.py; \
| fi; \
| done
| ...........E..................
| ======================================================================
| ERROR: testPubKey (keyczart_test.KeyczartTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/tests/keyczar/keyczart_test.py", line 60, in testPubKey
| pubmock.AddKey(33, keyinfo.PRIMARY, 512) # small key size for fast tests
| File "/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/build/lib.linux-x86_64-2.6/keyczar/readers.py", line 114, in AddKey
| key = keys.GenKey(self.kmd.type, size)
| File "/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/build/lib.linux-x86_64-2.6/keyczar/keys.py", line 72, in GenKey
| keyinfo.RSA_PRIV: RsaPrivateKey.Generate}[type](size)
| File "/build/python-keyczar-MPKPhm/python-keyczar-0.6~b.061709/build/lib.linux-x86_64-2.6/keyczar/keys.py", line 538, in Generate
| key = RSA.generate(size, util.RandBytes)
| File "/usr/lib/python2.6/dist-packages/Crypto/PublicKey/RSA.py", line 207, in generate
| raise ValueError("RSA modulus length must be a multiple of 256 and > 1024")
| ValueError: RSA modulus length must be a multiple of 256 and > 1024
|
| ----------------------------------------------------------------------
| Ran 30 tests in 0.509s
|
| FAILED (errors=1)
--
Jakub Wilk
More information about the Python-modules-team
mailing list