4 digit PIN for WPS2.0

Jouni Malinen j
Thu May 26 01:40:03 PDT 2011

On Thu, May 26, 2011 at 01:21:06PM +0530, soumya.sardar at wipro.com wrote:
> Please refer to following snippet from WSC2.0 spec sec: 4.3.1
> "If an Enrollee device advertises support for the Display Configuration
> Method, it is
> required to generate a fresh 4 or 8-digit PIN each time it runs the
> Registration Protocol
> and show this PIN on a display."
> This is the reason I was looking for 4 digit PIN generation option in
> wpa_supplicant. Also I understand this is optional.

This is an option for the vendor to select whether to use 4- or 8-digit
PINs. I do not think that 4-digit PIN provides suitable level of
security and would discourage its use. As such, providing internal
support for generating only 8-digit PINs in wpa_supplicant is by design.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list