From: Joe Conway <mail@joeconway.com>
To: Matthew D. Fuller <fullermd@over-yonder.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Wim Bertels <wim.bertels@khleuven.be>
Cc: pgsql-admin@postgresql.org
Subject: Re: md5 collision generator
Date: Wed, 16 Nov 2005 13:35:22 -0800
Message-ID: <437BA61A.7030400@joeconway.com> (raw)
In-Reply-To: <20051116174309.GK20846@over-yonder.net>
References: <437B3358.8040007@khleuven.be>
<5967.1132154949@sss.pgh.pa.us>
<20051116174309.GK20846@over-yonder.net>
Matthew D. Fuller wrote:
> On Wed, Nov 16, 2005 at 10:29:09AM -0500 I heard the voice of
> Tom Lane, and lo! it spake thus:
>
>>The existence of this algorithm is disturbing, since it implies that
>>MD5 is weaker than people thought,
>
> It occurs to me that, controlling everything that would be poking into
> that part of the database, it would be possible to store the password
> with several DIFFERENT hash algorithms, which would save us in the
> future from any of them being easily crackable (or even ALL of them,
> unless you can somehow create a collision across them all
> simultaneously). It seems that even with 2 or 3 weak hashes, that
> might be safer long-term than with just 1 strong hash. I s'pose it
> would add a little cost to the connection-establishing process...
We really should be using an HMAC instead of a simple hash anyway. I
don't believe, even given the attacks available on MD5 and SHA1, that
anyone has theorized or demonstrated any weakening of HMACs based on
these hash algorithms (someone please correct me if they know otherwise).
Joe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mail@joeconway.com, fullermd@over-yonder.net, tgl@sss.pgh.pa.us, wim.bertels@khleuven.be
Subject: Re: md5 collision generator
In-Reply-To: <437BA61A.7030400@joeconway.com>
References: <437B3358.8040007@khleuven.be> <5967.1132154949@sss.pgh.pa.us> <20051116174309.GK20846@over-yonder.net> <437BA61A.7030400@joeconway.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox