FS#45169 - network manager should not require gnome-keyring to prompt for wireless passphrase

Attached to Project: Arch Linux
Opened by Jamin Collins (jamincollins) - Tuesday, 02 June 2015, 00:34 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 16:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
network manager requires gnome-keyring to connect to protected wireless networks even though it doesn't store the passphrase in gnome-keyring

network-manager should continue to work (including connecting to new protected wireless networks) regardless of whether gnome-keyring is installed or not

Additional info:
* package version(s) 1.0.2-1

Steps to reproduce:
* sudo pacman --remove gnome-keyring
* attempt to join a protected wireless network that you haven't previously saved a passphrase for, this will fail, you will not be prompted for a passphrase

However, the wireless network passphrase is not stored in gnome-keyring. If you open nm-connection-editor, select the network that previously failed, enter the network's passphrase and save it, you will be able to connect.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 02 June 2015, 16:28 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 15:20 GMT
I have no idea what you're saying. The package doesn't require gnome-keyring, are you saying that it should?
Comment by Jamin Collins (jamincollins) - Tuesday, 02 June 2015, 16:08 GMT
While you are technically correct that network manager will not automatically install gnome-keyring as a dependency, it does require gnome-keyring to prompt a user for the passphrase for a protected WIFI network.

https://wiki.archlinux.org/index.php/NetworkManager#Xfce
"If nm-applet is not prompting for a password when connecting to new wifi networks, and is just disconnecting immediately, you may need to install gnome-keyring."

So, perhaps this belongs under the extra/network-manager-applet package.
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 16:17 GMT
It's already there. network-manager-applet requires libsecret, which optionally needs gnome-keyring.
Comment by Jamin Collins (jamincollins) - Tuesday, 02 June 2015, 16:20 GMT
I'm not asking for it to be there, I'm indicating that it should not be there and functionally it is not required. Please follow the steps to reproduce in the description. They illustrate that gnome-keyring is not required from a purely functional standpoint.
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 16:23 GMT
And it's not required by the package, either.

We're going in circles here.
Comment by Jamin Collins (jamincollins) - Tuesday, 02 June 2015, 16:26 GMT
Yes, we seem to be. The point I'm trying to convey is that nm-applet should be able to prompt the user for a WIFI passphrase without gnome-keyring installed, as it does not use gnome-keyring to store the passphrase. However, without gnome-keyring installed, nm-applet will *not* prompt the user at all. It will simply indicate a failure to connect to the network. The user then has to manually edit the network configuration and enter details. A simple prompt for a passphrase should not require the installation of gnome-keyring.

Hopefully the above clarifies things.
Comment by Doug Newgard (Scimmia) - Tuesday, 02 June 2015, 16:28 GMT
OK, so that has nothing to do with packaging, so there's nothing to be done here.

Loading...