Re: wpa supplicant using /dev/random

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2019-06-05 at 16:38 -0600, Chris Murphy wrote:
> Jun 05 15:53:25 fmac.local kernel: random: crng init done
> Jun 05 15:53:25 fmac.local kernel: random: 7 urandom warning(s)
> missed
> due to ratelimiting
> Jun 05 15:53:25 fmac.local wpa_supplicant[1000]: random: Cannot read
> from /dev/random: Resource temporarily unavailable
> Jun 05 15:53:25 fmac.local wpa_supplicant[1000]: random: Got 20/20
> bytes from /dev/random
> 
> 
> Is this a bug? Should it be using /dev/urandom instead?

That's clearly a bug. It should just use OpenSSL which it links to
anyway to get random numbers. OpenSSL uses getrandom() to get entropy
from the kernel to seed its RNG.

-- 
Tomáš Mráz
No matter how far down the wrong road you've gone, turn back.
                                              Turkish proverb
[You'll know whether the road is wrong if you carefully listen to your
conscience.]

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux