pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: raf <raf@raf.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15911: Why no Bcrypt in pg_hba.conf?
Date: Wed, 17 Jul 2019 12:26:12 +0900
Message-ID: <20190717032612.GF2130@paquier.xyz> (raw)
In-Reply-To: <20190716232242.bvdu6w7jnk3fj237@raf.org>
References: <15911-a96c5fc2f29cdecc@postgresql.org>
	<87ftn5zze8.fsf@news-spur.riddles.org.uk>
	<9218.1563300642@sss.pgh.pa.us>
	<20190716232242.bvdu6w7jnk3fj237@raf.org>

On Wed, Jul 17, 2019 at 09:22:42AM +1000, raf wrote:
> Tom Lane wrote:
>> Thus, we aren't going to add stuff on a whim, and when we do add some
>> new mechanism, there has to be a really solid argument that it's a
>> *significant* advance over what we have.

Agreed.  Adding a new authentication method is a lot of work as this
extends the protocol, and still with SCRAM we are not done yet with
drivers not linked directly with libpq, and I have some experience in
the area.

> bcrypt is better than pbkdf2 but pbkdf2 is still good
> for the same reasons that bcrypt is good (brute force
> resistance). if you want bcrypt/scrypt/argon2, pbkdf2
> will probably be good enough. and some organisations
> may require pbkdf2 because it is NIST-approved while
> the others aren't.

Good, we use PBKDF2 for the password salting.  If it is possible to
justify that this has much more benefits in the current practices, and
that we are still able to stick with the latest RFC specifications,
there may be an argument to get something done and improved, but I
don't quite see what that would be and more importantly if we actually
need to do so.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (7+ messages)

Message-ID: <20190717032612.GF2130@paquier.xyz>
Permalink:  ../20190717032612.GF2130@paquier.xyz/
Also on:    postgresql.org/message-id/20190717032612.GF2130@paquier.xyz

 · 

reply

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-bugs@postgresql.org
  Cc: michael@paquier.xyz, raf@raf.org
  Subject: Re: BUG #15911: Why no Bcrypt in pg_hba.conf?
  In-Reply-To: <20190717032612.GF2130@paquier.xyz>
  References: <15911-a96c5fc2f29cdecc@postgresql.org> <87ftn5zze8.fsf@news-spur.riddles.org.uk> <9218.1563300642@sss.pgh.pa.us> <20190716232242.bvdu6w7jnk3fj237@raf.org> <20190717032612.GF2130@paquier.xyz>

* 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