Bug 137232 - kdewallet doesn't save new passwords
Summary: kdewallet doesn't save new passwords
Status: RESOLVED FIXED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Leupold
URL:
Keywords:
: 120655 138587 139065 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-12 14:09 UTC by Piotr Jaroszyński
Modified: 2008-07-09 11:30 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen (6.74 KB, image/jpeg)
2006-11-12 14:10 UTC, Piotr Jaroszyński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Jaroszyński 2006-11-12 14:09:15 UTC
Version:           1.1 (using KDE 3.5.5, Gentoo)
Compiler:          Target: x86_64-pc-linux-gnu
OS:                Linux (x86_64) release 2.6.18-gentoo

1. startkde
2. add a new password to kwallet
3. stopkde
4. startkde
5. new password is lost

Research:
- ~/.kde/share/apps/kwallet/*.kwl is saved only on closing wallet.
- My ~/.kde/share/apps/kwallet/*.kwl had(before I started playing with manual closing) a modification date equal to date of kwallet dir creation => it was never changed after the initial import.
- konqueror's ftp client is showed in kwalletmanager as empty string(see screen). Debug info:
QPopupMenu: (Disconnect Apps) Popup has invalid menu item
- konqueror's ftp client never disconnects from the wallet. Maybe because of that wallet is never saved on exit?
Comment 1 Piotr Jaroszyński 2006-11-12 14:10:13 UTC
Created attachment 18509 [details]
screen
Comment 2 Piotr Jaroszyński 2006-11-12 14:19:06 UTC
Update:
Closing kde with no app left to disconnect, but opened wallet doesn't help. Password isn't saved so it seems that closing kde doesn't close open wallets and thus all changes are lost.
Comment 3 Casper Planken 2006-11-13 12:41:56 UTC
Same problem here. I actually lost a valuable new password this way. Actually a new password for my bank and had to request and get a new one at the bank itself. This problem is as old as kwallet itself I think, because it's not the first time this happened.

I have kwallet open all day (with a password) and I log-off cleanly from KDE. I do have 'session restore' turned on, but it should not matter and kwallet always correctly asks for the password on log-on when kmail needs it.
Comment 4 Piotr Jaroszyński 2006-11-21 13:35:41 UTC
ping...
Comment 5 jozi 2006-12-17 04:48:39 UTC
so your password is correctly saved when you close the wallet and reopen it?

having a similar problem with kdewallet 1.1 (3.5.5) under debian testing (etch), the only difference is, that the changes aren't even saved, if i close the wallet manually.

would be nice if there could be any reaction, i don't want this to get into debian stable...
Comment 6 Altmenorg 2006-12-18 22:03:07 UTC
This duplicates #136411
Comment 7 Gehold Bertin 2006-12-21 07:44:19 UTC
I've same problem: http://bugs.kde.org/show_bug.cgi?id=139065

After rebooting KWallet 1.1 (3.5.5) (kubuntu dapper) has only 10 instead of 16 KMail passwords.
Comment 8 Tommi Tervo 2006-12-21 11:10:29 UTC
*** Bug 139065 has been marked as a duplicate of this bug. ***
Comment 9 Tommi Tervo 2006-12-21 11:10:38 UTC
*** Bug 138587 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Kuhn 2007-01-05 14:24:16 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Thorsten Reichelt 2007-01-09 11:42:02 UTC
Same problem here (Debian sid/etch).
I deleted my kwallet.kwl and the new *.kwl is always 0 bytes in size. Saving the wallet manually results in a zero byte file, too. Export and import to .xml works fine.

KDE Version:  1.1 (KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:  Target: i486-linux-gnu
OS:  Linux (i686) release 2.6.18-1-686
Comment 12 Jeremy Shaw 2007-01-17 22:08:58 UTC
At one point in time, if you accidently told kwalletmanager to 'always deny' konqueror, then it would correctly always deny konqueror from then on.

However, konqueror would not realize this, so it would keep asking you if you wanted to save a password, but then it would silently fail when it actually tried to save the password. So, you would think it had worked, but in reality, it silently failed.

To see if this is your problem, open kwalletmanager, and see if you have the default policy for any applications set to 'deny always'.

It sounds like some people are having a different problem, but, for others, this might be a 'solution'.
Comment 13 Piotr Jaroszyński 2007-01-17 22:29:20 UTC
Not the case for me.
Comment 14 jozi 2007-02-12 19:45:31 UTC
bug has been solved on debian  (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407272) these days with kdelibs 4:3.5.5a.dfsg.1-6 which went to testing yesterday. seems to work properly now.
Comment 15 PhobosK 2007-03-03 22:35:46 UTC
I can confirm this bug on Gentoo Base System version 1.12.6, KDE 3.5.6. The problem is that sometimes closing kwallet manually saves the new passwords but MOST OF THE TIME it does not (even not using manual close but logging out kde normally). So i have lost a lot of passes and now i cannot rely on kwalletmanager at all :(
Comment 16 Tommi Tervo 2007-04-10 14:52:15 UTC
*** Bug 120655 has been marked as a duplicate of this bug. ***
Comment 17 carl 2007-04-11 12:20:34 UTC
Well, as written s.w.else, I (Suse 9.3 [i386], KDE 3.5.6) 
have the same problems - pretty anoying.
Carl
Comment 18 Daniel Bauer 2007-07-20 08:44:50 UTC
I have the same problem here on Suse 10.0, KDE 3.5.7. A password from Kmail is added to kdewallet when entered in KMAIL with "save password" checked, but when logging out from KDE and in again, kdewallet has forgotten the password... 
Comment 19 PhobosK 2007-07-24 22:49:27 UTC
UPDATE:
=======
  Now i use KDE 3.5.7 (kwalletmanager is still 1.1) and the problem IS STILL THERE - obviously no one is doing anything for that and they only copy the code to the next KDE release. BTW i just followed the svn log and it just confirms my opinion for missing support on this VERY IMPORTANT application - except for two commits 4 weeks ago fixing memory leaks and compiler warnings(ouch....that is very important :) ;) :( ....phuuuuu...), the latest changes in the code are 11 months old !!!
Now here is just a temporary "fix" for you to make kdewalletmanager remember the new passes:
After every new password that is put in the wallet, rightclick on the needed wallet and disconnect ONE BY ONE all the connected clients including the empty entry(see the jpeg attachment named "screen" from below) that appears when using konqueror's kio slave(that is ALSO A BUG) and please do not use any menu function that says "Close all wallets" - this will usually lose your new passes !

Now I put all my 100 votes for this to be fix, though i doubt it would be done because everything is heading towards the KDE4 release.
Comment 20 Jakub Nawalaniec 2007-09-25 00:03:30 UTC
Same here. Someone please fix this!
Comment 21 Dennis 2007-09-28 12:21:55 UTC
KDE3.5.7, kwalletmanager 1.1, gentoo ~x86
the same problem (new passwords are not saving)

~/.kde3.5/share/apps/kwallet $ ls -l
total 16
-rw-r--r-- 1 denger sysopteam 13292 2007-09-14 09:19 kdewallet.kwl
-rw------- 1 denger sysopteam     0 2007-06-12 22:56 kdewallet.kwlNJEA5a.new
~/.kde3.5/share/apps/kwallet $ rm kdewallet.kwlNJEA5a.new
~/.kde3.5/share/apps/kwallet $ ls -l
total 16
-rw-r--r-- 1 denger sysopteam 13292 2007-09-14 09:19 kdewallet.kwl

then adding new password to wallet

~/.kde3.5/share/apps/kwallet $ ls -l
total 16
-rw-r--r-- 1 denger sysopteam 13844 2007-09-28 13:52 kdewallet.kwl

this helps for me
Comment 22 Michael Leupold 2008-06-13 23:50:01 UTC
Could you please check if the behaviour you specify is the same like the one described in bug 105752 ? If so I could close this one as well - the fix will be in 4.1.
Comment 23 Michael Leupold 2008-07-09 11:30:13 UTC
Closing this as it's presumably fixed.