iamb icon indicating copy to clipboard operation
iamb copied to clipboard

Unable to decrypt earlier messages

Open ThibaultLemaire opened this issue 2 years ago • 3 comments

E2EE seems to be working perfectly for anything sent after the session was verified, but any message sent before that fails to decrypt.

My understanding was that iamb needs to ask my other devices for previous keys, but discussions in #42 seem to suggest I just have to wait very long?

In any case, I'm willing to contribute to get those messages to decrypt!

ThibaultLemaire avatar Aug 25 '23 15:08 ThibaultLemaire

the spec describes a client may wana request old missing keys:

https://matrix.org/docs/matrix-concepts/end-to-end-encryption/#key-sharing

so the key exchange has to be implemented in that way

6543 avatar Mar 13 '25 02:03 6543

it is weird but on one system I am able to decrypt earlier message despite just verified iamb, but on the other I couldn't. I thought this was because of nix at first (i have nix running on debian on one of my machine so it could be a bit dubious), but apparently this is a known issue I guess...

Opposite34 avatar Jul 03 '25 10:07 Opposite34

I had to open the other client (element web in my case), and manually request a verification from iamb e.g., :verify request @username:matrixserver.com, accept it on the other open client, then confirm on iamb interface at :verify

kqvanity avatar Sep 13 '25 17:09 kqvanity