[network-admin] wpa-psk passphrases with spaces not written to interfaces file

Bug #157288 reported by Stephen Drake
4
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnome-system-tools

I switch my wireless interface from roaming mode (where it works) to a static configuration. When I enter my WPA-PSK passphrase and click Ok, it just fails without any warning. Checking the /etc/network/interfaces file shows that the correct mode and essid are set, but there is no key listed.

If I enter the passphrase again with quotes around it, it correctly generates the hex key and puts it into the interfaces file.

To me this suggests that network-admin can't support spaces in the wpa-psk.

Revision history for this message
Victor Stanescu (victor-gtstelecom) wrote :

I can confirm the bug behavior. Adding "" indeed fixes the problem.

Revision history for this message
DerMika (dieter-dermika) wrote :

Duplicate of bug #90431 ?

Revision history for this message
Stephen Drake (spd106) wrote :

It's subtly different because the key entered is used with the essid to create a hex key and then written to the interfaces file. The WEP key is just written straight to the file.

Why this wasn't fixed when WPA support was added I've no idea.

Marking as a duplicate of bug #50386

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.