element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.05k stars 1.97k forks source link

"Unable to decrypt message" eror when trying to read older E2EE messages (including my own) in new web sessions #28116

Open strypey opened 5 days ago

strypey commented 5 days ago

Steps to reproduce

I'm opening a new issue as requested here; https://github.com/element-hq/element-web/issues/28090#issuecomment-2368127744

Using chat.iridescent.nz, the community-hosted Element-web app for matrix.iridescent.nz, I created a new session, and verified it from my Android session. I'm able to access all my rooms, but in all the encrypted rooms (including DMs), all previous messages say "unable to decrypt" (including my own).

It's not out of the question that there's some user error involved. But I've been using Matrix for about 5 years and I've tried everything I can think of, done some web searching, and followed various advice on joinmatrix.org etc. Nothing has worked so far.

When the problem last happened I was using LibreWolf 130.0-3, on Fedora 40 Mate-Compiz. Today I upgraded to LibreWolf 130.0.1-1, from the Fedora repos. Not sure which version of Element-web I was using when I first noticed the problem, but it persists now in If there's any more info I can supply to help you track down the bug, please let me know.

Outcome

What did you expect?

To be able to view E2EE messages in rooms and Direct Chats even when they were sent before I created the new session.

What happened instead?

Every message, including my own, displays an "unable to decrypt" error message instead of the message contents.

Operating system

Fedora 40 Mate-Compiz

Browser information

LibreWolf 130.0-3

URL for webapp

https://chat.iridescent.nz

Application version

Element version: 1.11.74 Crypto version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0

Homeserver

https://matrix.iridescent.nz

Will you send logs?

Yes

richvdh commented 22 hours ago

@strypey I don't see debug logs from your android device. Did you send them?