Unlock KDE Wallet automatically on login
- It is possible use a blank password too to open the wallet automatically according with  J0n4t (talk) 19:35, 21 July 2016 (UTC)
- I offer these comments with some trepidation: Kwallet can be unlocked automatically when using a GnuPG key, but it's complicated. . . complicated enough that I don't quite recall all the details of how it's done. Hence, my trepidation. However, I am using this on one of my machines. The basics are that kwallet is configured to use a GnuGP key, and gnome-keyring is configured to unlock my GnuGP keys automatically. Editing files in /etc/pam.d/ is required, and unfortunately, this is where my knowledge and recollection is lacking. I'm pretty sure that login, sddm-autologin, and passwd in that folder all required editing. I was following someone else's instructions at the time and unfortunately cannot locate them again. I can say that my kwallet configuration is definitely using a GnuGP key, and my Network Manager wifi configuration is set to encrypt my stored wifi password, my GnuGP keys are unlocked automatically by gnome-keyring, and when I log on, my system connects automatically to wifi without my having to key in a wifi password or a kwallet password. If anyone has interest in pursuing this, and possesses a better understanding of PAM than I do, I'm willing to share the contents of my PAM files. If there are any further tricks required, I don't recall what they were unfortunately.
kwalletmanager in repo is for kde4, and use different path from kde5 ( ./.local/share/kwalletd/kdewallet.kwl ) and also seems to be incompatible (copied/linked kwl file giver password error). kwalletmanager-git works fine, but is still lacking gpg.
kwallet-pam does not unlock KDE Wallet with SDDM
May be helpful: workaround for this bug (or feature) is here
kwallet-pam for non-graphical login
Can we please get a guide for this? I've added the lines to /etc/pam.d/login but it's not unlocking. Other guides have lines added to /etc/pam.d/passwd but for some reason the file looks different on other distros, or maybe I'm seeing old tutorials. MisterMustafa (talk) 21:06, 27 March 2017 (UTC)
Using the KDE Wallet to store ssh key passphrases
Had difficulty following this section as it didn't specify how to start ssh-agent. I believe there was a race condition with my chosen method using systemtl --user and KDE. This it makes sense to start the ssh-agent within KDE's startup scripts as mentioned below via An External Forum Post —This unsigned comment is by Dcraig327 (talk) 05:34, 8 February 2021 (UTC). Please sign your posts with ~~~~!
- Using the KDE Wallet to store ssh key passphrases works fine for me with the systemd user service. -- nl6720 (talk) 15:47, 8 February 2021 (UTC)
Start ssh-agent upon login
$ sudo pacman -S kwallet ksshaskpass kwalletmanager
#!/bin/sh if [ -z "$SSH_AUTH_SOCK" ]; then eval "$(ssh-agent -s)" fi
$ chmod u+x ~/.config/plasma-workspace/env/ssh-agent.sh