Bug 506390 - Wifi can't authenticate in passwordless user session
Summary: Wifi can't authenticate in passwordless user session
Status: REPORTED
Alias: None
Product: frameworks-kwallet
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2025-06-30 14:51 UTC by Alberto Salvia Novella
Modified: 2025-07-03 20:43 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.