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…

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    7 days 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.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    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.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 days 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.

  • Natanael@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 days ago

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

    • cyberwolfie@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      7 days 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.