If wpa_supplicant's wpa-psk option is not quoted in /etc/network/interfaces, it is silently accepted, parsed incorrectly and fails to authenticate

Bug #1077748 reported by Ryan C. Underwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wpasupplicant (Ubuntu)
New
Undecided
Unassigned

Bug Description

iface wlan0 inet dhcp
        wpa-ssid "myessid"
        wpa-psk "......"

works.

This does not work:

iface wlan0 inet dhcp
        wpa-ssid myessid
        wpa-psk ......

The failure is silent and can only be detected by entering wpa_cli and observing the "4-way handshake failed" messages. If it is impossible to accept a wpa-psk that is not quoted, it should fail loudly in this case.

Revision history for this message
Ryan C. Underwood (nemesis-icequake) wrote :

Here is the Gentoo thread in which I located the solution by sheer chance:

http://forums.gentoo.org/viewtopic-t-851897-start-0.html

Revision history for this message
Stéphane Graber (stgraber) wrote :

Those options don't come from ifupdown but from the wpasupplicant plugin

affects: ifupdown (Ubuntu) → wpasupplicant (Ubuntu)
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.