Re: [PATCH 0.7] Fix WPA-PSK with certain passphrases
- From: Dan Williams <dcbw redhat com>
- To: Bill Nottingham <notting redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH 0.7] Fix WPA-PSK with certain passphrases
- Date: Sat, 29 Sep 2007 01:12:48 -0400
On Fri, 2007-09-28 at 22:34 -0400, Bill Nottingham wrote:
> Passphrases are first hashed into hex, and then encoded with hexstr2bin
> before being marshalled over to wpa_supplicant. Since they are a hex
> hash, it's entirely possible that '00' will occur in the hash... which
> means you can't depend on strlen to give the right length for the binary
> encoding, and therefore must pass the length in explicitly.
Committed, thanks.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]