Bug 496393

Summary: kwallet always asks for access after changing hostname
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: Valentin Rusu <valir>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.7.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eugene Shalygin 2024-11-17 19:37:20 UTC
SUMMARY

After a hostname change (caused by hardware change, maybe that is somehow related?), kwallet always asks to enter a password, disrespecting options to keep wallets open, do not notify when applications asks for an access, and even for those applications which were granted "Allows always" access level.

STEPS TO REPRODUCE
1.  have a wallet with a password, which differs from the login password, so that the wallet is not open via the PAM layer.
2.  Change host name via hostnamectl
3.  Reboot

OBSERVED RESULT
Every application on session startup asks to enter the wallet password. There are even new ones I never seen before, like xdg-desktop-portal when launching google-chrome.


EXPECTED RESULT
The first applications asks for a password, and the wallet is kept open according to the "Close when unused for" setting.


SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.3
Kernel Version: 6.11.8-gentoo (64-bit)
Graphics Platform: Wayland