WPA2 PSK length?
Posted: Wed Feb 20, 2013 10:07 pm
I'd like to use a long WPA2 key. The GUI allows 20 characters.
It seems WPA2 can actually use a 256bit key.
How do the 20 characters you can input map into the 256 bits for a WPA2 key? What character set can be used?
Edited: it appears that WPA keys are generated from 8 to 63 characters from the "ASCII printable characters":
http://en.wikipedia.org/wiki/Wi-Fi_Prot ... s#Security
http://en.wikipedia.org/wiki/ASCII#ASCI ... characters
Is there any way this field in the GUI could be expanded beyond a length of 20?
Edited 2: Wow, I misread the HTML. There is no limit of 20. I tried setting a 63 character WPA2 PSK using all sorts of ASCII characters, and it worked (at least, made it through to /etc/config/wireless). I still need to test if the key is actually being set right, but it made it through Gargoyle and on to uci.
Sorry about the noise.
Thanks,
Kevin
It seems WPA2 can actually use a 256bit key.
How do the 20 characters you can input map into the 256 bits for a WPA2 key? What character set can be used?
Edited: it appears that WPA keys are generated from 8 to 63 characters from the "ASCII printable characters":
http://en.wikipedia.org/wiki/Wi-Fi_Prot ... s#Security
http://en.wikipedia.org/wiki/ASCII#ASCI ... characters
Is there any way this field in the GUI could be expanded beyond a length of 20?
Edited 2: Wow, I misread the HTML. There is no limit of 20. I tried setting a 63 character WPA2 PSK using all sorts of ASCII characters, and it worked (at least, made it through to /etc/config/wireless). I still need to test if the key is actually being set right, but it made it through Gargoyle and on to uci.
Sorry about the noise.
Thanks,
Kevin