"Error: Identity key changed" when sending a second OMEMO message
See original GitHub issue- You click on “lock” icon
- Send message to User 1
- Open other browser where you have loggedin User 1
- You click on “lock” icon.
- Send message to User 0
- Try to send another and you got:
Sorry, could not send the message due to an error. Identity key changed
- You logout and try again, it is the same (all the time I have unchecked
This is a trusted device
) I am trying this all day and every time it is the same. I used latestlibsignal-protocol.js
.
So as far as i can see Omemo does not work on converse.js. Hwo to debug this to checkout why?
<bountysource-plugin>Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:28 (11 by maintainers)
Top Results From Across the Web
Smack 4.4.0-beta2: OMEMO message received with unknown ...
During recent testing of OMEMO in aTalk, one of the device (Device-A) is locked into a state unable to exchange OMEMO messages with...
Read more >XEP-0384: OMEMO Encryption - XMPP
OMEMO uses a modified version of this key agreement protocol with the following ... A second message is encrypted for the same recipient....
Read more >Is Bob Sending Mixed Signals? - www-users.cs.umn.edu
of public keys and an identity key to the server. To send a message to Alice, Bob downloads the public key material from...
Read more >OMEMO Encryption - Conversations.im
The encrypted payload is sent together with the headers as a <message> stanza. ... containing <key> sid The device id of the sender...
Read more >OMEMO + Message Carbons not working with Conversations
In the opposite direction, Conversations is unable to decrypt message carbons sent by Gajim. The Conversations OMEMO key is marked as ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nikita-cerejo: Ok, that sounds like a different issue. Can you please create a new issue for this? You can just copy/paste the same data from this comment into it.
Sounds to me like Converse should be fetching the OMEMO bundle for user A, but isn’t.
Thanks @jcbrand I am able to send encrypted messages when I changed my virtualhost domain from
localhost
toserver.localhost
. But I faced a scenario in this, which gives error that contact client doesn’t support omemo encryption. As shown in below screenshot(A).Scenario :
-> For the first time when contact is added, if user A (in my case Test 1 i.e test1@server.localhost) sent contact request to user B (in my case Test 4 i.e test4@server.localhost) and user B accepts it. -> If user B tries to send encrypted message first, it gives error that omemo encryption is not supported by user A client. -> But if user A sends encrypted message to user B first and then user B sends encrypted message then it works properly as shown in the screenshot(B). (Note : Test1 was logged in from chrome and Test 4 was logged in from microsoft edge browser)screenshot(A) :
screenshot(B) :