Bug 162607

Summary: passwordless wallets forget passwords on logout
Product: [Applications] kwalletmanager Reporter: Kishore <kitts.mailinglists>
Component: generalAssignee: Michael Leupold <lemma>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kishore 2008-05-25 17:54:08 UTC
Version:           1.1 (using 4.00.80 (KDE 4.0.80 >= (KDE 4.1 Beta1), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.24-17-generic

Kopete and KMail passwords are saved in a kwallet. When i set the option to remember password, the passwords are remembered only for the current session if the kwallet itself does not have a password.

However, if the kwallet is created with a password, the passwords are remembered forever.
Comment 1 Stefan Monov 2008-05-25 17:55:32 UTC
I confirm this.
Comment 2 Kishore 2008-05-30 05:24:26 UTC
My observation was shortlived. After a reboot, kwallet again started forgetting passwords even if it itself has a password to open.

After a few more experiments it seems like kwallet does now remember passwords. For this started kopete and kmail which would access the kwallet, supplied my passwords again, then exited kopete and kmail (kmail stores passwords only on exit). I then opened kwalletmanager forcefully closed the wallet through the wallets context menu. Now again kwallet does seem to remember passwords.

If this does work consistently i would think that it is perhaps an issue with the wallet not being closed properly on kde logout. Could others confirm the above procedure as a solution?
Comment 3 Kishore 2008-06-06 06:49:16 UTC
After several days and attempts on other installations, the above mentioned process does appear to be a solution. i.e. Manually disconnecting kwallet clients and then force closing the wallet saves information for future logins.
Comment 4 Michael Leupold 2008-06-12 23:36:25 UTC
kwallet currently only saves the wallet on the end of the session, so I think that's really the problem you're facing. It should however shut down correctly. Does this problem still happen for you?

I might actually enable saving the wallet on every change that is made. I just benchmarked the performance hit and it doesn't seem to be big :-)
Comment 5 Michael Leupold 2008-06-13 23:38:37 UTC

*** This bug has been marked as a duplicate of 105752 ***