public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: Matt Mackall <mpm@selenic.com>
Cc: Henrique de Moraes Holschuh <hmh@debian.org>,
	Herbert Xu <herbert@gondor.hengli.com.au>,
	"Theodore Ts'o" <tytso@mit.edu>,
	linux-kernel@vger.kernel.org
Subject: Re: [Pkg-sysvinit-devel] Bug#587665: Safety of early boot init of /dev/random seed
Date: Mon, 02 Aug 2010 00:52:51 +0200	[thread overview]
Message-ID: <1280703171.10108.35.camel@fermat.scientia.net> (raw)
In-Reply-To: <1278355233.9937.21.camel@calx>

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

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 #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5677 bytes --]

  parent reply	other threads:[~2010-08-01 22:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100630175615.2119.50822.reportbug@pluto.milchstrasse.xx>
     [not found] ` <20100630184209.GA30971@khazad-dum.debian.net>
     [not found]   ` <4C2BCE88.20004@debian.org>
     [not found]     ` <20100630234016.GD18711@login1.uio.no>
     [not found]       ` <4C2BDCF0.5080203@debian.org>
     [not found]         ` <20100701141022.GA3811@login1.uio.no>
     [not found]           ` <20100701171357.GE4789@khazad-dum.debian.net>
     [not found]             ` <20100702064415.GE3811@login1.uio.no>
     [not found]               ` <20100702232919.GA14437@login2.uio.no>
     [not found]                 ` <20100703012833.GA20929@khazad-dum.debian.net>
2010-07-03 15:16                   ` Safety of early boot init of /dev/random seed Henrique de Moraes Holschuh
2010-07-03 16:08                     ` [Pkg-sysvinit-devel] Bug#587665: " Henrique de Moraes Holschuh
2010-07-05 18:40                       ` Matt Mackall
2010-07-15 23:33                         ` Henrique de Moraes Holschuh
2010-07-16  2:41                           ` Matt Mackall
2010-07-16 12:58                             ` Henrique de Moraes Holschuh
2010-08-01 22:52                         ` Christoph Anton Mitterer [this message]
2010-08-02  4:13                           ` Henrique de Moraes Holschuh
2010-08-02  4:52                           ` Matt Mackall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1280703171.10108.35.camel@fermat.scientia.net \
    --to=calestyo@scientia.net \
    --cc=herbert@gondor.hengli.com.au \
    --cc=hmh@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox