Me: "Hmm, maybe I should see if libsodium verifies that urandom is a char device..." *checks* Yep. Of course. https://github.com/jedisct1/libsodium/blob/master/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c#L118 …
@voodooKobra But on Linux it’s not used any more anyway. Except on old kernels, getrandom(2) is used instead.
-
-
@jedisct1 I'm going to submit a PR to PHP 7's random_bytes() to add a congruent check once they agree to throw Exceptions on failure :P -
@voodooKobra Thanks for all your efforts to make PHP [more] secure.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.