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):

  File
"C:\Python27\lib\site-packages\dabo-0.9.13-py2.7.egg\dabo\ui\uiwx\dControlMi
xin.py", line 27, in _onWxHit

    self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)

  File
"C:\Python27\lib\site-packages\dabo-0.9.13-py2.7.egg\dabo\ui\uiwx\dPemMixin.
py", line 1084, in raiseEvent

    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)

  File
"C:\Python27\lib\site-packages\dabo-0.9.13-py2.7.egg\dabo\lib\eventMixin.py"
, line 81, in raiseEvent

    bindingFunction(event)

  File "C:\SkyDrive\python\Dabo\ide\CxnEditor.py", line 244, in onSetCrypto

    self.Application.CryptoKey = key

  File "C:\Python27\lib\site-packages\dabo-0.9.13-py2.7.egg\dabo\dApp.py",
line 1388, in _setCryptoKey

    self._cryptoProvider = SimpleCrypt(key=val)

  File
"C:\Python27\lib\site-packages\dabo-0.9.13-py2.7.egg\dabo\lib\SimpleCrypt.py
", line 48, in __init__

    self._cryptoProvider = DES3.new(self.__key, DES3.MODE_CBC)

  File "C:\Python27\lib\site-packages\Crypto\Cipher\DES3.py", line 114, in
new

    return DES3Cipher(key, *args, **kwargs)

  File "C:\Python27\lib\site-packages\Crypto\Cipher\DES3.py", line 76, in
__init__

    blockalgo.BlockAlgo.__init__(self, _DES3, key, *args, **kwargs)

  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!

 

Arnie Elkins

arnie.elk...@gmail.com <mailto:arnie.elk...@gmail.com> 

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/003001ce9706$33a01450$9ae03cf0$@gmail.com

Reply via email to