26 Nokia A032 Addendum
The encrypted WEP key is placed in the String
field. This is formatted also like an attribute
(type+length+string) but the type values are
defined in this document. There are two
formats for the Nokia-specific attribute:
The format above has no mechanism for
determining the length of the WEP key. The
first implementation of the AP Radius client
measured the length by looking for the first
non-0x00 byte in the decrypted key from the
end of the 16-byte decrypted key.
Unfortunately, this means that no key can end
with bytes of 0x00 even though this would
otherwise be a valid key. For backwards
compatibility, the format above is still
supported but should not be used for new
systems.
To fix the WEP key length problem, the format
below should be used:
Field Octets
Type (2) 1
Length (34) 1
Encrypted WEP key
(ASCII hex string)
32
Field Octets
Type (3) 1
Length (36) 1
Key Length (ASCII hex) 2
Encrypted WEP key
(ASCII hex string)
32