Bug 506390

Summary: Wifi can't authenticate in passwordless user session
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Alberto Salvia Novella <es20490446e>
Component: generalAssignee: Valentin Rusu <valir>
Status: REPORTED ---    
Severity: crash CC: kde, kdelibs-bugs-null, mk.mateng
Priority: NOR Keywords: regression, usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=459669
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alberto Salvia Novella 2025-06-30 14:51:22 UTC
SYSTEM
- Zenned OS
- Plasma 6.4.1
- Frameworks 6.15.0
- Qt 6.9.1

STEPS
1. Create a new user without password: `sudo useradd -m -s /bin/bash test` + `sudo passwd -e test`.
2. Log into the new user.
3. Try to connect to a wi-fi.
4. You are presented to create a new kwallet. Select any method.

RESULT
- The wi-fi never connects: the applet gets stuck at: waiting for authentication.
- Which means that any user session that has no password, like that on a live USB, will be unable to connect to a wi-fi.
Comment 1 David Edmundson 2025-06-30 15:55:03 UTC
you've confirmed this problem is related to not having a password?
Can you load a wallet via kwalletmanager?
Comment 2 Alberto Salvia Novella 2025-06-30 16:16:02 UTC
Let me check...
Comment 3 Alberto Salvia Novella 2025-07-01 14:28:47 UTC
You can't load a wallet via kwalletmanager.

If you create a wallet prior to trying to connect to a wi-fi, it doesn't work.

If you create the wallet while you are asked to do so as part of connecting to a wi-fi, then disconnect, then try to open it via kwalletmanager, it doesn't work either.

In both situations the applet hangs at "waiting for authentication".

The only thing that works is, after creating the wallet, login out and in again. Then you are prompted to re-enter the wi-fi password, in a separate screen than the applet. Even when the wi-fi already has the password registered in network settings prior to logout.

So the applet is failing to notice that the newly created wallet is present.
Comment 4 michaelk83 2025-07-01 20:16:23 UTC
(In reply to Alberto Salvia Novella from comment #3)
> In both situations the applet hangs at "waiting for authentication".
This may be the cause of bug 459669.
Comment 5 Alberto Salvia Novella 2025-07-03 20:42:53 UTC
By the way, this didn't happen a few weeks ago.