Bug 446473

Summary: KWallet auto unlock on login is not self explanatory for the average user
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_kwalletconfig5Assignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: cwo.kde, nate, postix
Priority: NOR Keywords: usability
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot: KWallet password prompt

Description postix 2021-12-04 13:35:05 UTC
Created attachment 144211 [details]
Screenshot: KWallet password prompt

SUMMARY

In order to auto open on login, KDE Wallets requires to use the same password as for the user's login to encrypt the wallet and additionally it needs the appropriate PAM module to be installed. The steps are outlined eg here [1].

There's however no information about this in the SystemSetting's KDE Wallet KCM or in the password prompt to unlock the wallet, which popups once an app needs access the locked wallet, which may be right after the login.

Therefore it could be useful if explanations were added to the KCM and to the password prompt, explaining how to achieve the auto unlock. This may be hidden in a folded `details` section.

For the KCM: It could have an option "Auto unlock the wallet named "kdewallet" on login", which states the situation about the three essential conditions
----
a) "kwallet module is (not) installed". 
b) passwords for the login and the wallet do (not) match: [Change kwallet password to login password]
c) The wallet does (not) use the blowfish encryption

[ ] Enable auto unlock
----

See also the discussion [2].

[1] https://wiki.archlinux.org/title/KDE_Wallet
[2] https://www.reddit.com/r/kde/comments/r7x1zn/every_time_i_log_into_the_desktop_kde_wallet/
Comment 1 Nate Graham 2021-12-04 19:49:48 UTC
It's not the worst idea.