[pkg-wpa-devel] Bug#504765: Bug#504765: wpasupplicant: Only wpa2-psk keys of less than 64 must be quoted

Kel Modderman kel at otaku42.de
Fri Nov 7 19:35:05 UTC 2008


On Friday 07 November 2008 10:24:08 Eddy Petrișor wrote:
> Package: wpasupplicant
> Version: 0.6.4-2
> Severity: normal
> 
> Hello,
> 
> When the WPA2 PSK key is of other length than 64 characters, it needs to
> be quoted, while 64 char psk-s are ok.

To quote upstream:
# The key used in WPA-PSK mode can be entered either as 64 hex-digits, i.e.,
# 32 bytes or as an ASCII passphrase (in which case, the real PSK will be
# generated using the passphrase and SSID). ASCII passphrase must be between
# 8 and 63 characters (inclusive).

The parser recognises quotation marks as something surrounding ascii plaintext
values, while hex values are not quoted.

> 
> 
> Please make the behaviour consistent, either by requiering 64 character
> keys to be qouted, too, or by allowing the other sizes to be unquoted.

It is consistent in my own opinion.

Thanks, Kel.





More information about the Pkg-wpa-devel mailing list