Message267994
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 |
|
Date |
User |
Action |
Args |
2016-06-09 08:41:16 | vstinner | set | recipients:
+ vstinner, lemburg, ncoghlan, larry, christian.heimes, martin.panter, dstufft, Lukasa, Theodore Tso |
2016-06-09 08:41:16 | vstinner | set | messageid: <1465461676.92.0.750145774103.issue27266@psf.upfronthosting.co.za> |
2016-06-09 08:41:16 | vstinner | link | issue27266 messages |
2016-06-09 08:41:16 | vstinner | create | |
|