Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Signal Desktop broken after plasma6 upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 658
Location: Los Angeles

PostPosted: Wed Sep 25, 2024 2:05 pm    Post subject: Signal Desktop broken after plasma6 upgrade Reply with quote

When I launch signal desktop after upgrading to plasma6, I am presented with a Database Error because the keyring backend has changed from kwallet5 to kwallet6.

Quote:
Detected change in safeStorage backend, can't decrypt DB key (previous: kwallet5, current: kwallet6)


I then instructs me to either switch to the previous desktop environment or running signal with --password-store="kwallet5". Using the password-store flag works, but I would like to find a more permanent solution. Using signal's built in "Delete data" setting manged to reset the app but didn't fix the issue.
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 330

PostPosted: Wed Sep 25, 2024 5:42 pm    Post subject: Reply with quote

If you're OK with losing all chat history, you can delete ~/.config/Signal and then relink with phone again.
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 253
Location: Bavaria

PostPosted: Wed Sep 25, 2024 6:23 pm    Post subject: Reply with quote

Same here, works with kwallet5 keyring backend, however this option needs to be added to the desktop entry after every update (which is very often).
As far as I understood a database password is stored in kwallet5 keyring. So a solution would be to transfer this password manually from kwallet5 keyring to kwallet6 keyring, but I did not find where it is stored (if possible I would like not to lose all chat history).
So for the workaround: will kwallet5 keyring be discontinued soon?
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 658
Location: Los Angeles

PostPosted: Wed Sep 25, 2024 7:34 pm    Post subject: Reply with quote

Blowing away the ~/.config/Signal folder seems to have fixed the issue. Sure I lost all the conversations, but most of them disappear in a few days anyway.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2456

PostPosted: Thu Sep 26, 2024 6:24 am    Post subject: Reply with quote

Previous migration from 4 to 5 included something like creating a new wallet in 5 and importing the passwords from the old one. Maybe here you can do something similar. Don't ask me how, I don't use those. It's upt to you to figure it out and test it.

Best Regards,
Georgi
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9307

PostPosted: Thu Sep 26, 2024 6:25 am    Post subject: Reply with quote

There was no manual migration necessary this time.

This looks like a problem unique to how signal-desktop is accessing kwallet.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2456

PostPosted: Thu Sep 26, 2024 10:42 am    Post subject: Reply with quote

asturm wrote:
There was no manual migration necessary this time.

This looks like a problem unique to how signal-desktop is accessing kwallet.


Well, Signal devs are pretty responsive, that's my impression, so it might be a good idea to file a bug.

Best Regards,
Georgi
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1246

PostPosted: Sat Sep 28, 2024 11:24 am    Post subject: Reply with quote

Edit:

/home/USER_NAME/.config/Signal/config.json

FROM

{
"mediaPermissions": true,
"mediaCameraPermissions": true,
"encryptedKey": "***************************>
"safeStorageBackend": "kwallet5"
}

TO

{
"mediaPermissions": true,
"mediaCameraPermissions": true,
"encryptedKey": "***************************>
"safeStorageBackend": "kwallet6"
}
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 253
Location: Bavaria

PostPosted: Sun Sep 29, 2024 5:43 pm    Post subject: Reply with quote

Whoa ... great!!! :D
You just saved the chat history of 4 PCs here.
Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum