iamb
iamb copied to clipboard
Unable to decrypt earlier messages
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!
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
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...
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