#8642 HIGH 8.2.0 (: Bug in WPA key dialog prevents certain passwords from being accepted

Zarro Boogs per Child bugtracker at laptop.org
Wed Sep 24 16:50:56 EDT 2008


#8642: Bug in WPA key dialog prevents certain passwords from being accepted
------------------------------------+---------------------------------------
 Reporter:  Eben                    |         Owner:  cscott              
     Type:  defect                  |        Status:  new                 
 Priority:  high                    |     Milestone:  8.2.0 (was Update.2)
Component:  sugar                   |       Version:  not specified       
 Keywords:  8.2.0:?  blocks?:8.2.0  |   Next_action:  code                
 Verified:  0                       |     Blockedby:                      
 Blocking:                          |  
------------------------------------+---------------------------------------
 I've been trying to connect to my access point with 763, but when I press
 enter (or click the OK button) nothing happens.  Looking at the logs, I
 see two strange things.  It reports:

 {{{
 (s, 0) = commands.getstatusoutput(command)
 if s != 0:
     raise RuntimeError("Error hashing passphrase: %s" % o)

 global RuntimeError = undefined
 o = ''
 }}}

 So, first of all I have no idea why RuntimeError is undefined.  That
 aside, the real problem is that the passphrase string passed to
 /usr/bin/wpa_passphrase isn't properly escaped or quoted (my passphrase
 includes a single quote), which is causing it to crap out and return
 nothing.

 I tried running the script directly with my passphrase properly quoted
 and/or escaped and it ran fine.

 It seems this is easy to fix, but a big win to fix for G1G1.

-- 
Ticket URL: <http://dev.laptop.org/ticket/8642>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list