Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnozu-0005BC-Fh for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Mar 2017 16:08:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cnozt-0005FF-SF for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Mar 2017 16:08:29 +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 1cnozs-0005E5-IF for pgsql-hackers@postgresql.org; Tue, 14 Mar 2017 16:08:28 +0000 Received: from 104-190-1-44.lightspeed.sndgca.sbcglobal.net ([104.190.1.44] helo=joeconway.com) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnozp-0000px-Jq for pgsql-hackers@postgresql.org; Tue, 14 Mar 2017 16:08:27 +0000 Received: from [72.214.29.243] (account jconway@joeconway.com HELO [192.168.4.41]) by joeconway.com (CommuniGate Pro SMTP 6.1.4) with ESMTPSA id 18107828; Tue, 14 Mar 2017 09:08:20 -0700 Subject: Re: scram and \password To: Tom Lane References: <29551.1489459676@sss.pgh.pa.us> <39228d95-2560-19e4-d907-b1fd5a75fd23@joeconway.com> <6425.1489506016@sss.pgh.pa.us> Cc: Heikki Linnakangas , Robert Haas , Michael Paquier , Jeff Janes , pgsql-hackers From: Joe Conway Openpgp: id=4EA5B4659ED59CC9538139A5332B7E68B699434A Message-ID: Date: Tue, 14 Mar 2017 09:08:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <6425.1489506016@sss.pgh.pa.us> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dCBAfknUvaRpDEv0jRk0M349jSiX22awo" X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dCBAfknUvaRpDEv0jRk0M349jSiX22awo From: Joe Conway To: Tom Lane Cc: Heikki Linnakangas , Robert Haas , Michael Paquier , Jeff Janes , pgsql-hackers Message-ID: Subject: Re: [HACKERS] scram and \password References: <29551.1489459676@sss.pgh.pa.us> <39228d95-2560-19e4-d907-b1fd5a75fd23@joeconway.com> <6425.1489506016@sss.pgh.pa.us> In-Reply-To: <6425.1489506016@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 03/14/2017 08:40 AM, Tom Lane wrote: > Joe Conway writes: >> On 03/14/2017 03:15 AM, Heikki Linnakangas wrote: >>> It would be a lot more sensible, if there was a way to specify in >>> pg_hba.conf, "scram-or-md5". We punted on that for PostgreSQL 10, but >>> perhaps we should try to cram that in, after all. >=20 >> I was also thinking about that. Basically a primary method and a >> fallback. If that were the case, a gradual transition could happen, and >> if we want \password to enforce best practice it would be ok. >=20 > Why exactly would anyone want "md5 only"? I should think that "scram > only" is a sensible pg_hba setting, if the DBA feels that md5 is too > insecure, but I do not see the point of "md5 only" in 2017. I think > we should just start interpreting that as "md5 or better". That certainly would work for me. Joe --=20 Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development --dCBAfknUvaRpDEv0jRk0M349jSiX22awo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYyBVzAAoJEDfy90M199hlpsIP/2ePqilqWnZWwUBRZi6NbFQ/ S5toyMJAGLOV0tv5K5W1ILe0qnijtI7ZGCSPeaH5IZaZyWX4bpMWFCdrCVqXTEuV vbF5vWQLWasEHWUNbJaAsFx8Pi7w86+uHAj0MjDpOF3BZUWNvrYkFsI9E3mcBUyE Iu2CYXnBNay2MZ9mZGofOARbtQi0cclBCBqLF6ixyIbtob3BGfTXLwyXHHMppcsM JjEmUa9rXYTa0WF/hR8dZ4Cbwid0H8U8FfrBkjJOnshJSQ8ZJRSZKhBt2pwmuvLP m7xQ/rhI/wMObgrAZDDE+Se/IHpMlmmDGg2m3UuXa21Jdd5UqfqAs2agQ0BeN7+v Vee0EPkJ40z45zVIyFGT1RwPoF5LIpjYsfxyLla3qFxPIVRwzW2OLBw4pmiNU2yj 00Pj074qDoKHhmxrDsh4BFIeAWKAguM78MVlOBX2P0NA4CZbUhpRp1lJR8jii/lO NFaJkxgQmO8abO8U2JsfAMWayL0udHJXNBdJnSzKA1jK95zstBtHoRus8q/sy2VS yQJZa81o13LOE9ofaTJcoEqEPWXevret6Soe9ard/dJXKs3r8726POWtkXx2C1D9 y6BiMmLotPgxItzZ4ZE6s2Gp9K9vwDSE9PYFOeVnqQHkrYFYqFOvubfWA3BWN8iM rAvLqRcNHf/G/uQdvw3/ =BGo0 -----END PGP SIGNATURE----- --dCBAfknUvaRpDEv0jRk0M349jSiX22awo--