Bug 381578 - Passwords are not correctly stored for the first time
Summary: Passwords are not correctly stored for the first time
Status: RESOLVED DUPLICATE of bug 387502
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
: 382017 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-23 13:40 UTC by Frederick Zhang
Modified: 2018-02-23 14:43 UTC (History)
3 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 Frederick Zhang 2017-06-23 13:40:18 UTC
System: Arch Linux
Plasma: 5.10.2

Installed Packages:
    $ pacaur -Q | grep plasma
    kdeplasma-addons 5.10.2-1
    plasma-desktop 5.10.2-2
    plasma-framework 5.35.0-1
    plasma-integration 5.10.2-1
    plasma-nm 5.10.2-1
    plasma-pa 5.10.2-1
    plasma-sdk 5.10.2-1
    plasma-workspace 5.10.2-1
    plasma-workspace-wallpapers 5.10.2-1

Steps to reproduce:
1. Select a new WiFi from tray applet
2. Connect and enter password

Expected behaviour:
The WiFi is connected with provided password

Actual behaviour:
A pop-up window comes up and prompts the password again

Description:
Every time I try to connect to a new WiFi, a pop-up window always comes up to ask me for the password for a second time although I've inputted it in the tray applet.

Screenshot: https://i.imgur.com/UCZZoQ4.png

I'm pretty sure the password is correct (tested with copy and pasted to provide the exactly same password) and it seems that Kwallet is also working normally.

Here are the logs: https://paste.kde.org/ptaupdmnq (before the empty lines were the ones from the failed try via system tray, after them were the ones from the successfully try via the pop-up window).

The same thing happens to creating new VPN connections as well. For instance, after setting up a new VPN via "Connections -> Add new connection -> L2TP", I have to re-fill the password in "Connections".

A related Reddit post can be found here: https://www.reddit.com/r/kde/comments/6iz6z9/always_have_to_enter_wifi_passwords_for_a_second/
Comment 1 Jan Grulich 2017-06-26 08:59:47 UTC
I cannot reproduce this problem, for me it looks like a problem with KWallet, because if KWallet is not available or doesn't work as it should then the password won't be saved and that's the reason why you get prompted for the password again. Make sure KWallet is running and is enabled.
Comment 2 Frederick Zhang 2017-06-28 07:04:22 UTC
> I cannot reproduce this problem, for me it looks like a problem with KWallet

KWallet is normally running in my case. I believe that if there's anything wrong with KWallet, passwords will not be able to be stored at all? I get the pop-up prompt for only a single time and then the passwords are saved normally.

Should I try wiping all data and configurations of KWallet?
Comment 3 Frederick Zhang 2017-08-20 08:00:44 UTC
I still have the problem with Plasma 5.10.4. Wiping the wallet data did't help.

$ pacaur -Q | grep plasma
kdeplasma-addons 5.10.4-1
plasma-desktop 5.10.4-1
plasma-framework 5.37.0-2
plasma-integration 5.10.4-1
plasma-nm 5.10.4-1
plasma-pa 5.10.4-1
plasma-sdk 5.10.4-1
plasma-workspace 5.10.4-2
plasma-workspace-wallpapers 5.10.4-1
Comment 4 Frederick Zhang 2017-08-20 08:07:27 UTC
I rephrased the title. It was a bit unclear.

The passwords *can* be saved, but I always need to input the password for a second time.
Comment 5 Jan Grulich 2017-09-11 11:39:53 UTC
*** Bug 382017 has been marked as a duplicate of this bug. ***
Comment 6 Jan Grulich 2017-09-11 11:41:33 UTC

*** This bug has been marked as a duplicate of bug 377473 ***
Comment 7 Nate Graham 2018-02-23 14:43:23 UTC

*** This bug has been marked as a duplicate of bug 387502 ***