cinny
cinny copied to clipboard
New mid-sync encrypted messages will not update
Describe the bug
If you use multiple Matrix clients, and speak often in e2ee conversations, you will find that if you happen to resync Cinny and click on an e2ee room with new messages before the sync is complete, you will see the ** Unable to decrypt: The sender's device has not sent us the keys for this message. **
text (on an unrelated note - this text should really be specially formatted and less screamy).
Obviously this is normal behavior, but the bug occurs because the text does not update on its own once the keys have been received - you have to refresh that room to see the new message content.
Reproduction
- Close Cinny
- Receive/send an encrypted message via another client
- Open Cinny
- Click that room before sync is complete
- You will see the
** Unable to decrypt: The sender's device has not sent us the keys for this message. **
text even after the keys have been received and synced
Expected behavior
The moment the corresponding keys were received, the text in the room should update for the decrypted content.
Platform and versions
1. OS: Arch Linux x86_64
2. Browser: Ungoogled Chromium v104.0.5112.79 (official build)
3. Cinny version: v2.1.2 (app.cinny.in)
4. Matrix homeserver: gra.im (Synapse)
Additional context
No response
I think this is what I'm having problems with as well. I've logged into Cinny multiple times, but I can't read any of my DMs as Cinny won't decrypt the messages.
@DerpyBubblez have you verified login and downloaded encryption keys?
I verified login, but there seemed to be no option to download encryption keys. As a workaround for the issue, I exported keys from my Element session.
that download icon btn
That's a much more convenient option. If you're logging in on a new session, it should ask you to verify, and once completed, automatically restore the keys.
#792 on automatically fetching keys.
I think this is what I'm having problems with as well. I've logged into Cinny multiple times, but I can't read any of my DMs as Cinny won't decrypt the messages.
To clarify - I can view my messages after the keys sync; however, if I am currently viewing a room with encryption enabled before the keys have synced, then the "decryption failed" messages persist until I refresh that particular room.
That's a much more convenient option. If you're logging in on a new session, it should ask you to verify, and once completed, automatically restore the keys.
Yes please! Add this function to Cinny to automatically download the encrypted message backup after a security key has been used to verify the session.