NetworkManager lost connection to kdewallet

A few days ago the NetworkManger lost the connection to the kwallet. Before when I wanted to connect to a WiFi or VPN I always had to enter the password for kdewallet.

When I try to connect to a WiFi or VPN connection I get the following entry in the NetworkManager log:

<error> [1582545566.3855] vpn-connection[0x56224eca0320,22754d81-65c1-436e-ba86-ee046b693b67,"dahis@evofwg01.volocopter.org",0]: Failed to request VPN secrets #3: No agents were available for this request.

How can I reestablish the connection between NetworkManager and the kdewallet?

@infinity-it:

In the KDE Plasma “System Settings” → “Personalization” → “Account Details” → “KDE Wallet” – in the “Access Control” tab, does Network Manager appear in the list?

In the KWallet Manage itself, in the “Applications” tab, does Network Manager appear in the list?

Is the Wallet encrypted with Blowfish or GPG?

Are you using “PAM KWallet”?

Did you recently change your password?

  • If PAM KWallet then, the password on the Blowfish wallet must be the same as your login password.

No it does not appear in: “System Settings” → “Personalization” → “Account Details” → “KDE Wallet” – in the “Access Control”. The list is empty

No it does not appear in: KWallet Manage itself, in the “Applications” tab, does Network Manager appear in the list?

Where can I find whether the Wallet is encrypted with Blowfish or GPG? During the first initialization I took the default settings.

Are you using “PAM KWallet”? Where can I find this information.

No I did not change the password.

This means that, no application has attempted to use KWallet – you may have to enable “Prompt when an application accesses a wallet”.

AFAICS, you can’t – if you took the default setting then, it’s GPG. Please read this ArchLinux Wiki entry: <https://wiki.archlinux.org/index.php/KDE_Wallet&gt;.
The KWallet documentation is here: <https://docs.kde.org/stable5/en/kdeutils/kwallet5/index.html&gt;.

Take a look to see if the package “pam_kwallet” is installed.

If, you’re using KWallet to store the passwords needed for WLAN access via Network Manager then:

  1. You need to use PAM KWallet to open the wallet at login.
  2. The Wallet needs to remain open during the user’s session unless, it’s reasonable that, the wallet’s password be required every time a new WLAN is accessed.
  3. The wallet’s password has to be the same as the user’s login password.
  4. The wallet has to use Blowfish encryption which, isn’t the default for newly created wallets.
  5. The wallet’s name has to be “kdewallet”.

[HR][/HR]BTW, as the number of passwords stored in encrypted wallets (such as KWallet) increases, my view is that, it pays to occasionally export the wallet’s contents to a removable medium, such as a DVD-RAM, to safely backup the entries.

I did a zypper dup today and everything is back to normal. Strange. :sarcastic:

Anyway I learned much about the internals of kwallet etc.

Thank you very much to everybody for your help and support.