Ticket #8642 (closed defect: fixed)
Bug in WPA key dialog prevents certain passwords from being accepted
|Reported by:||Eben||Owned by:||cscott|
|Priority:||high||Milestone:||8.2.0 (was Update.2)|
|Keywords:||8.2.0:? blocks-:8.2.0 r+ polish:8.2.0 8.2-764:?||Cc:||mstone, marco, erikos, holt|
|Action Needed:||test in release||Verified:||no|
|Deployments affected:||Blocked By:|
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.