Message265430
Oh; it's not actually hashlib which is calling getrandom(), it's the main runtime - the initialization of the per-process secret hash seed in _PyRandom_Init
Don't know enough about the internal logic here to comment on what the Right Thing is; but I second the suggestion of msg264303. This might just require setting "flags" to GRND_NONBLOCK in py_getrandom() assuming that's portable to other OS. |
|
Date |
User |
Action |
Args |
2016-05-12 21:48:02 | Colm Buckley | set | recipients:
+ Colm Buckley, lemburg, rhettinger, doko, vstinner, matejcik, skrah, socketpair, thomas-petazzoni |
2016-05-12 21:48:02 | Colm Buckley | set | messageid: <1463089682.06.0.30851636634.issue26839@psf.upfronthosting.co.za> |
2016-05-12 21:48:02 | Colm Buckley | link | issue26839 messages |
2016-05-12 21:48:02 | Colm Buckley | create | |
|