5 ms·
Just me or the solution will work on anything that depends on the SYS_getrandom syscall?
by k_sze 2y ago
Just me or the solution will work on anything that depends on the SYS_getrandom syscall?
- healeycodes 2y agoYes, it works on any process that makes a SYS_getrandom call.
- amnqrt 2y agoYes, the solution has nothing to do with Python. I'm not sure if the problem had anything to do with Python. The article is a bit silent on the specific issue with randomness. If detouring urandom() fixed it, it was probably the randomized hash tables. It cannot have been third party modules calling random.seed() since that would not have been fixed by the hack (meant positively). You can say that randomized hash tables by default are a mistake, same as the crippled arbitrary precision arithmetic. If you write a web service, just set the proper defaults at the start of your program.