Syndace / python-omemo

An open python implementation of the OMEMO Multi-End Message and Object Encryption protocol.
MIT License
41 stars 6 forks source link

Import fails #3

Closed lovetox closed 6 years ago

lovetox commented 6 years ago

When i try to import omemo i get a traceback.

Looking at x3dh, there is really no EncryptionKeyEncoder

  File "C:\msys64\mingw64\lib\python3.7\site-packages\omemo\signal\x3dh\encryptionkeyencoder.py", line 5, in <module>
    class EncryptionKeyEncoder(x3dh.EncryptionKeyEncoder):
AttributeError: module 'x3dh' has no attribute 'EncryptionKeyEncoder'
lovetox commented 6 years ago

Also this import fails

  File "C:\msys64\mingw64\lib\python3.7\site-packages\omemo\sessionmanager.py", line 9, in <module>
    from x3dh.exceptions import SessionInitiationException
ImportError: cannot import name 'SessionInitiationException' from 'x3dh.exceptions' (C:\msys64\mingw64\lib\python3.7\site-packages\x3dh\exceptions\__init__.py)
Syndace commented 6 years ago

I updated dependencies of this project which changed module names and interfaces. I haven't had the time to adjust yet. Working on it right now, should be done pretty soon.