[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] OpenSSH: PRNG is not seeded



On 17/12/2013 22:16, Helmut Karlowski wrote:
Don't know if it's related, but the timer (timeout-stuff etc.) from MiNT is
not 100% reliable when runnning on aranym.

On ARAnyM, the problem happens quickly. I hit it every time. It happens with both JIT and non-JIT versions.

On the FireBee, I did the same manipulations, and the problem never appeared.

So you're right, the problem seems to be specific to ARAnyM. Maybe due to the speed of emulation, or inaccurate timings, I don't know.

I'm going to include my tiny patch in OpenSSL as it cures the problem on ARAnyM, and it looks safe. Of course, that select() stuff on /dev/urandom will have to be closely investigated later, there is a bug hidden somewhere.

--
Vincent Rivière