STINNER Victor added the comment:

I also tested to call os.urandom() "early" in the Windows boot process in a 
Windows VM. Using a startup entry in the 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry key, 
os.urandom() works immediatly (it is able to produce 16 bytes of entropy), 
whereas I didn't touch the mouse, keyboard, or anything. The VM is running with 
qemu without RNG device (I got one, I removed it).

"early" is not correct: it's late in fact, only when the desktop is opened. I 
should use GPEDIT.MSC to start a task before the desktop, but this command 
doesn't seem to be available on my Windows 8?
http://stackoverflow.com/questions/614766/run-a-script-on-windows-startup-without-a-user-logged-on

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27266>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to