I’m trying to set up a wireless connection in Leap 15 and I’m not succeeding. I went in through Main Menu/Settings/Configure Desktop/Connections. On the page “Edit Your Network Connections”, I succeeded in creating a new 802-11 wireless connection. But when I tried to finish the setup, I get the message “Failed to get secrets for new 802-11…/No agents were available for this request.” I don’t want to use KWallet, and in fact I managed to set up a connection like this on another machine without having to do anything with KWallet.
How can I avoid having to deal with secrets? I’ve never had to deal with them in the past.
To be perfectly honest, I’m having extreme difficulty understanding why KWallet has a general reputation of mistrust – there seem to be powers somewhere who are attempting to undermine the mechanisms inherent in Password Wallet applications.
If you want to begin to understand how the KDE Plasma Network Manager Plasmoid handles KWallet and the WiFi/WLAN Network Key values (AKA secrets), take a look into the the following plasma-nm5 code: “kded: secretagent.cpp”.
The code handling KWallet is comprehensive.
Yes, there is a C++ object which handles the “no key values in a Wallet” case: line 555: ‘SecretAgent::importSecretsFromPlainTextFiles()’ – documentation and comments in the code is however, missing …
The C++ objects handling KWallet do output error messages is something misbehaves.
If the Plasmoid is handling VPN Keys then, the values are expected to be system-stored.
The first C++ object is ‘SecretAgent::SecretAgent(QObject* parent)’ which connects to the NetworkManager and then, imports secrets stored in plaintext files if needs be …
Bottom line – from my point of view:
Avoiding using a Password Wallet is a) not well documented and b) lacking comments in the code.