Bug 480151 - Asks me for kwallet password at every startup to connect to wifi network
Summary: Asks me for kwallet password at every startup to connect to wifi network
Status: CONFIRMED
Alias: None
Product: knemo
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: John Stamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 23:53 UTC by php4fan
Modified: 2024-03-17 19:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description php4fan 2024-01-21 23:53:25 UTC
SUMMARY
***

***


STEPS TO REPRODUCE
1.  Install Manjaro with KDE
2. Connect to a wifi network for the first time
3.  Restart

OBSERVED RESULT

When I connected to the wifi for the first time, KWallet asked me to choose a password to unlock the wallet where wifi passwords are stored. It gave me no option to not protect the wifi password at all.

At every restart, now, as it automatically connects to the same wifi network, it asks me for the password to unlock the wallet. It hasn't offered me any option to avoid this.

EXPECTED RESULT

1) First of all, when connecting to a wifi network for the first time, it should ask me whether or not I want the password to be encripted with the wallet at all. For me (and I'm sure I'm not the only one), the wifi password is not very sensitive at all. I'm going to give it to anybody who comes to my home anyway. I would happily have it stored in plain text and save myself the pain of having to use the wallet in the first place. I bet there is already a way and I'll find it by googling, but I shouldn't have to. The very popup that prompts me to set up the wallet, should first ask me whether I want to.

2) And secondly, there MUST be a way to avoid having to enter the wallet password every time at startup, just like one can choose to not have to enter the user password to log in at startup.

On my previous computer I remember having the exact same issue, and at some point I don't remember how I solved it, but I no longer had to enter the kwallet password. I guess I'll google for it and find the same solution again, but I shouldn't have to, a solution should be offered to me at some point along the process.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.10-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA
System Version: 1.0
Comment 1 freedriven 2024-01-23 21:53:07 UTC
Confirmed on KDE Neon 6.0 RC1.
I tried various fixes after searching.  /etc/pam.d edits, resetting kde wallet passwords, re-creating the wallet, etc.
Comment 2 S. Christian Collins 2024-03-06 15:32:41 UTC
This is happening for me in KDE neon with Plasma 6.0.0, but only if I use X11. This bug does not happen when using Wayland.
Comment 3 Andrea Ippolito 2024-03-14 16:44:34 UTC
Chiming in.

Updated today my opensuse Tumbleweed install and now I have the same problem.

Running 6.0.1.

I was running Wayland before the upgrade, and am running Wayland now.

Now after the upgrade at every boot I get a popup saying that kded6 requires wallet access and I have to type my wallet password just in order to connect to my home WiFi. The wallet pwd is the same as my user's. With Plasma 5 this was the trick to avoid having to re-type it, as the wallet would auto-unlock if the pwds matched.

Has something changed around this?

Thanks
Comment 4 Andrea Ippolito 2024-03-14 16:48:54 UTC
Suspect root cause/dupe:

https://bugs.kde.org/show_bug.cgi?id=480380
Comment 5 php4fan 2024-03-14 16:51:49 UTC
> The wallet pwd is the same as my user's. With Plasma 5 this was the trick to avoid having to re-type it, as the wallet would auto-unlock if the pwds matched.

Really? On Manjaro with Plasma 5, that NEVER worked for me. I have always had the same kwallet password as my user's password, and it would still prompt me every time. The only way I got rid of the annoying prompt was to set an empty password for the wallet.
Comment 6 Andrea Ippolito 2024-03-14 16:55:35 UTC
Yes, really. Although there was some kind of caveat, IIRC you had to destroy the wallet your distro created if the name didn't match a specific one (`kdewallet`, maybe?).

EDIT: here is the explanation (as usual via the excellent arch wiki):

https://wiki.archlinux.org/title/KDE_Wallet#Unlock_KDE_Wallet_automatically_on_login