Bug 116083

Summary: wpa_supplicant can't deal with dash-separated hex keys
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Reinhard Max <max>
Component: NetworkAssignee: Joachim Gleissner <joachim.gleissner>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Suggested patch

Description Reinhard Max 2005-09-09 10:23:00 UTC
YaST online-help suggests using dashes to split hex keys for WEP and WPA into
groups of four digits, but when starting a wireless interface that was
configured that way, wpa_supplicant complains about the key having an invalid
format, and exits, leaving the device in an unusable state.

So either wpa-supplicant should be changed to accept dash-separated keys, or the
network initialisation scripts should remove the dashes from hex keys, when
generating the config file for wpa_supplicant.
Comment 1 Joachim Gleissner 2005-09-09 10:38:17 UTC
Fixed package submitted. 
Comment 2 Reinhard Max 2005-09-09 10:39:42 UTC
Created attachment 49355 [details]
Suggested patch

It removes everything that is not a hex digit from the key when generating the
wpa_supplicant config file.