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: 331

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: 255
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: 2502

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: 9318

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: 2502

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: 255
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
doc_jochim
n00b
n00b


Joined: 06 Dec 2024
Posts: 2

PostPosted: Fri Dec 06, 2024 11:36 am    Post subject: Reply with quote

I don't get access to my signal database.

After trying to copy the whole user-folder as described to my new windows-PC, I always get a database-error with the request to delete all my data.

Signal-version is 7.35

Content of my config.json is only the encryptedKey-entry - nothing to read about kwallet.

Do new signal-versions mix up key and local-system-hardware/software-data so that copying to a new system is no longer possible?

Or is there any unsupported possibility to get access to my data after transferring my signal-userfolder to the new windows-system-environment?
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1783
Location: Germany

PostPosted: Fri Dec 06, 2024 12:02 pm    Post subject: Reply with quote

doc_jochim wrote:
I don't get access to my signal database.

After trying to copy the whole user-folder as described to my new windows-PC, I always get a database-error with the request to delete all my data.

Signal-version is 7.35

Content of my config.json is only the encryptedKey-entry - nothing to read about kwallet.

Do new signal-versions mix up key and local-system-hardware/software-data so that copying to a new system is no longer possible?

Or is there any unsupported possibility to get access to my data after transferring my signal-userfolder to the new windows-system-environment?


Hello and welcome.
You do know this is a Gentoo forum and not a windows forum?
If you are copying from gentoo(linux) to a windows installation, I suspect the format will be not the same.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
doc_jochim
n00b
n00b


Joined: 06 Dec 2024
Posts: 2

PostPosted: Fri Dec 06, 2024 12:15 pm    Post subject: Reply with quote

Quote:
You do know this is a Gentoo forum and not a windows forum?


ooops :roll:

I tried to copy from previous PC running windows to a new one also running windows. I thought database errors while trying to transfer signal's database and a possible way to a solution could be the same.
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