afflux/pure-python-otr — Issue #4: DSAKey problems / exceptions
Author: weisslj
Created: 2012-03-08 16:21:42+00:00
State: open

Hi!,

if I hit the button "Generate" in the gajim OTR plugin I get the following traceback:

File "/home/weisslj/.local/share/gajim/plugins/gotr/ui.py", line 186, in regenerate_button_clicked_cb
self.plugin.us[account].getPrivkey(autogen=True)
File "/home/weisslj/.local/lib/python2.7/site-packages/potr/context.py", line 445, in getPrivkey
self.privkey = crypt.DSAKey.generate()
AttributeError: 'module' object has no attribute 'DSAKey'

If I import ```DSAKey``` from ```potr.compatcrypto``` in ```potr/crypt.py```, I get this error:
```TypeError: wrong number of arguments for private=False: got 5```

Do I miss any dependencies? I have python-crypto 2.5 from Debian Sid.