On 8/11/13 7:46 PM, Arnie Elkins wrote:
> Platform: Win
> Python Version: 2.7.5 on win32
> Dabo Version: 0.9.13
> UI Version: 2.8.12.1 on wxMSW
> 
> Running on Windows 8, using 32 bit tools.  PyCrypto 2.6 is installed from
> the Windows installer on http://www.voidspace.org.uk/python/modules.shtml .
> Run CxnEditor.py, click 'Set Crypto Key'.  No matter what I put in for a
> key, I get the following:
> 
> C:\SkyDrive\python\Dabo\ide>cxneditor.py
> 
> Traceback (most recent call last):

[snip]

>   File "C:\Python27\lib\site-packages\Crypto\Cipher\blockalgo.py", line 141,
> in __init__
> 
>     self._cipher = factory.new(key, *args, **kwargs)
> 
> ValueError: IV must be 8 bytes long
> 
> I first saw the error when trying to set 'app.CryptoKey' in a new app, but I
> found that cxneditor.py gave the same problem, so I am pretty certain it is
> not my code.  I don't know enough to pin down the problem.  Any ideas?
> Thanks!

This is certainly our problem, not yours. I haven't had the chance to move 
beyond
Python 2.7.3 yet - would you be able to try 2.7.3 instead of 2.7.5 just to see 
if the
newer Python caused the problem?

The other thing that's on my mind is 32-bit versus 64-bit. It shouldn't error 
out
like you are seeing with either 32-bit or 64-bit, but keys generated with 32-bit
won't work on 64-bit, and vice-versa.

Paul

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/520b7e06.2010...@ulmcnett.com

Reply via email to