Summary: | Better handling for the case where user changed their password with something other than the Users KCM | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kwallet-pam | Reporter: | kolAflash <kolAflash> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | kde, nate, postix |
Priority: | NOR | ||
Version First Reported In: | 5.17.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=389030 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kolAflash
2019-10-21 15:19:43 UTC
PAM does have a hook that can get called it the password is being changed. Ideally we should try and change the wallet password (gnome keyring does this). I did have a try, but there's a problem that our kwallet requires having a working X/wayland connection which makes life harder. (In reply to David Edmundson from comment #1) > PAM does have a hook that can get called it the password is being changed. > > Ideally we should try and change the wallet password (gnome keyring does > this). I did have a try, but there's a problem that our kwallet requires > having a working X/wayland connection which makes life harder. OK, this is a great idea if the same user changes the password via another non-KDE tool (e.g. "passwd"). Maybe this is even a more generic approach than implementing something in the KDE user-manager. -> Bug 413284 - user-manager should change kwallet password (if identical before) But a PAM hook won't work if the administrator/root changes the user password. Because the administrator probably can't provide the old user password for kwallet decryption. (In reply to David Edmundson from comment #1) > PAM does have a hook that can get called it the password is being changed. > > Ideally we should try and change the wallet password (gnome keyring does > this). I did have a try, but there's a problem that our kwallet requires > having a working X/wayland connection which makes life harder. FWIW this is tracked by Bug 389030. |