this post was submitted on 15 Dec 2024
21 points (100.0% liked)

KDE

5576 readers
59 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org/, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 2 years ago
MODERATORS
 

After a system start today, I was suddenly prompted with KDE Wallet requiring a password. I have not needed this before, and I could not seem to enter a password it would accept ("Error code -9: Read error - possibly incorrect password."). I can't remember setting this up, but it might have been something I did when I first set up my system. However, I would either have remembered it or stored the password in my main password manager, and there is no trace of it there.

To fix this, I created a new wallet and set that to be the default. Now, it works, and it is generally fine as it was not used for much, but I have one big issue: Signal used kwallet as its credentials manager, and now I can't open the Signal database.

Before I accept my losses and recreate the database from scratch, I wanted to know if anyone have experienced anything similar, and if there are some tips to restoring the original keychain? As I said, I don't know the password, so my guess is that I'm outta luck...

top 11 comments
sorted by: hot top controversial new old
[–] ikidd@lemmy.world 4 points 3 weeks ago (1 children)

I have yet to understand why Kwallet does the things it does sometimes. It varies by distro, and sometimes you fix it by putting in your login password, sometimes by putting in no password, sometimes make a new wallet, sometimes wipe the database. It's pretty frustrating.

If you can't change the password on the original keychain, I don't think there's a way to recover anything stored in it.

[–] cyberwolfie@lemmy.ml 1 points 3 weeks ago

That is what I feared. I tried both my login password and a blank password, and it refuses to open. I'll wait to see if anyone has previously found a way to magically open it again, but I will probably need to scrap my Signal database and relink my computer without the chat history. It's a bummer, but not a major issue for me.

[–] UnfortunateShort@lemmy.world 4 points 3 weeks ago* (last edited 3 weeks ago)

Probably doesn't help for recovery, but you can set an empty password and use polkit-based access control for wallets. You just need to check the box that says programs need to ask for access in Settings > KDE Wallet > Access Control Tab (not KWalletManager). Afterwards you will get a popup the first time they do and can then choose to give them permanent access.

[–] MyNameIsRichard@lemmy.ml 3 points 3 weeks ago (1 children)

The password could be the same as your login password?

[–] cyberwolfie@lemmy.ml 2 points 3 weeks ago (2 children)

I would have assumed so, but it is not accepted.

[–] MyNameIsRichard@lemmy.ml 3 points 3 weeks ago (1 children)

Hmm, the only other thing I can think of is that the wallet somehow got corrupted. Did you do a normal shutdown / restart? Is this after an update?

[–] cyberwolfie@lemmy.ml 2 points 3 weeks ago* (last edited 3 weeks ago)

I did an update over the week end, but I am pretty sure I rebooted between then and startup today. It is a long time since I've had to force shutdown.

[–] Ephera@lemmy.ml 2 points 3 weeks ago (1 children)

Just to be sure, you didn't either change your login password since your last reboot, right?

[–] cyberwolfie@lemmy.ml 2 points 3 weeks ago
[–] Natanael@slrpnk.net 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

You need kwallet_pam installed and configured right to make auto unlock work using your login password

[–] cyberwolfie@lemmy.ml 2 points 3 weeks ago

Auto unlock seems to work completely fine with the new wallet I set up. And it tries to unlock the one I am having issues with (called "Default keyring"), but it seems the password just isn't accepted anymore (whatever it was).

I don't have any process named kwallet_pam running (only kwalletd6), and could not find anything related to kwallet_pam as an executable at least.