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 1hU94R-0002qC-2J for pgsql-hackers@arkaria.postgresql.org; Fri, 24 May 2019 12:13:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hU94P-0005rN-TX for pgsql-hackers@arkaria.postgresql.org; Fri, 24 May 2019 12:13:09 +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 1hU94P-0005qU-GM for pgsql-hackers@lists.postgresql.org; Fri, 24 May 2019 12:13:09 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hU94M-0004rj-U0; Fri, 24 May 2019 12:13:08 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 5B5155F79F; Fri, 24 May 2019 08:13:06 -0400 (EDT) Date: Fri, 24 May 2019 08:13:06 -0400 From: Stephen Frost To: Joe Conway Cc: Tom Lane , "Jonathan S. Katz" , Peter Eisentraut , pgsql-hackers , Noah Misch , Magnus Hagander Subject: Re: initdb recommendations Message-ID: <20190524121306.GS2480@tamriel.snowman.net> References: <20190406180839.GA1921989@rfd.leadboat.com> <96389374-9454-d26d-6f79-7c7b15ec14bd@2ndquadrant.com> <81b36e8b-e27b-ab5d-c4f0-6493771bc0ee@postgresql.org> <9f46f065-ca80-f637-8c5d-a9877bcd5eab@postgresql.org> <10093.1558664907@sss.pgh.pa.us> <20190524023009.GL2480@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qXPE+6hUsFlDAc0e" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --qXPE+6hUsFlDAc0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Joe Conway (mail@joeconway.com) wrote: > On 5/23/19 10:30 PM, Stephen Frost wrote: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> "Jonathan S. Katz" writes: > >> > For now I have left in the password based method to be scram-sha-256= as > >> > I am optimistic about the support across client drivers[1] (and FWIW= I > >> > have an implementation for crystal-pg ~60% done). > >>=20 > >> > However, this probably means we would need to set the default passwo= rd > >> > encryption guc to "scram-sha-256" which we're not ready to do yet, s= o it > >> > may be moot to leave it in. > >>=20 > >> > So, thinking out loud about that, we should probably use "md5" and o= nce > >> > we decide to make the encryption method "scram-sha-256" by default, = then > >> > we update the recommendation? > >>=20 > >> Meh. If we're going to break things, let's break them. Set it to > >> scram by default and let people who need to cope with old clients > >> change the default. I'm tired of explaining that MD5 isn't actually > >> insecure in our usage ... > >=20 > > +many. >=20 > many++ >=20 > Are we doing this for pg12? In any case, I would think we better loudly > point out this change somewhere. Sure, we should point it out, but I don't know that it needs to be screamed from the rooftops considering the packagers have already been largely ignoring our defaults here anyway... Thanks, Stephen --qXPE+6hUsFlDAc0e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJc59/RAAoJEO1sijiDR2RV/N0QAIeG0LN+7Zf6xE7o8UqIrZrA SHZV2TLgnHgDC6tgwMDOhmN7x/nbU88aODLDvLb0I/ZhBSFjJqApoTn7s4VY+xoV wFcmmBawzKfZXGUwMesx4wmdbjG6FihHN4dcQJqX2Ctmvx2gltXjk77qTlZv6SBk MXQxocwVMHK592fbBLQ7Je62XSCyWq1FaXxPBPKHZfr+Sz8ntQvOwLvWHtKC4uFE Vo6MqYDytCyJatIWbI04pxEa9LZS/f59/J8YpLYLAK5Xg4QIx96W+9IlgStixMqj h4UzGsa5NxCqDMgH+ac4RVp26Mkj4xOuqSe2v1e0xyX+VW5z0NgwtEoNslKWA2Vd ZvLshX28ddsONq++BdXUCxs4yrDL/aj9Sb54zhAqaynn5b4tXT4XmlyWgRhHzMXX nbObCvmjEc+Br0z9Ckz/cSgHG8eQtpjF595oY9lMZZzn2rZWz1DLaHjO1DDWN94a Nwx5cm5CcriJTd97Xcy2/Y8YJpksqbqEsiBZ+q2xaDqcSoDrAYGs68F4MndY3c9h vc6KtqILX5VVEiEv5ougcSff8x15YXXL2lq1sRs4/0Ge5yWeRetkDxtK5CQDx8Oo v0i+TwVLwLFF7wqzOa6jsVQGKnPRWAaWigyN+CkeHmWzxQsQY//Y8bzf9waxboc2 5fBZ8DygLiGcj5ER8CMU =Ybq3 -----END PGP SIGNATURE----- --qXPE+6hUsFlDAc0e--