/dev/urandom issue

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 2 12:01:13 UTC 2017


On 02/08/17 10:46, Sichen Zhao wrote:

> Hi all,
>
> When i use wpa_supplicant to configure WPA, there are an error:
>
> Could not open /dev/urandom.
> wlan0: WPA: Failed to get random data for SNonce

/dev/urandom should not be used. Use getentropy() instead.

>
> It seems we need /dev/urandom to generate the random data. So how do we deal with it? Should import it?
>
> Best Regards
> Sichen Zhao
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list