Re: [PATCH v4 0/5] /dev/random - a new approach
From: Tomas Mraz
Date: Tue Jun 21 2016 - 09:27:48 EST
On Ãt, 2016-06-21 at 09:05 -0400, Austin S. Hemmelgarn wrote:
> On 2016-06-20 14:32, Stephan Mueller wrote:
> >Â
> > [1] http://www.chronox.de/jent/doc/CPU-Jitter-NPTRNG.pdf
> Specific things I notice about this:
> 1. QEMU systems are reporting higher values than almost anything
> elseÂ
> with the same ISA.ÂÂThis makes sense, but you don't appear to haveÂ
> accounted for the fact that you can't trust almost any of the entropy
> inÂ
> a VM unless you have absolute trust in the host system, because the
> hostÂ
> system can do whatever the hell it wants to you, including
> manipulatingÂ
> timings directly (with a little patience and some time spent working
> onÂ
> it, you could probably get those number to show whatever you want
> justÂ
> by manipulating scheduling parameters on the host OS for the VM
> software).
You have to trust the host for anything, not just for the entropy in
timings. This is completely invalid argument unless you can present a
method that one guest can manipulate timings in other guest in such a
way that _removes_ the inherent entropy from the host.
--Â
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
(You'll never know whether the road is wrong though.)