-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OMEMO - Sending messages to myself, 'OMEMO not supported' #1595
Comments
Can you please check your device key and see if it is indeed in the list of trusted keys? I mean: it could be that profanity lists a couple of keys but actually the key from the other client is not listed there because it couldn't find it. |
All the keys listed match the ones on my other clients. :/ |
That is very weird. |
I was also trusting this profanity session's key, and thought maybe that was causing it, but untrusting my own key doesn't help. |
Also happens on my alpine raspberry pi running:
|
Isn’t it a mam issue or something like that? One device cannot encrypt messages for itself (known protocol limitation). My guess: the first one is simply the one being sent (thus we have the cleartext). The second message is received from the server thus we don’t have the cleartext and we can’t decrypt it. |
@daeluk what does |
MAM is in experimental state. So if we get a new message we display that message. If it was already encrypted and can't be encrypted again this is supposed to happen. mwuttke wanted to rewrite the UI code so that we can do this more easily. Unfortunately he vanished and I didn't find the time yet to start this. So if it is true that @daeluk has enabled MAM than this issue is expected and is because of the experimental state of MAM integration in Profanity. |
Hi sorry for the late response.
I am using Looking at the log I see the following, the timestamps corresponding to the messages I sent to myself:
|
I assume this is a typo and 0.11.0 is what you mean :)
Then it is not MAM. |
@daeluk do you know how to compile profanity yourself? It would be helpful if you could try latest master and see if it works there. |
I don't see why #1591 would impact this issue, but trying with latest master is never a bad idea. |
how can it happen that there is no key? |
Nope 0.11.9 is what I meant. That was about the xmpp server
Still same situation on latest master |
On Sa, 11.09.2021 10:39:18, Jakob Rotchteine wrote:
> It would be helpful if you could try latest master and see if it works there.
Still same situation on latest master `0.11.0dev.master.1dbe1a33`.
Can you join the profanity Chat and send me a PM?
|
Maybe an issue with disco info request. I will drop a mail on the
mailinlist with more information about "disco and OMEMO".
The reason of missing disco info may a problem with TLS - not sure.
Let's see if a renewal+adding subdomain will solve this issue.
…--
Stefan
|
Copy of the message so that we have all in one place:
Attached patch:
|
@daeluk if you apply that patch. Does the problem go away for you? Tell us if you need help with applying the patch. |
Just got a PM that the patch didn't help to solve @daeluk problem. |
Messages would get duplicated when you chat with yourself, worse if you had omemo enabled the duplicated message would say something along the lines of "Your client doesn't support OMEMO". The cause was carbons when the message was sent from another client, whilst it was a sent and received message when profanity was the one to send it. This commit ignores the carbon message in the 1st case and ignores the received one in the 2nd. Fixes profanity-im#1595
BTW did you trust your own keys? |
In my case yes all keys are trusted and the issue persisted |
Messages would get duplicated when you chat with yourself, worse if you had omemo enabled the duplicated message would say something along the lines of "Your client doesn't support OMEMO". The cause was carbons when the message was sent from another client, whilst it was a sent and received message when profanity was the one to send it. This commit ignores the carbon message in the 1st case and ignores the received one in the 2nd. Fixes profanity-im#1595
Messages would get duplicated when you chat with yourself, worse if you had omemo enabled the duplicated message would say something along the lines of "Your client doesn't support OMEMO". The cause was carbons when the message was sent from another client, whilst it was a sent and received message when profanity was the one to send it. This commit ignores the carbon message in the 1st case and ignores the received one in the 2nd. Fixes profanity-im#1595
Hi Experts, Reaching out to all with an urgent help. Below is the detailed error - I sent you an OMEMO encrypted message but your client doesn’t seem to support that. Find more information on Could anyone help us with the information on how we should get this working? Thanks |
The message is quite self explanatory isnt it? The client doesn't support OMEMO. Also when you have bugs you should mention each client names and versions. |
Message sender's XMPP message packet:
Same Packet return back to sender:
|
So first of all please open new bug since this is not related to this existing bug. And provide there all the information that is being asked for. |
Expected Behavior
Sending OMEMO encrypted messages to my own JID should only contain messages sent from any of my devices.
Current Behavior
Currently, when sending messages to my own JID I get spurious "your Client doesn't support OMEMO" messages,
in addition to the original, encrypted (
~
) message. This happens both with sent and received messages.This doesn't happen in any other clients (tested with Conversations and Gajim). All of my device fingerprints are trusted.
Steps to Reproduce (for bugs)
/msg <own JID>
/omemo start
/omemo trust <known fingerprints>
Here is an example conversation:
Context
Sometimes it's useful to be able to write a notes to yourself, e.g. to easily share text between phone and pc.
Environment
profanity -v
OpenBSD -current (7.0 beta)
glib2-2.68.4
The text was updated successfully, but these errors were encountered: