-
Notifications
You must be signed in to change notification settings - Fork 738
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
m.room.encryption
state event missing
#5068
Comments
I would like to add that this issue happened to me after upgrading to the f-droid version 1.3.15. On a 1-on-1 encrypted chat I woke up to the room randomly being decrypted on mobile. I was unable to re-enable encryption and was forced to recreate the room. Phone Model: Google Pixel 5 I would also like to add that I wouldn't have known that the room was decrypted because unlike desktop the mobile version doesn't show a red icon when encryption has been turned off, thankfully my friend only uses desktop so he warned me. |
Did you sent some rageshakes? |
Sending them now. I mentioned the issue in the comment field. |
Thx @hex-m |
:/ Logs aren't going as far as 2021-01-05 |
Is it possible to send rageshakes after you have left the room on mobile? |
Yes |
I scrolled back in the conversation and could see, that the old messages are shown as encrypted and are then decrypted. Send a second rageshake after that so hopefully you get something useful out of that. |
Other occurence of broken state https://github.com/matrix-org/element-android-rageshakes/issues/32930 |
This happens to me too. I send unencrypted messages to some E2EE rooms from element-android, while not in element-web. I have another colleague with the same problem. All devices are verified. I also noticed that on a couple of rooms, the Android client couldn't display the room name. I had to change it twice in desktop client to fix it. |
This bug just resulted in me sending out unencrypted messages in a chat I thought was encrypted. Those messages were harmless, but I believe that some kind of safeguard needs to be added to ensure a bug like this causes no messages to be sent, not unencrypted ones. Edit: I have just received word from @t3chguy that the Desktop and Web clients already have such a safeguard. That the Android client does degrades the security of the entire app ecosystem. Are all the clients not held to equal security standards? |
Thx for the report, But yes currently the 3 platforms are using 3 different SDKs, that are all a bit different and evolve at different pace. Additional safeguard and defensive coding are beeing added meanwhile and will come in next releases |
Fixed in Element Android 1.3.18 (#5137) |
I confirm that the issue is gone after the update. Thanks for the clear communication and for the fast fix! <3 |
Steps to reproduce
This only happened to me with one room, so I don't know how to reproduce.
I've sent messages to that room using element-android on 2021-01-05 (probably with the latest version from f-droid at that time) without experiencing this problem.
Outcome
What did you expect?
Element-Android should recognize that the room has encryption enabled and send encrypted messages.
What happened instead?
Element-Android does not recognize the room as encrypted. The settings screen of the room tells me "Messages here are not end-to-end encrypted".
Checking in the dev tools, there is no
m.room.encryption
in the "State Events" view. Checking with Element-Desktop, the state event is shown.Your phone model
Fairphone 3
Operating system version
Android 10
Application version and app store
1.3.15 from f-droid
Homeserver
Synapse 1.47.1
Will you send logs?
No
The text was updated successfully, but these errors were encountered: