Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 18:55:18 +0200 (CEST)
From:      Damian Weber <dweber@htw-saarland.de>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-security@freebsd.org, Gleb Kurtsou <gleb.kurtsou@gmail.com>, "Simon L. B. Nielsen" <simon@freebsd.org>
Subject:   Re: Default password hash
Message-ID:  <alpine.BSF.2.00.1206101826300.2189@magritte.htw-saarland.de>
In-Reply-To: <20120610145351.GA1098@reks>
References:  <86r4tqotjo.fsf@ds4.des.no> <6E26E03B-8D1D-44D3-B94E-0552BE5CA894@FreeBSD.org> <20120610145351.GA1098@reks>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2065465572-899095623-1339347323=:2189
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT



> On 8 Jun 2012, at 13:51, Dag-Erling Smørgrav wrote:
> 
> > We still have MD5 as our default password hash, even though known-hash
> > attacks against MD5 are relatively easy these days. 

*collision* attacks are relatively easy these days, but against 1 MD5, 
not against 1000 times MD5

w.r.t. password hashes, a successful preimage attack would be threatening,
which publications are you referring to?

I found one preimage attack on reduced MD5, but it's theoretical (2^96 steps)
"Preimage Attacks on 3-Pass HAVAL and Step-Reduced MD5*"
eprint.iacr.org/2008/183.pdf


> > We've supported
> > SHA256 and SHA512 for many years now, so how about making SHA512 the
> > default instead of MD5, like on most Linux distributions?

there is a NIST hash competition running, the winner will soon be announced
(and it won't be SHA256 or SHA512 ;-)
http://csrc.nist.gov/groups/ST/hash/timeline.html
so my suggestion would be to use all of the finalists - especially
the winner - for password hashing
    * BLAKE
    * Grøstl 
    * JH
    * Keccak
    * Skein
see, for example, http://www.nist.gov/itl/csd/sha3_010511.cfm

--
Damian Weber, <http://www-crypto.htw-saarland.de>;
--2065465572-899095623-1339347323=:2189--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206101826300.2189>