WPA wifi. Help please! (I am desperate)

Bryan Kadzban bryan
Thu Jul 26 16:07:08 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

David wrote:
> They told me that it is right, but that WPA keys can be shorter than 
> 64 characters as well...

*Only* if the string is treated as an ASCII key (the type of key that
gets hashed with the SSID to generate the real key).  There is no way to
treat a 26-character string as a hex WPA key; WPA keys are 256 bits
long.

> Maybe a hint can come from the fact that, in Windows XP, introducing
> the 26 character key works OK.

I have no idea how XP's supplicant is coded, but I suspect that it
treats any string shorter than 64 characters as an ASCII key and hashes
it.  For wpa_supplicant, try putting the key in double quotes, since
that's what flags wpa_supplicant to treat the string as an ASCII key and
hash it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqSkbS5vET1Wea5wRA5eCAKCf4CWm2jD5gYOmVHBIwunqmzCgzwCfVkdf
UYDRlQHPWzY/0cBA3LKpecE=
=7NBe
-----END PGP SIGNATURE-----




More information about the Hostap mailing list