pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-bugs@lists.postgresql.org
Cc: github@marco.sulla.e4ward.com
Subject: Re: BUG #15911: Why no Bcrypt in pg_hba.conf?
Date: Tue, 16 Jul 2019 14:10:42 -0400
Message-ID: <9218.1563300642@sss.pgh.pa.us> (raw)
In-Reply-To: <87ftn5zze8.fsf@news-spur.riddles.org.uk>
References: <15911-a96c5fc2f29cdecc@postgresql.org>
	<87ftn5zze8.fsf@news-spur.riddles.org.uk>

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "PG" == PG Bug reporting form <noreply@postgresql.org> writes:
>  PG> Can you please add `bcrypt` as method option?

> Not unless it gets added to the SCRAM specification.

> Note that our primary goal here is to provide a secure and standard
> challenge-response authentication mechanism, not to provide random
> alternate algorithms for password storage.

Worth noting here is that for us, the price of an additional
authentication mechanism is very high, because it's not just a matter
of adding some code to the server.  Client-side libraries also need to
be taught about it, and most of those are not maintained by the core
PG project.  So it takes years to make anything happen --- the
addition of SCRAM is still a work in progress, for example.

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.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <9218.1563300642@sss.pgh.pa.us>
Permalink:  ../9218.1563300642@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9218.1563300642@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, github@marco.sulla.e4ward.com
  Subject: Re: BUG #15911: Why no Bcrypt in pg_hba.conf?
  In-Reply-To: <9218.1563300642@sss.pgh.pa.us>
  References: <15911-a96c5fc2f29cdecc@postgresql.org> <87ftn5zze8.fsf@news-spur.riddles.org.uk> <9218.1563300642@sss.pgh.pa.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