Re: [TLS] Last Call: draft-hoffman-tls-additional-random-ext (Additional Random

Dean Anderson <dean@av8.com> Wed, 28 April 2010 12:59 UTC

Return-Path: <dean@av8.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4D5393A6895; Wed, 28 Apr 2010 05:59:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.611
X-Spam-Level:
X-Spam-Status: No, score=-0.611 tagged_above=-999 required=5 tests=[AWL=-0.612, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8ByGp-+ejB4o; Wed, 28 Apr 2010 05:59:06 -0700 (PDT)
Received: from cirrus.av8.net (cirrus.av8.net [130.105.36.66]) by core3.amsl.com (Postfix) with ESMTP id 01A903A6BE5; Wed, 28 Apr 2010 05:59:05 -0700 (PDT)
Received: from citation2.av8.net (citation2.av8.net [130.105.12.10]) (authenticated bits=0) by cirrus.av8.net (8.12.11/8.12.11) with ESMTP id o3SCwpbe016672 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 28 Apr 2010 08:58:51 -0400
Date: Wed, 28 Apr 2010 08:58:50 -0400
From: Dean Anderson <dean@av8.com>
X-X-Sender: dean@citation2.av8.net
To: "Kemp, David P." <DPKemp@missi.ncsc.mil>
In-Reply-To: <201004271250.o3RCoOYg029954@stingray.missi.ncsc.mil>
Message-ID: <Pine.LNX.4.44.1004280846170.15743-100000@citation2.av8.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: ietf@ietf.org, tls@ietf.org
Subject: Re: [TLS] Last Call: draft-hoffman-tls-additional-random-ext (Additional Random
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Apr 2010 12:59:07 -0000

The 'entropy pool' of /dev/random in Linux isn't really random. Its
based on keyboard input and possibly other semi-random or entirely
predictable sources.

The 3 criteria are for PRNGs. I don't dispute that /dev/random meets
these criteria; only the assertion that its better than a PRNG or that
its truly random.

It fails to be truly random by depending on non-random processes that
could be identified and predicted and/or manipulated by an attacker.  I
suggest you read resources on creating one-time pads. Its very, very
hard to get truly random numbers, and without truly random numbers, your
one-time pad will fail to be 'one-time'.  There is anecdote (I don't
know if it actually happened) of a one-time pad created by rolling dice
being compromised.

		--Dean


On Tue, 27 Apr 2010, Kemp, David P. wrote:

> I'm not sure why an entropy pool would not be considered "truly random"
> by any of the three criteria you cited.  If there is insufficient
> physically-generated entropy (such as on an appliance with no hard
> drives, no user timing input, and all other sources observable or
> predictable) then the process is not applicable - it cannot create
> entropy by magic.
> 
> But by what criteria would it fail to be truly random (albeit at a much
> lower rate than dedicated hardware) on an uncompromised user desktop?
> 
> Dave
> 
> 
> -----Original Message-----
> From: Dean Anderson [mailto:dean@av8.com] 
> Sent: Tuesday, April 27, 2010 6:25 AM
> To: Kemp, David P.
> Cc: ietf@ietf.org; tls@ietf.org
> Subject: Re: [TLS] Last Call: draft-hoffman-tls-additional-random-ext
> (Additional Random
> 
> > http://en.wikipedia.org/wiki/Hardware_random_number_generator
> 
> The link you cite above is an example of the extra hardware that most
> people don't have.
> 
> > http://en.wikipedia.org/wiki//dev/random
> 
> The link you cite above isn't a truly random number generator.
> 
> 		--Dean
> 
> 
> 

-- 
Av8 Internet   Prepared to pay a premium for better service?
www.av8.net         faster, more reliable, better service
617 256 5494