WiFi passwords and keychain [Eduroam]

Bug #1369929 reported by Jouko Orava
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Manager Applet
network-manager-applet (Ubuntu)

Bug Description

nm-applet (from network-manager-gnome_0.9.8.8-0ubuntu4.3) uses the connection UUID instead of the user-visible connection ID to identify the WiFi connection password in secret storage (keychain). Some utilities or NetworkManager seem to modify the UUID in some situations -- I've not managed to track down exactly when --, so that nm-applet can no longer obtain the connection password from the keyring, causing nm-applet to always pop up a connection password dialog. (Also, previous connection passwords tend to aggregate in the keyring, as they're not automatically removed.)

The particular situation I can semi-reliably reproduce this is with Eduroam connection scripts. (In fact, many scripts fall back to storing the password in cleartext in /etc/NetworkManager/system-connections/, the directory and files being read-only by root.)

My suggestion/fix is to use the user-visible connection ID to identify the WiFi connection in secret storage/keychain. That way the password in the keychain is attached to the NetworkManager connection, as long as the connection ID stays unchanged.

I've submitted this enhancement request upstream as
and attached here the simple patch against network-manager-gnome_0.9.8.8-0ubuntu4.3.

Tags: patch
Revision history for this message
Jouko Orava (joorava) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Use ID instead of UUID in nm-applet secrets" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in network-manager-applet (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in network-manager-applet:
importance: Unknown → Wishlist
status: Unknown → New
Changed in network-manager-applet:
status: New → Confirmed
Changed in network-manager-applet:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.