Recently I replaced the hard drive on a laptop with an SSD. I recycled the old drive as a backup drive. I have the old home folders of my setup and nothing else.

I have discovered that I am missing paswords which were stored in the old kde wallet.

Can I somehow open the old wallet ( I still now it's password ) and see what was stored on it?

1 Answer 1


There is an option to "import" the old wallet in KWalletManager under File > Import Wallet. I found that my old wallet password was not accepted. Examination of the old folder revealed a salt file. I suspect (and further experimentation supports) that the kwalletd process has one salt file loaded and this one was not being read.

I was able to replace the new wallet file with the old one by replacing my new kwallet directory with my old one:

  1. Turn off kwallet in System Settings > Account Details > KDE Wallet > Wallet Preferences > [Uncheck] "Enable the KDE wallet subsystem"
  2. Remove $HOME/.kde/share/apps/kwallet and place your old wallet folder there
  3. Enable the wallet subsystem (reverse of 1.)

If you need to "merge" two wallets and the import option is not working there are also "Export as XML" and "Import XML" options. You may export from one, switch wallets as above, then import. Be very careful about passwords being written unencrypted to disk! Once you have completed the import run the following command to securely overwrite and delete the XML file:

shred -u /path/to/exported/file

Note: overwriting files is not considered secure deletion on solid state storage media (flash drives, SSDs, etc) as wear leveling prevents exact blocks being written to. Instead, taking care to e.g. turn off swap and mount a RAM disk to write the XML file to are preferable, but that is out of the scope of this answer.

  • 1
    This worked for me. Thanks. Just a small note for future reference: with recent KDE versions, the wallet is located under ~/.kde4/share/apps/kwallet
    – savedario
    May 26, 2015 at 22:58
  • 3
    some how KDE5 cannot open the kde4 kwallet ... I copied the files into ~/.local/share/kwalletd It can see the wallet but cannot open.
    – Wang
    Jan 8, 2018 at 11:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .