KDE Wallet


KDE Wallet Manager is a tool to manage the passwords on your KDE system. By using the KDE wallet subsystem it not only allows you to keep your own secrets but also to access and manage the passwords of every application that integrates with the KDE wallet.

Unlock KDE Wallet automatically on login

If your KDE Wallet password is the same as your username password, you can unlock your wallet automatically on login.

Install pam_kwallet-git from the AUR.

Then edit /etc/pam.d/kde and add the two lines under their corresponding sections:

auth            optional        pam_kwallet.so kdehome=.kde4
session         optional        pam_kwallet.so
Example /etc/pam.d/kde
#%PAM-1.0
auth            include         system-login
auth            optional        pam_kwallet.so kdehome=.kde4 

account         include         system-login

password        include         system-login

session         include         system-login
session         optional        pam_kwallet.so

After restarting your wallet should unlock automatically if your user password is the same as your Kwallet password and you use a login manager like KDM.

Note: Currently, pam_kwallet-git has at least two limitations: first, it's not compatible with GnuPG keys, so KDE Wallet must use the standard blowfish encryption. Also, the wallet name must be "kdewallet" (that's the default name). If, for some reason, you create a new wallet, you need to use this name (so you will probably need to rename the old wallet too).

Using the KDE Wallet to store ssh keys

Install ksshaskpass from the official repositories.

Create the file ~/.kde4/Autostart/ssh-add.sh with this content:

#!/bin/sh
ssh-add </dev/null

Make it executable and run it:

$ chmod +x ~/.kde4/Autostart/ssh-add.sh
$ ~/.kde4/Autostart/ssh-add.sh
Note: You need an SSH agent running.

You may also have to source the script that sets the SSH_ASKPASS environment variable:

. /etc/profile.d/ksshaskpass.sh

It will ask for your password and unlock the your SSH keys.

KDE Wallet for firefox

There is an addon to make firefox store passwords with KDE wallet.

http://kde-apps.org/content/show.php/Firefox+addon+for+kwallet?content=116886

KDE Wallet for chromium

Chromium has built in wallet integration.

To enable it you should run your Chromium browser by adding --password-store=kwallet or --password-store=detect.

While second option SHOULD be default it happened to not working for author, so it's if it's happening to You, invoke Your browser with:

chromium --password-store=kwallet