[pgp_legacy_plugin] Sending of encrypted messages fails silently (missing stanza id?)
Please first check if another issue has been opened for your problem
Versions
- OS: Debian 10
- Gajim version: 1.1.93+e9f197c66
- Plugin version: pgp_legacy 1.2.42
- GTK version: 3.24.13
- Python-nbxmpp version: 0.9.93
Steps to reproduce the problem
- Assign pgp key to own account and recipient
- Activate pgp encryption for conversation
- Send encrypted message.
Expected behavior
pgp-encrypted message gets sent.
Actual behavior
Message is not sent. No error message. Received messages are decrypted just fine!
Debug log:
Error executing <bound method PGPPlugin._encrypt_message of <pgp.plugin.PGPPlugin object at 0x7f4e581eb5d0>> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/plugins/pluginmanager.py", line 375, in _execute_all_handlers_of_gui_extension_point handlers[0](*args) File "/home/mopp/.local/share/gajim/plugins/pgp/plugin.py", line 181, in _encrypt_message self.get_pgp_module(account).encrypt_message(conn, event, callback) File "/home/mopp/.local/share/gajim/plugins/pgp/modules/pgp_legacy.py", line 160, in encrypt_message self._encrypt(con, event, [key_id, own_key_id], callback, always_trust) File "/home/mopp/.local/share/gajim/plugins/pgp/modules/pgp_legacy.py", line 169, in _encrypt self._cleanup_stanza(event) File "/home/mopp/.local/share/gajim/plugins/pgp/modules/pgp_legacy.py", line 257, in _cleanup_stanza stanza.setID(obj.stanza_id) AttributeError: 'OutgoingMessage' object has no attribute 'stanza_id'
It looks like the actual encryption via gpg works fine, because I see the encrypted messages in the debug log.