Skip to content
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

Sending/receiving messages with a new device resulting in **Unable to Decrypt** #1052

Open
ihodes opened this issue Feb 21, 2017 · 7 comments
Labels

Comments

@ihodes
Copy link

ihodes commented Feb 21, 2017

Some clients in the rooms work/the key exchange clearly took place, but some did not.

I keep getting ** Unable to decrypt: The sender's device has not sent us the keys for this message**, and they see it for my messages as well.

Any ideas on what we can do?

@manuroe
Copy link
Member

manuroe commented Feb 22, 2017

The feature is still in beta. We are fixing edge cases that make such issue happen in our Matrix clients. See element-hq/element-web#2996 for the known use cases bugs we are chasing.

@manuroe manuroe added the A-E2EE label Mar 9, 2017
@manuroe
Copy link
Member

manuroe commented Mar 10, 2017

Most of UISI (Unknown Inbound Session Id) issues must have been fixed in matrix-ios-sdk v0.7.8.
Riot-iOS will embed all fixes in the coming v0.3.10 release.

From Riot v0.3.10, if people still gets UISIs for your messages, you can "Clear Cache" from the app settings.
This action will force the download of missing devices keys. Your next messages should be then correctly encrypted for all recipients devices.

@ihodes
Copy link
Author

ihodes commented Mar 10, 2017

Thanks for addressing!

@jimmycuadra
Copy link

Clearing the cache on the newest version of Riot (Electron on macOS) did not fix this for me. I'm still seeing:

** Unable to decrypt: The sender's device has not sent us the keys for this message. **

in rooms where encryption was previously working.

matrix-react-sdk version: 0.8.7
riot-web version: 0.9.8
olm version: 2.2.1

@manuroe
Copy link
Member

manuroe commented Apr 18, 2017

@jimmycuadra: Riot (Electron on macOS) is based on riot-web, which is written in js.
I do not think that the clear cache button on riot-web does the same trick as Android and iOS to reset devices keys.

@jimmycuadra
Copy link

Oh sorry, I didn't notice this was an iOS issue. I think someone linked me to it a while back when I asked about the error message and I subscribed without noticing that. Is there a riot-web issue for the same error message?

@manuroe
Copy link
Member

manuroe commented Apr 18, 2017

There is element-hq/element-web#2996 that compiles all issues related to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants