Fail To Run OMEMO Encryption Plugin
I'll try to assist in solving this to the best of my ability.
Versions
- OS: Parrot GNU/Linux 4.7
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/plugins/helpers.py", line 114, in wrapper
result = f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/plugins/gui.py", line 192, in installed_plugins_toggled_cb
app.plugin_manager.activate_plugin(plugin)
File "/usr/lib/python3/dist-packages/gajim/plugins/helpers.py", line 114, in wrapper
result = f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/plugins/pluginmanager.py", line 453, in activate_plugin
plugin.activate()
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemoplugin.py", line 176, in activate
self.connections[account] = OMEMOConnection(account, self)
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemo_connection.py", line 48, in __init__
self.omemo = self.__get_omemo()
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemo_connection.py", line 97, in __get_omemo
return OmemoState(self.own_jid, conn, self.account, self)
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemo/state.py", line 65, in __init__
self.store = LiteAxolotlStore(db_con)
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemo/liteaxolotlstore.py", line 57, in __init__
self._generate_axolotl_keys()
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/omemo/liteaxolotlstore.py", line 62, in _generate_axolotl_keys
preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(),
TypeError: getRandomSequence() missing 1 required positional argument: 'max'
Steps to reproduce the problem
...
Appears that the program doesn't know how to reproduce the steps so I'll explain how I did it myself below:
Download Gajim from appropriate repositories (Debian Testing) along with the dependencies, OMEMO & PGP plugins (automatically bundled)
Signin to a public Jabber server. Go to Gajim > Pugins > Check OMEMO This is when the "Error Detected" message appears.