Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnRua-00075a-Cw for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Jul 2019 18:10:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnRuZ-000635-8p for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Jul 2019 18:10:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnRuY-00062y-Ub for pgsql-bugs@lists.postgresql.org; Tue, 16 Jul 2019 18:10:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hnRuW-0001wd-Kq for pgsql-bugs@lists.postgresql.org; Tue, 16 Jul 2019 18:10:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x6GIAglD009219; Tue, 16 Jul 2019 14:10:42 -0400 From: Tom Lane To: Andrew Gierth cc: pgsql-bugs@lists.postgresql.org, github@marco.sulla.e4ward.com Subject: Re: BUG #15911: Why no Bcrypt in pg_hba.conf? In-reply-to: <87ftn5zze8.fsf@news-spur.riddles.org.uk> References: <15911-a96c5fc2f29cdecc@postgresql.org> <87ftn5zze8.fsf@news-spur.riddles.org.uk> Comments: In-reply-to Andrew Gierth message dated "Tue, 16 Jul 2019 18:36:54 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9217.1563300642.1@sss.pgh.pa.us> Date: Tue, 16 Jul 2019 14:10:42 -0400 Message-ID: <9218.1563300642@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Gierth writes: > "PG" == PG Bug reporting form 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