Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Cannot send encrypted message #39

@aereaux

Description

@aereaux

When I try to send an encrypted message, the message is sent, and it shows the @ symbol before it (which I assume is supposed to mean that it was encrypted). However, it shows on my other client (conversations) as unencrypted, as well as on the receiver's side, and "Last message was sent unencrypted." is shown in the chat window before the message. The log contains this:

13/02/2018 17:06:40: prof: ERR: ProfOmemoPlugin - Could not encrypt message
Traceback (most recent call last):
  File "/home/user/.local/share/profanity/plugins/prof_omemo_plugin.py", line 364, in prof_on_message_stanza_send
    encrypted_stanza = xmpp.encrypt_stanza(stanza)
  File "/home/user/.local/lib/python3.6/site-packages/profanity_omemo_plugin-0.0.1-py3.6.egg/profanity_omemo_plugin/xmpp.py", line 86, in encrypt_stanza
    account, resource = jid.rsplit('/', 1)
ValueError: not enough values to unpack (expected 2, got 1)

Let me know if any other information needs to be provided.

In addition (probably unrelated), the /omemo fingerprints command only shows the fingerprint of my other client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions