Re: [Pkg-sysvinit-devel] Bug#587665: Safety of early boot init of/dev/random seed
From: Christoph Anton Mitterer
Date: Sun Aug 01 2010 - 18:53:05 EST
Hey Matt...
May I ask you a follow-up question on that,... which is however not so
much Debian-init-related, I guess.
On Mon, 2010-07-05 at 13:40 -0500, Matt Mackall wrote:
> > > 1. How much data of unknown quality can we feed the random pool at boot,
> > > before it causes damage (i.e. what is the threshold where we violate the
> > > "you are not goint to be any worse than you were before" rule) ?
>
> There is no limit. The mixing operations are computationally reversible,
> which guarantees that no unknown degrees of freedom are clobbered when
> mixing known data.
>
> > > 2. How dangerous it is to feed the pool with stale seed data in the next
> > > boot (i.e. in a failure mode where we do not regenerate the seed file) ?
>
> Not at all.
Are the above to statements also true for possibly "evil" random data?
I mean the seed file (as in Debian) is already from the kernel's PRNG,
right? So that shouldn't contain evil and special crafted data in order
to weak the PRNG.
Working with a Gird-CA for the LHC - we're always interested in nice
tokens like:
http://www.entropykey.co.uk/
Unfortunately it's never really clear how well their contribution would
actually be.... and the paranoid below us could even believe, that
mighty government organisations have such devices hacked in order to
harm our crypto ;)
Thanks,
Chris.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature