From: Bruce Momjian <bruce@momjian.us>
To: ktm@rice.edu <ktm@rice.edu>
Cc: lst_hoe02@kwsoft.de
Cc: pgsql-admin@postgresql.org
Subject: Re: User password encryption using a stronger hashing function?
Date: Fri, 10 Feb 2012 19:59:13 -0500
Message-ID: <20120211005913.GB25379@momjian.us> (raw)
In-Reply-To: <20111228142554.GA5132@staff-mud-56-27.rice.edu>
References: <47AB18AC0F23934383F2BBA7EE3D8D742281BB698C@DC-US1MBEX4.global.avaya.com>
<47AB18AC0F23934383F2BBA7EE3D8D742281EB9415@DC-US1MBEX4.global.avaya.com>
<20111222104153.10445qh7dzbv35s0@webmail.kwsoft.de>
<4EF3F318.8080706@ringerc.id.au>
<20111228111322.94923ucixnhfw06c@webmail.kwsoft.de>
<20111228142554.GA5132@staff-mud-56-27.rice.edu>
On Wed, Dec 28, 2011 at 08:25:54AM -0600, ktm@rice.edu wrote:
> > >If you have a need for stronger hashing functions you might want
> > >to contact one of the consultants who does contract work on
> > >PostgreSQL development and find out what'd be involved in funding
> > >the development of the feature. Think about why you need it first,
> > >though; what threat(s) are you trying to protect from?
> >
> > The reasoning is that if your Database content get lost your
> > passwords are in danger to be decrypted todays with md5 hash and
> > most of the time passwords are reused at other places. With stronger
> > hashes at least the password itself would be somewhat safe. But as
> > said in many environment the application does not use database users
> > anyway, but does its own user management with hopefully stronger
> > encryption of the passwords.
> >
> > Thanks
> >
> > Andreas
> >
> Exactly. You need to use GSSAPI or something else to secure it. Then
> the passwords are not available to be decrypted in the database and
> you can use much more extensive encryption for them.
The limitations of MD5 do not apply to the way we use MD5 to store
passwords in Postgres; see:
http://archives.postgresql.org/pgsql-hackers/2008-01/msg00846.php
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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: bruce@momjian.us, ktm@rice.edu, lst_hoe02@kwsoft.de
Subject: Re: User password encryption using a stronger hashing function?
In-Reply-To: <20120211005913.GB25379@momjian.us>
References: <47AB18AC0F23934383F2BBA7EE3D8D742281BB698C@DC-US1MBEX4.global.avaya.com> <47AB18AC0F23934383F2BBA7EE3D8D742281EB9415@DC-US1MBEX4.global.avaya.com> <20111222104153.10445qh7dzbv35s0@webmail.kwsoft.de> <4EF3F318.8080706@ringerc.id.au> <20111228111322.94923ucixnhfw06c@webmail.kwsoft.de> <20111228142554.GA5132@staff-mud-56-27.rice.edu> <20120211005913.GB25379@momjian.us>
* 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