Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egNjB-0007fb-Da for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 04:41:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egNjA-0006vp-E2 for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 04:41:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1egNjA-0006vg-8N for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 04:41:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egNj7-0006NJ-OU for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 04:40:59 +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 w0U4erZL029277; Mon, 29 Jan 2018 23:40:53 -0500 From: Tom Lane To: Meirav Rath cc: Tomas Vondra , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #15035: scram-sha-256 blocks all logins In-reply-to: References: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org>,<660079bb-b468-f41f-928e-1b3a46e17ae9@2ndquadrant.com> Comments: In-reply-to Meirav Rath message dated "Tue, 30 Jan 2018 04:12:37 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29275.1517287253.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Jan 2018 23:40:53 -0500 Message-ID: <29276.1517287253@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Meirav Rath writes: > I set up the password hashing method to scram and now no one can login t= o the server and that's not a bug?? You told it to lock out md5 passwords, and it did. Try changing the passwords to scram type *first*. Note where it says in the fine manual: To ease transition from the md5 method to the newer SCRAM method, if md5 is specified as a method in pg_hba.conf but the user's password on the server is encrypted for SCRAM (see below), then SCRAM-based authentication will automatically be chosen instead. regards, tom lane