-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got „Unable to decrypt: decryption key withheld“ for some messages #23745
Comments
Same issue, here, |
I can also confirm the issue. This strange behaviour makes overall user experience a lot worse, because to "normal" people who just want to text, Element doesn't look like a reliable solution.
|
Looks like frequency increased cross platform in the last days element-hq/element-android#7403 (comment) |
Yes, me too! I have noticed this this morning with iPhone, Android as well es Element Desktop on macOS. I can sent them messages and read them on their phone, but when they send me messages or any events I get decryption errors |
The receiver of one of my messages encountered the issue for the android app (on both sides) as well. When I started up the desktop app (on a different device) the |
Possible workaround in the related (identical?) issue 7403. |
Just rageshaked from within develop.element.io and added linked it to this issue. Maybe there's something in there which helps. |
I tried /discardsession as mentioned in element-android issue vector-im/element-meta#1841 on the device sending the message and it did the trick (new messages are rveived properly now). |
@weeman1337 I have looked at your rageshake, and it looks like the events were sent before you joined the room, which I think explains why you can't decrypt them? On the other rageshakes that you have linked to this issue: do you have any particular reason to believe they have the same cause? |
@richvdh I did post all messages in an existing room. |
I'm afraid I'm not following you at all. In your initial rageshake (https://github.com/matrix-org/element-web-rageshakes/issues/16971) the problem, afaict, is with messages sent by If there are particular events that you are having trouble with, please can you tell me which they are, and exactly what you are seeing? |
Both sides joined the room before. We already sent messages to each other before. This happens sometimes right in the middle of some chat. Event Id from the screenshot: Entire event source
|
Please don't assume that every time you can't decrypt a message, it's the same problem! I can look at |
@weeman1337 well, Thanks for the report though! |
I guess we should ask why it says "decryption key withheld": that doesn't seem like a fair characterisation of the issue |
Wait, I'm confused (again).
Is the rageshake I'm looking at (https://github.com/matrix-org/element-web-rageshakes/issues/16971) from the old login or the new one? Presumably the old one? What about the screenshot above? When was the screenshot taken? Do we have a rageshake from about the right time? The reason I ask is that I just spent half an hour looking for "decryption key withheld" errors in https://github.com/matrix-org/element-web-rageshakes/issues/16971 and failing to find any :( |
But as you can see in the screenshot above it happened in an ongoing chat. One message can be read and the next one not. 🤷♂️
Should be from the old login.
The other user of the most recent rageshake is on the same server. And again it happened in an ongoing chat. |
@richvdh in general: Should I open separate issues when an „Unable to decrypt: decryption key withheld“ appears? I just learned from you that they can have many different causes. |
I really can't see that from the screenshot, sorry. A bunch of information is pixellated: I have no idea what the other messages are, when they arrived, who sent them, how they got there, etc. But most importantly, I have no idea how it correlates to your original report or the rageshake you sent.
Well, that's very odd. I see no mention of a "decryption key witheld" error in them.
In general yes - or just send the rageshake and ping the crypto team internally about it. |
This seems to be due to #23803. Closing in favour of that. |
Exactly the same issue here, using Windows desktop and android phones. And Starlink internet. The first message I got had a link to request encryption keys, then changed to this. |
I'm not sure I understand. #23803 makes it seem like it's only a nomenclature/wording issue? When a chat (that one relies on for real world people communication) fundamentally breaks, a user doesn't really cares if "keys witheld" is not the most appropriate message. A user cares that he completely lost a method of communication. I'm completely behind @DavidB137 frustration that this makes element/matrix like a unrealiable and undependable tool.
He was just counterpointing you that the messages stopped being recieved in the middle of the session, which is visible from the screenshot. Here's my entry if it helps you more with diagnosing the issue: Decrypted event source:
Original event source:
|
It seems to be related but not the same issue. The one thing I'll note is channels and chats by this seem to have the messages but are hidden from view. If you export the affected chat the result has messages that could be decrypted even if they were not visible in Element. |
Steps to reproduce
Outcome
What did you expect?
Could read all messages
What happened instead?
Operating system
Ubuntu 22.04.1 LTS
Browser information
Firefox 107.0
URL for webapp
https://develop.element.io/
Application version
Element version: 65b8bc1-react-3f3005a3ca4d-js-bd4589fcc45b Olm version: 3.2.12
Homeserver
ccc-ffm.de / Synapse 1.70.1
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: