-
-
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
** Unable to decrypt: decryption key withheld ** error when attempting to read a user's message(s) #24114
Comments
NB: This issue also affects Element on Android (Version 1.5.14 [40105142] (G-4a46289f) olm version 3.2.12 but I am only posting desktop issue here. |
Same issue again with another user a few days later. Logs uploaded. |
Sometimes recommended 'fix' to issue a '/discardsession' also has no effect. Problem remains. |
Same issue here on Ubuntu 20.04.5 LTS with Element version: 1.11.16, Olm version: 3.2.12. The messages are from one specific person and only when he uses Element on Android. When he sends messages from Element on Windows 10 there's no problem. |
Today I had the issue with a message sent from Element version: 1.5.18, Olm version version: 3.2.12 on Android during a short power outage and hence no internet connection. After power went on again the message arrived but cannot be decrypted. |
Upgrading to |
Same here, had this multiple times the last two month. Send logs via Element Desktop client |
We have several users reporting the same issue. |
It looks like the story behind this error message is that
So this is a normal undecryptable event, but made more confusing by the message indicating that the key was withheld. So, downgrading the severity of this issue. Obviously, the fact that the messages are undecryptable in the first place is a big issue, but that is tracked elsewhere. |
And, in fact, this issue should be fixed by matrix-org/matrix-js-sdk#3061 (so should be coming to a release soon, if not already released) |
Thanks for a first clarification. |
It will no longer say "decryption key withheld", but will show up as a normal undecryptable message.
"Withholding" a key refers to when the sender purposely does not send the key to the recipient. It's generally rare, but can happen, for example, if the sender has configured their client to not send keys to unverified devices. The more general problem of undecryptable messages can be caused by many different things. See element-hq/element-meta#245 |
Steps to reproduce
Attempting to read messages sent from a user to me has some messages (not all) flagged with the message '** Unable to decrypt: decryption key withheld **'. Clicking on 'Re-request encryption keys from your other sessions.' has no effect in the short or long term (days later messages are still unreadable).
Outcome
Expected to be able to read and receive messages from this user normally.
Operating system
Windows 10 Pro Version 10.0.19045 Build 19045
Application version
Element version: 1.11.17 Olm version: 3.2.12
How did you install the app?
From https://element.io/download
Homeserver
matrix.org
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: