-
-
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
Every update to desktop version of Riot changes the device key #6808
Comments
Could be, but (fortunately) the bug doesn't affect the web version of Riot for me — only the desktop one. I wonder if exporting E2E keys before upgrading and importing them afterwards could work as a workaround. As for now, I have to either remove |
I wonder if it's somehow related to #6120 as well |
My whole |
Potentially. I only mentioned it because it fits into the category of "strange e2e behaviour". It's more than likely something to do with electron though. |
Why would it have to do with electron? electron wasn’t updated in a while on Arch. However it could be related to NodeJS for instance, since Arch updated to 10.x recently. I have not observed this issue yet, I will look carefully on next Riot update. |
*electron version of riot |
There is no embedded electron in Riot on ArchLinux, system one is used. ;) |
So actually this could be an electron version mismatch between Riot expectations and what is available. |
I'm just trying to say the desktop version of Riot, which is commonly known as the electron version :( Either way, my suggestion clearly isn't the issue so I'll leave it to someone else to figure out (as done here: #6808 (comment) ) |
Oh, that make senses. @spijet When you say the web version isn’t affected, do you mean the one @ riot.im, the one in Arch or both? |
@ArchangeGabriel My employer hosts its own Matrix server with its own deployment of riot-web (which is not different from current upstream, AFAIK). I see no problems when using the web version, only the Electron-based desktop version from Arch. The problem itself happens exactly after upgrading |
So, it happened again. The funny thing is, I actually excluded new versions of Riot-web and Riot-desktop packages from installing this time to try to isolate the case, but when I started Riot after upgrading every package (except Riot), I got this issue. My Pacman update log looks like this:
Any ideas what could possibly cause this? I took a quick look at Riot package dependencies and didn't see anything that could be related to these packages. |
Actually, I might have missed an Electron update 3 days ago:
But I don't remember if I restarted Riot after electron update (explicitly restarted it after the last update though). Oh well, gotta try to isolate the case again. |
#Hope you'll find the solution to solve this. I was forced to remove old room and create new one unencryped. No users in it since then. :) |
Just did a partial upgrade of Riot, after upgrading everything else on my system:
So far so good — nothing broke this time. I exported E2E room keys before upgrading, in case if anything goes wrong. @akontsevich, it could work for you in the future. |
@spijet hope so. For now all my users gone from this platform. |
Just upgraded Riot to 0.15.7-1 — no problems here. I think I'll close it for now. Will reopen in case if anything breaks again. |
Description
After updating Riot to new version I find that I'm unable to read any e2e-encrypted chats I'm member of, seeing this error instead of every message:
Then, if I open my secondary Riot instance (iOS or browser-based), I see that, while having unchanged device ID, my Desktop instance has different device key (iOS/Web "see" the old device key on the "Verify" page, while Desktop shows the new key in its "Options" screen).
Steps to reproduce
riot-desktop
packageDescribe how what happens differs from what you expected.
Log: Sent!
Version information
For the desktop app:
riot-web
: 0.15.4-1riot-desktop
: 0.15.4-1The text was updated successfully, but these errors were encountered: