Version: unspecified (using KDE 4.5.5) OS: Linux When you setup a new wireless connection in System Settings using a wep password that password is saved in kwallet under Network Management > Maps > 802.11 wireless security > weppassphrase. It also saved a string of letters and number in the wepkey1 variable. It is not clear where this string comes from but, if you reboot, login, and supply the kwallet password the network manager looks for the wep password in the wepkey1 variable. When it tries this bad password enough times (or there is some timeout) it prompts you for a new password. If you click the "show password" box you can see that it is pulling this password from the garbage that it saved in wepkey1 at the start. If you type the password again correctly in this dialog it saves the correct password to wepkey0. From here on out it pulls the password from wepkey0 and everything works fine. Really, it should always save to wepkey1 at the start and later on. The dialog box for making a new wireless connection is different than the one that appears when a bad password is fed to the router later on, so the code is probably different for both. One is saving the password in one location and the other a different place. Reproducible: Always Steps to Reproduce: Delete the wireless connection Add a new one with a wep password. Look in kwallet at where it is saved. reboot. wait for timeout. type correct password in dialog. look in kwallet at where the new password is saved. Actual Results: password saved in two places, both wrong. Expected Results: password saved in wepkey1 and read from wepkey1 all subsequent times. Kubuntu 10.10, KDE 4.5.5
Is this still happening?
Yes. Have you tried to reproduce it? I just tried and it still happens. I have upgraded to Kubuntu 11.04 and KDE 4.6.4. All you need to do is delete the entry in Network Connections for your wireless connection, and go delete the two entries in kwallet that correspond with that wireless connection. Then add a new wireless connection. Immediately look in kwallet and show the passwords in that entry. You will see that the password has been saved in the wrong place, specifically in field 7 "weppassphrase". If you wait a moment, it will time out and present the password entry window again. Here, if you check the box that shows the password, you will see a string of non-sense. Delete the non-sense and enter the password for your wireless. Now go back and look where it saved the password this time in kwallet. It is in the right place now, field 3 "wepkey0" (I assume this is the right place, but basically there are two places that the software is saving the password, but only one of the two is where it is looking for the password). Also, if you look at field 4 "wepkey1" you will find that it has taken that non-sense from earlier and saved it here for some reason.
I do not think this problem happens in branch nm09. Can you upgrade to NM-0.9 and confirm it?
If you mean knm-runtime then it is already 0.9. I will check and see if this still occurs.
Some distributions, like Ubuntu, uses 0.9 as the version number for Plasma NM that works with NM-0.8, so probably knm-runtime being 0.9 is not conclusive. Look in Manage Connections -> Other. There should be a version number there, if there is none than you are using Plasma NM for NM-0.8 and you should upgrade.
Plasma NM from branch nm09 does not use weppassphrase anymore. I still think this problem does not happen anymore.