Bug 473701 - kwallet-5.109.0-1 asking for wifi password on login
Summary: kwallet-5.109.0-1 asking for wifi password on login
Status: REPORTED
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.109.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
: 475983 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-23 21:28 UTC by d3vilguard
Modified: 2023-10-25 20:52 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description d3vilguard 2023-08-23 21:28:45 UTC
Since version kwallet-5.109.0-1 when I login I'm asked to enter the wifi password before networkmanager connects to my wifi network. I can either enter the password or close the password prompt, open the network applet in the tray and select "connect" to my wifi network. Doing it the second way I am not asked for a password. I'm using SDDM and I have my user set to autologin. I have set kwallet with no encryption and empty passwords. 
***



STEPS TO REPRODUCE
1. Have kwallet-5.109.0-1
2. Have kwallet set with no encryption
3. Have kwallet set with empty passwords 
4. Have a saved wifi network
5. Have auto-login enabled for the user
6. Upon boot it should ask for wifi password 

OBSERVED RESULT
It will not connect automatically and a prompt asking for the wifi's password will open. Prompt can be closed and when clicking connect to the network, password will no be asked. I recon kwallet fails to start or starts way after networkmanager.

WORKAROUND SOLUTION
Downgrading to kwallet-5.108.0-1 solves the problem. Upon logging in it automatically connects to the wifi network without bothering me with password prompts.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch KDE
Comment 1 d3vilguard 2023-08-29 09:02:05 UTC
Issue can be closed. One has to remember to install kwallet-pam.
Comment 2 d3vilguard 2023-08-29 09:09:28 UTC
Previously reported that issue can be closed, but no. Issue still persists. 5.108 also ask for password, yet not so frequently.
Comment 3 Nate Graham 2023-10-23 21:01:24 UTC
And kwallet-pam is still installed?
Comment 4 Nate Graham 2023-10-23 21:01:28 UTC
*** Bug 475983 has been marked as a duplicate of this bug. ***
Comment 5 d3vilguard 2023-10-23 21:16:56 UTC
(In reply to Nate Graham from comment #4)
> *** Bug 475983 has been marked as a duplicate of this bug. ***

I did manage to fix it. It's not version related. Problem was:
- Arch makes a new user during install that requires password during log-in. 
- If one is to set autologin, kwallet will start asking for password after loggin in.  

So to get it fixed, I'm not too sure if I needed to install kwallet-pam, set sddm to ask for password and then set it to autologin. After that in sddm's login behavior settings in "System Settings" I was prompted to set kwallet to not ask password after an autologin (Open KDE Wallet Settings and set a blank password there). 

I saw the duplicate for Fedora with the same bug. I guess we could be talking about SDDM's Settings not properly setting Kwallet to not ask for password when going from a password login to an autologin?

Sorry for not properly documenting my issue, to this commend all my other ones seem to be very low-effort and not up to par.
Comment 6 raob 2023-10-25 20:52:06 UTC
I filed the other report where I mentioned this one might be a duplicate of mine.  I went to KWallet Manager and created a new kwallet and chose classic blowfish as the type of wallet encryption, and I gave the new wallet an empty password as suggested above.  

I logged out and then logged back in.  Indeed, I wasn't asked for my user password to unlock KWallet this time, naturally, but I was asked for the WiFi password directly.  I entered it one more time.  Then, I logged out and logged back in.  Now, the new KWallet I created called 'reset' with an empty password using blowfish classic encryption is working and letting me log in and is getting the WiFi password automatically from the new wallet.  Great.  That's fixed.  Now, I just need the Alt-Tab Shortcut working for Task Switcher and things will be back to the way they were working before 20 October 2023.