GET_NETWORK X wep_key0 is inconsistent
Jouni Malinen
jkmaline
Sat Jul 22 18:42:00 PDT 2006
On Tue, Jul 18, 2006 at 07:30:33PM +0200, Frank Meerkoetter wrote:
> i've noticed that the format of the value returned by
> GET_NETWORK X wep_key0 is inconsistent.
>
> SET_NETWORK 1 wep_key0 5656565656
> GET_NETWORK 1 wep_key0
> "VVVVV"
>
> Which is they ascii representation of this 565656565656.
> Is this a bug or didn't i understand how it is supposed to
> work?
This is the expected behavior, i.e., a feature, not a bug.. Most of the
configuration variables that allow either a hexstring of binaries or an
ASCII string are written back in ASCII string is possible (all
characters printable). This happens even if the value was first set as
a hexstring since the format of the original string is not saved in the
runtime configuration.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list