gajim-plugins issueshttps://dev.gajim.org/gajim/gajim-plugins/-/issues2021-10-18T18:39:21Zhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/569Plugin "Source Code Syntax Highlight" crashes when trying to "Paste as Code" ...2021-10-18T18:39:21ZgabbePlugin "Source Code Syntax Highlight" crashes when trying to "Paste as Code" or "Paste as Code Block"## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "C:\Users\gabbe\App...## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "C:\Users\gabbe\AppData\Roaming\Gajim\Plugins\syntax_highlight\chat_syntax_highlighter.py", line 58, in _paste_as_code
self._insert_paste(f'`{text}`')
File "C:\Users\gabbe\AppData\Roaming\Gajim\Plugins\syntax_highlight\chat_syntax_highlighter.py", line 52, in _insert_paste
self._chat_control.msg_textview.remove_placeholder()
AttributeError: 'MessageInputTextView' object has no attribute 'remove_placeholder'
```
## Steps to reproduce the problem
Every time I try to right click and use either "Paste as Code" or "Paste as Code Block". I have tried to reinstall the plugin, and even reinstall Gajim but I still get this crash. It HAS worked, but somewhere along the way it started crashing.https://dev.gajim.org/gajim/gajim-plugins/-/issues/566[omemo] Transfer error is set incorrectly2021-09-03T13:45:00Zilmaisin[omemo] Transfer error is set incorrectly## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "C:\Users\iirol\App...## Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "C:\Users\iirol\AppData\Roaming\Gajim\Plugins\omemo\file_crypto.py", line 127, in _on_finished
transfer.set_error('http-error', 'Download failed: %s', transfer.request_uri)
TypeError: set_error() takes from 2 to 3 positional arguments but 4 were given
```
## Steps to reproduce the problem
Send an attachment from Conversations to Gajim. The sending account has a self-signed certificate.https://dev.gajim.org/gajim/gajim-plugins/-/issues/5640 byte image file error2021-07-06T18:15:08Znico0 byte image file error## Versions
- OS: Arch Linux
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.68.0
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.9...## Versions
- OS: Arch Linux
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.68.0
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/gajim/common/helpers.py", line 1347, in _on_load_finished
callback(contents, None, user_data)
File "/home/nico/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 380, in _on_orig_load_finished
if preview.create_thumbnail(data):
File "/home/nico/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 816, in create_thumbnail
self.thumbnail = create_thumbnail(data, self.size)
File "/home/nico/.local/share/gajim/plugins/url_image_preview/utils.py", line 132, in create_thumbnail
return create_thumbnail_with_pixbuf(data, size)
File "/home/nico/.local/share/gajim/plugins/url_image_preview/utils.py", line 143, in create_thumbnail_with_pixbuf
loader.close()
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Unrecognized image file format (3)
```
## Steps to reproduce the problem
Due to some weird coincidence a received a 0 byte http upload file, gajim tries to open the file every time I open that particular chat window of course and stumbles over this error.
I think the best way to fix this would be discard the thumbnail generation on very obvious occasions like
- 0 byte files
- files missing various image magic byteshttps://dev.gajim.org/gajim/gajim-plugins/-/issues/555Crash when activating OpenPGP plugin without gpg installed2021-07-01T07:37:43ZChristian EichertCrash when activating OpenPGP plugin without gpg installed**Please first check if another issue has been opened for your problem**
## Versions
- OS: Windows 7
- GTK Version: 3.24.27
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-d...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Windows 7
- GTK Version: 3.24.27
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-dev1
During handling of the above exception, another exception occurred:
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/data/plugins/plugin_installer/plugin_installer.py", line 209, in _on_download_plugin_finished
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 264, in update_plugins
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 304, in add_plugin
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 550, in activate_plugin
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 521, in _register_modules_with_handlers
File "C:\Users\Simona\Gajim-Portable-Master-64bit-2021-04-10\UserData\Plugins\openpgp\modules\openpgp.py", line 304, in get_instance
return OpenPGP(*args, **kwargs), 'OpenPGP'
File "C:\Users\Simona\Gajim-Portable-Master-64bit-2021-04-10\UserData\Plugins\openpgp\modules\openpgp.py", line 94, in __init__
self._pgp = PGPBackend(self.own_jid, path)
File "C:\Users\Simona\Gajim-Portable-Master-64bit-2021-04-10\UserData\Plugins\openpgp\backend\pygpg.py", line 36, in __init__
gnupg.GPG.__init__(self, gpgbinary='gpg', gnupghome=str(gnupghome))
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gnupg.py", line 858, in __init__
```
## Steps to reproduce the problem
1. Start install Plugins
2. Choose Plugins
3. Hit Install
## Expected behavior
## Actual behavior
Crashhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/560AttributeError: 'JID' object has no attribute 'getStripped'2021-05-14T19:42:42ZEasyNTAttributeError: 'JID' object has no attribute 'getStripped'**Please first check if another issue has been opened for your problem**
## Versions
- OS: macOS 10.15.7 Darwin 19.6.0
- Gajim version: 1.3.2+19e371c835a1
- Plugin version: 2.7.14
- GTK version: 3.24.29
- Python-nbxmpp versio...**Please first check if another issue has been opened for your problem**
## Versions
- OS: macOS 10.15.7 Darwin 19.6.0
- Gajim version: 1.3.2+19e371c835a1
- Plugin version: 2.7.14
- GTK version: 3.24.29
- Python-nbxmpp version: 3.0.0-dev1
## Steps to reproduce the problem
1. Try to activate the plugin
## Expected behavior
Plugin should activate.
## Actual behavior
```
Traceback (most recent call last):
File "/usr/local/gajim/gajim/plugins/gui.py", line 214, in _installed_plugin_toggled
app.plugin_manager.activate_plugin(plugin)
File "/usr/local/gajim/gajim/plugins/pluginmanager.py", line 550, in activate_plugin
self._register_modules_with_handlers(plugin)
File "/usr/local/gajim/gajim/plugins/pluginmanager.py", line 521, in _register_modules_with_handlers
instance, name = module.get_instance(con)
File "/Users/Me/.local/share/gajim/plugins/omemo/modules/omemo.py", line 515, in get_instance
return OMEMO(*args, **kwargs), 'OMEMO'
File "/Users/Me/.local/share/gajim/plugins/omemo/modules/omemo.py", line 106, in __init__
self._own_jid = self._con.get_own_jid().getStripped()
AttributeError: 'JID' object has no attribute 'getStripped'
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/528Images with question mark character in filenames are not displayed, and canno...2021-04-26T18:09:06ZtomImages with question mark character in filenames are not displayed, and cannot be downloaded**Please first check if another issue has been opened for your problem**
## Versions
- OS: Ubuntu 20.04.1
- Gajim version: 1.2.91+gajim@7ac4ba3b147593407b009d1b1766659e5f1f94a0
- GTK version: 3.24.20
- Python-nbxmpp version: ...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Ubuntu 20.04.1
- Gajim version: 1.2.91+gajim@7ac4ba3b147593407b009d1b1766659e5f1f94a0
- GTK version: 3.24.20
- Python-nbxmpp version: 1.91.0
## Steps to reproduce the problem
1. Upload image file with special name, I suspect containing a question mark.
## Expected behavior
1. File is automatically downloaded and displayed.
2. If not, click on the file and it downloads and can be saved.
## Actual behavior
File is only displayed in some cases. In other cases, one cannot even download the file.
Conversations does display the files correctly.
From the attached images, only those without a question mark in the filename are displayed.
The other are displayed as a aesgcm:// link aesgcm://<domain>/<subdir>/f1ba3e06-1294-40a2-b249-d4ec78166a8c/org.gajim.Gajim.png%3fwidth%3d64.png#c3...60
If I click on the link the below download window is shown and it is stuck perpetually. Note that this is indeed the org.gajim.Gajim.png?width=64.png, and everything starting from the "?" is not processed somehow.
Nnote that the filenames I sent are the following, each one with the same content, but different name. gitlab automatically converts the filenames:
```
org.gajim.Gajim.png
org.gajim.Gajim.png?width=64.png
org.gajim.Gajim.png?width.png
org.gajim.Gajim.width=64.png
org.gajim.Gajim?width.png
```
![image](/uploads/2552a70302ecc953d12c32ef5147739b/image.png)https://dev.gajim.org/gajim/gajim-plugins/-/issues/530Opening Images (with image preview) can result in every left click opens that...2021-04-22T20:34:11ZGhost UserOpening Images (with image preview) can result in every left click opens that image again## Versions
- OS: Win10
- Gajim version: 1.2.2
- GTK version: 3.24.20
- Python-nbxmpp version: 1.0.2
- Window behaviour: Single window for everything
- Plugins: Url image preview v2.4.5
## Steps to reproduce the problem
...## Versions
- OS: Win10
- Gajim version: 1.2.2
- GTK version: 3.24.20
- Python-nbxmpp version: 1.0.2
- Window behaviour: Single window for everything
- Plugins: Url image preview v2.4.5
## Steps to reproduce the problem
1. Left click on an image in the chat. (drag and Drag at least 1 px)
2. The Window that shows the image needs to come up exactly where your mouse is.
3. Close the Image you've just opened.
4. Now the next Left mouse click opens that image again, it doesn't matter where you click in the Gajim window.
## Expected behavior
The Image shows up, closing it. Gajim resumes normal.
## Actual behavior
The Image shows up, closing it and clicking anywhere in Gajim Will open up that image again.
## side notes
- The Image NEEDS to open up directly under the cursor
- You need to make a drag move, if you make an clean click everything works normally
- It looks like Gajim goes into drag and drop mode and that window that opens up screws something up.https://dev.gajim.org/gajim/gajim-plugins/-/issues/550[pgp] Error while migrating key store (flatpak)2021-03-25T07:39:32Zvabals[pgp] Error while migrating key store (flatpak)## Versions
- OS: Debian 10 KDE
- GTK Version: 3.24.27
- PyGObject Version: 3.38.0
- GLib Version : 2.66.8
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.1
## Traceback
```
Traceback (most recent call last):
File "/app/lib/python...## Versions
- OS: Debian 10 KDE
- GTK Version: 3.24.27
- PyGObject Version: 3.38.0
- GLib Version : 2.66.8
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.1
## Traceback
```
Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/gajim/application.py", line 234, in _startup
self.interface.run(self)
File "/app/lib/python3.8/site-packages/gajim/gui_interface.py", line 1968, in run
app.plugin_manager.init_plugins()
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 275, in init_plugins
self.activate_plugin(plugin)
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 550, in activate_plugin
self._register_modules_with_handlers(plugin)
File "/app/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 521, in _register_modules_with_handlers
instance, name = module.get_instance(con)
File "/app/plugins/pgp/modules/pgp_legacy.py", line 301, in get_instance
return PGPLegacy(*args, **kwargs), 'PGPLegacy'
File "/app/plugins/pgp/modules/pgp_legacy.py", line 78, in __init__
self._store = KeyStore(self._account, self.own_jid, self._log,
File "/app/plugins/pgp/backend/store.py", line 56, in __init__
self._migrate_v2_store()
File "/app/plugins/pgp/backend/store.py", line 116, in _migrate_v2_store
key_data['key_id'] = self._resolve_short_id(key_data['key_id'])
TypeError: 'NoneType' object is not subscriptable
```
## Steps to reproduce the problem
flatpak install flathub org.gajim.Gajim
flatpak install org.gajim.Gajim.Plugin.pgphttps://dev.gajim.org/gajim/gajim-plugins/-/issues/549Gajim only stores OMEMO key from one account2021-03-19T14:23:23Zjust gajimuserGajim only stores OMEMO key from one accountI have several accounts in Gajim. Only from the account that I enabled first are the OMEMO keys stored. For every other accounts Gajim will create a new key every time I restart.I have several accounts in Gajim. Only from the account that I enabled first are the OMEMO keys stored. For every other accounts Gajim will create a new key every time I restart.https://dev.gajim.org/gajim/gajim-plugins/-/issues/547Plugin Installer not included in distribution tarball2021-03-02T20:11:41ZPaco EstebanPlugin Installer not included in distribution tarballWhile updating the OpenBSD package for Gajim, we hit this: https://dev.gajim.org/gajim/gajim/-/issues/10440
We noticed that the Plugin Installer plugin is not present on the distribution tarball anymore so the old plugins are incompatib...While updating the OpenBSD package for Gajim, we hit this: https://dev.gajim.org/gajim/gajim/-/issues/10440
We noticed that the Plugin Installer plugin is not present on the distribution tarball anymore so the old plugins are incompatible and there's no way to update them.
The Wiki [here](https://dev.gajim.org/gajim/gajim-plugins/-/wikis/PluginInstallerPlugin#installation) says:
> The Plugin should be included in Gajim's standard installation.
We also saw that the plugin is present on the nightly builds. Is this a known problem ?
Do you plan to include it again ?
Thank you.https://dev.gajim.org/gajim/gajim-plugins/-/issues/538Error while trying to remove translations2021-02-19T22:50:03ZNeustradamusError while trying to remove translations## Versions
- OS: Windows 7
- GTK Version: 3.24.24
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 2.0.0
- Gajim Version: 1.3.0-beta2
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home...## Versions
- OS: Windows 7
- GTK Version: 3.24.24
- PyGObject Version: 3.38.0
- GLib Version : 2.66.2
- python-nbxmpp Version: 2.0.0
- Gajim Version: 1.3.0-beta2
## Traceback
```
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/application.py", line 227, in _startup
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/gui_interface.py", line 2076, in run
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 275, in init_plugins
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/site-packages/gajim/plugins/pluginmanager.py", line 554, in activate_plugin
File "C:\Users\admin\AppData\Roaming\Gajim\Plugins\plugins_translations\plugins_translations.py", line 30, in activate
self._remove_translations()
File "C:\Users\admin\AppData\Roaming\Gajim\Plugins\plugins_translations\plugins_translations.py", line 48, in _remove_translations
shutil.rmtree(str(self.locale_dir))
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/shutil.py", line 740, in rmtree
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/shutil.py", line 613, in _rmtree_unsafe
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/shutil.py", line 622, in _rmtree_unsafe
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.8/shutil.py", line 620, in _rmtree_unsafe
OSError: [WinError 145] Le répertoire n’est pas vide: 'C:\\Users\\admin\\AppData\\Roaming\\Gajim\\Plugins\\locale\\nl_BE'
```
## Steps to reproduce the problemhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/545"Actions for" function can accidentally send private chat logs to google2021-02-06T09:48:21Zsy ster"Actions for" function can accidentally send private chat logs to googleups wrong repo. Open ticket about the matter is here:
https://dev.gajim.org/gajim/gajim/-/issues/10423
When I make right click on a marked text in any chat (also in OMEMO encrypted chat) several option appear. One option is called "Acti...ups wrong repo. Open ticket about the matter is here:
https://dev.gajim.org/gajim/gajim/-/issues/10423
When I make right click on a marked text in any chat (also in OMEMO encrypted chat) several option appear. One option is called "Actions for...". If you choose that by just moving the cursor over it, a submenu shows up presenting you several options. What ever option you choose, it will send the marked text to your default browser. If you choose the option "Web Search it", parts of your chat will be send to google.
By choosing this design, **a user only needs to make a single wrong click and chat logs from an OMEMO encrypted chat can be send to google.**
there can be different reason this function can lead to unwanted result.
- your cursor (this also can have different reason, what they are is not important, important is that it happens) doesn't move smooth, and so you accidentally make a single wrong click
- you are notorious curious and like to click and learn from the result rather then thinking prior what that outcome will be. You've been told that private OMEMO encrypted chats are secure, so you believe you can't make something from within that chat, that will send your chat logs in clear to google
- you want to choose "open as link", but accidentally you missed it by a few pixel. You also marked to much of the text, because you're under high stress or new to gajim
...there will be more reasons, that's just what came to my mind first.
##### But it's safe enough, because you need to make multiple clicks to get there?
This is wrong. **It only requires one single wrong click.**
Example: You wish to quote a text, so you mark it and right click. A menu pops up and you wish to choose "Quote", but accidentally you click "Web Search it". Result: **One wrong click leaks your chat log to google.**
I reported this already via gajim's MUC.
Some quotes from Lovetox responding to my report:
07:25:00 PM] lovetox: yeah and? there are a million reasons how you can post unwanted data to the internet
[07:25:08 PM] lovetox: dont use it if that scares you that much
I don't mind for myself, I care to find software that can serve the "Personas" of Tails best. https://tails.boum.org/contribute/personas/
..and to contribute by reporting where and how it could do a better job.https://dev.gajim.org/gajim/gajim-plugins/-/issues/534[preview] Apply EXIF rotation for previews2021-01-29T09:31:29ZDaniel Brötzmann[preview] Apply EXIF rotation for previewsApply EXIF rotation data while generating previews.Apply EXIF rotation data while generating previews.https://dev.gajim.org/gajim/gajim-plugins/-/issues/539problem deleting omemo fingerprints2021-01-27T17:10:08ZLua vonSeeproblem deleting omemo fingerprints## Versions
- OS: Debian GNU/Linux 10 (buster)
- 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-p...## Versions
- OS: Debian GNU/Linux 10 (buster)
- 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/./data/plugins/omemo/gtk/util.py", line 72, in _on_response
button.callback()
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/gtk/key.py", line 199, in _remove
identity_key = record.getSessionState().getRemoteIdentityKey()
File "/usr/lib/python3/dist-packages/axolotl/state/sessionstate.py", line 48, in getRemoteIdentityKey
return IdentityKey(self.sessionStructure.remoteIdentityPublic, 0)
File "/usr/lib/python3/dist-packages/axolotl/identitykey.py", line 11, in __init__
self.publicKey = Curve.decodePoint(bytearray(ecPubKeyOrBytes), offset)
File "/usr/lib/python3/dist-packages/axolotl/ecc/curve.py", line 34, in decodePoint
type = _bytes[0] # byte appears to be automatically converted to an integer??
IndexError: bytearray index out of range
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim-plugins/-/issues/543system PROXY force using2021-01-27T08:59:12ZЕвгений Домбровскийsystem PROXY force using## Versions
- OS: Win10/7
- Gajim Version: 1.2.2
- Plugin version:
- GTK version: 3.24.20
- Python-nbxmpp version: 1.0.2
## Steps to reproduce the problem
1. Apply group policy "PROXY for IE" to user
2. remove all proxy...## Versions
- OS: Win10/7
- Gajim Version: 1.2.2
- Plugin version:
- GTK version: 3.24.20
- Python-nbxmpp version: 1.0.2
## Steps to reproduce the problem
1. Apply group policy "PROXY for IE" to user
2. remove all proxy settings in gajim
2. open Gajim and try to add account
## Expected behavior
Successful Connection
## Actual behavior
Time out. In Debug "nbxmpp.connection" is trying to use a proxy
[27012021-151959-debug.log.txt](/uploads/ef1a57e825ee0dc7fad9f7fa99932424/27012021-151959-debug.log.txt)https://dev.gajim.org/gajim/gajim-plugins/-/issues/391[omemo] IndexError: bytearray index out of range2021-01-26T07:45:04ZAndrey Gursky[omemo] IndexError: bytearray index out of range* Gajim: 2fc96ae6374
* python-nbxmpp: 30876f0e6
* OMEMO: 2.6.44 (ee21ca8ad5)
After pressing "send", I've lost the message text.
```
02/19/2019 19:19:36 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:36 (I) nbx...* Gajim: 2fc96ae6374
* python-nbxmpp: 30876f0e6
* OMEMO: 2.6.44 (ee21ca8ad5)
After pressing "send", I've lost the message text.
```
02/19/2019 19:19:36 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:36 (I) nbxmpp.transports_nb: pollout called, state == CONNECTED
02/19/2019 19:19:36 (W) nbxmpp.transports_nb: calling send on empty buffer and queue
02/19/2019 19:19:36 (I) nbxmpp.transports_nb: Plugging fd 35, W:False, R:True
02/19/2019 19:19:46 (I) gajim.plugin_system.omemo: MYSERVER => Missing device sessions for MYJID@MYSERVER: [1111111111, 2222222222]
02/19/2019 19:19:46 (I) gajim.plugin_system.omemo: MYSERVER => Fetch device bundle 1111111111 MYJID@MYSERVER
02/19/2019 19:19:46 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:46 (D) nbxmpp.smacks: OUT, iq
02/19/2019 19:19:46 (D) nbxmpp.smacks: Request ack
02/19/2019 19:19:46 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:46 (I) gajim.plugin_system.omemo: MYSERVER => Fetch device bundle 2222222222 MYJID@MYSERVER
02/19/2019 19:19:46 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:46 (D) nbxmpp.smacks: OUT, iq
02/19/2019 19:19:46 (D) nbxmpp.smacks: Request ack
02/19/2019 19:19:46 (I) nbxmpp.transports_nb: Plugging fd 35, W:True, R:True
02/19/2019 19:19:46 (D) gajim.plugin_system.omemo: MYSERVER => Sending Message to OTHERJID@OTHERSERVER
02/19/2019 19:19:47 (W) gajim.plugin_system: Error executing <bound method OmemoPlugin._encrypt_message of <omemo.plugin.OmemoPlugin object at 0x7ff7b616e0f0>>
Traceback (most recent call last):
File "/home/andrey/progs/gajim.git/gajim/plugins/pluginmanager.py", line 366, in _execute_all_handlers_of_gui_extension_point
handlers[0](*args)
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/plugin.py", line 211, in _encrypt_message
self.get_omemo(account).encrypt_message(conn, obj, callback, False)
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/modules/omemo.py", line 169, in encrypt_message
omemo_message = self.backend.encrypt(to_jid, event.message)
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/backend/state.py", line 166, in encrypt
devices_for_encryption = self.get_devices_for_encryption(jid)
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/backend/devices.py", line 80, in get_devices_for_encryption
devices_for_encryption += self._get_own_devices_for_encryption()
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/backend/devices.py", line 94, in _get_own_devices_for_encryption
if self._storage.isTrusted(self._own_jid, device):
File "/home/andrey/gajim-profiles/gtk3/plugins/omemo/backend/liteaxolotlstore.py", line 494, in isTrusted
identity_key = record.getSessionState().getRemoteIdentityKey()
File "/usr/lib/python3/dist-packages/axolotl/state/sessionstate.py", line 48, in getRemoteIdentityKey
return IdentityKey(self.sessionStructure.remoteIdentityPublic, 0)
File "/usr/lib/python3/dist-packages/axolotl/identitykey.py", line 11, in __init__
self.publicKey = Curve.decodePoint(bytearray(ecPubKeyOrBytes), offset)
File "/usr/lib/python3/dist-packages/axolotl/ecc/curve.py", line 34, in decodePoint
type = _bytes[0] # byte appears to be automatically converted to an integer??
IndexError: bytearray index out of range
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/536[omemo] File download error2021-01-08T22:49:07ZDaniel Brötzmann[omemo] File download error**Please first check if another issue has been opened for your problem**
## Versions
- OS: Manjaro
- Gajim version: 1.4 dev
- Plugin version: 2.8.0
- GTK version:
- Python-nbxmpp version: 3.0 dev
## Steps to reproduce the p...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Manjaro
- Gajim version: 1.4 dev
- Plugin version: 2.8.0
- GTK version:
- Python-nbxmpp version: 3.0 dev
## Steps to reproduce the problem
1. Send file from one device to other device (self contact)
1. Try to download file on other device
## Expected behavior
File gets downloaded an decrypted
## Actual behavior
```
(W) gajim.plugin_system Error executing <bound method OmemoPlugin._file_decryption of <omemo.plugin.OmemoPlugin object at 0x7fb079c61f70>>
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/gajim/plugins/pluginmanager.py", line 476, in _execute_all_handlers_of_gui_extension_point
handlers[0](*args)
File "/home/x/.local/share/gajim/plugins/omemo/plugin.py", line 213, in _file_decryption
file_crypto.FileDecryption(self).hyperlink_handler(
File "/home/x/.local/share/gajim/plugins/omemo/file_crypto.py", line 75, in hyperlink_handler
transfer = OMEMODownload(instance.account,
File "/home/x/.local/share/gajim/plugins/omemo/file_crypto.py", line 216, in __init__
FileTransfer.__init__(self, account, cancel_func=cancel_func)
TypeError: __init__() got an unexpected keyword argument 'cancel_func'
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/307Omemo cannot be enabled in group chat private messages2020-12-29T22:23:59ZJun ShenOmemo cannot be enabled in group chat private messages**Please note by far the quickest way to get a new feature is to file a Merge Request.**
## Description of the new feature
Currently private messages in group chat cannot enable omemo plugin, it would be nice to support it. My gajim ve...**Please note by far the quickest way to get a new feature is to file a Merge Request.**
## Description of the new feature
Currently private messages in group chat cannot enable omemo plugin, it would be nice to support it. My gajim version is 1.0.1https://dev.gajim.org/gajim/gajim-plugins/-/issues/533GPG + Gajim Portable?2020-12-05T21:16:52ZTony VGPG + Gajim Portable?I run Gajim 64 Portable on various Windows 10 machines.
GPG plugin works only if GPG4WIN is installed.
GPG4WIN allows to make a portable version, but I can't find the way to connect GPG4WIN Portable and Gajim Portable, please help. I've...I run Gajim 64 Portable on various Windows 10 machines.
GPG plugin works only if GPG4WIN is installed.
GPG4WIN allows to make a portable version, but I can't find the way to connect GPG4WIN Portable and Gajim Portable, please help. I've tried launching GPA or Cleopatra, but Gajim's GPG plugin still doesn't see any presence of GnuPG / GPG4WIN.
Any help would be very much appreciated!https://dev.gajim.org/gajim/gajim-plugins/-/issues/446[OpenPGP] Crash on start when trying to import key2020-11-21T23:05:13ZStéphane Chamley[OpenPGP] Crash on start when trying to import key## Versions
- OS: Fedora 29 (Workstation Edition)
- GTK+ Version: 3.24.1
- PyGObject Version: 3.30.5
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib64/python3.7...## Versions
- OS: Fedora 29 (Workstation Edition)
- GTK+ Version: 3.24.1
- PyGObject Version: 3.30.5
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.3
## Traceback
```
Traceback (most recent call last):
File "/usr/lib64/python3.7/site-packages/gi/overrides/GLib.py", line 662, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 563, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3.7/site-packages/nbxmpp/idlequeue.py", line 411, in _process_events
obj.pollin()
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 451, in pollin
self._do_receive()
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 676, in _do_receive
self._on_receive(received)
File "/usr/lib/python3.7/site-packages/nbxmpp/transports_nb.py", line 690, in _on_receive
self.on_receive(data)
File "/usr/lib/python3.7/site-packages/nbxmpp/dispatcher_nb.py", line 535, in _WaitForData
resp(self._owner, _iq, **args)
File "/home/morkxy/.local/share/gajim/plugins/openpgp/modules/openpgp.py", line 366, in _public_key_received
result = self._pgp.import_key(pubkey, jid)
File "/home/morkxy/.local/share/gajim/plugins/openpgp/backend/pygpg.py", line 122, in import_key
log.error(result.results[0])
IndexError: list index out of range
```
## Steps to reproduce the problem
...