Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YqNKM-0003O6-EU for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2015 15:03:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YqNKL-00038d-4T for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2015 15:03:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YqNKK-00038X-3Y for pgsql-hackers@postgresql.org; Thu, 07 May 2015 15:03:04 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YqNKC-00062M-IQ for pgsql-hackers@postgresql.org; Thu, 07 May 2015 15:03:02 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 059D25F7A3; Thu, 7 May 2015 11:02:54 -0400 (EDT) Date: Thu, 7 May 2015 11:02:54 -0400 From: Stephen Frost To: Josh Berkus Cc: Tom Lane , Andrew Dunstan , Robert Haas , Alvaro Herrera , Volker =?iso-8859-1?Q?A=DFmann?= , "pgsql-hackers@postgresql.org" Subject: Re: Disabling trust/ident authentication configure option Message-ID: <20150507150254.GA30322@tamriel.snowman.net> References: <20150506144724.GU2523@alvh.no-ip.org> <554A720F.1030706@dunslane.net> <554A797B.1010101@dunslane.net> <6837.1430946793@sss.pgh.pa.us> <554A9898.9040407@agliodbs.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/F9JGmC61DzSMvII" Content-Disposition: inline In-Reply-To: <554A9898.9040407@agliodbs.com> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 10:58:34 up 48 days, 20:47, 26 users, load average: 0.01, 0.07, 0.12 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.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 --/F9JGmC61DzSMvII Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Josh Berkus (josh@agliodbs.com) wrote: > On 05/06/2015 02:13 PM, Tom Lane wrote: > > Andrew Dunstan writes: > >> (Personally I think there's a very good case for completely ripping ou= t=20 > >> RFC1413 ident auth. I've not seen it used in a great long while, and= =20 > >> it's always been a security risk.) > >=20 > > FWIW, I agree with that --- or at least making it a not-built-by-default > > option. >=20 > I have seen it in the last year, actually, but only once, which even for > my personal pool represents < 1% usage. So ... >=20 > > Probably the right time to make any such changes is at the same time > > we add the proposed more-secure-than-MD5 password option. >=20 > +1 to kill off ident when we replace MD5, since users will need to be > beaten over the head about changes to auth methods anyway. I realize it's not going to be popular, but I'd love to have 'trust' only allowed if a command-line option is passed to the postmaster or something along those lines. It's really got no business being an option for a network service like PG. I'd suggest ripping it out entirely but I'm sure that'd be even less popular and Andrew does make a good point that our single-user-mode is still so terrible that we have to support a multi-user-mode with zero auth, to deal with certain kinds of breakage/corruption. The fix for that is having a real single-user mode that is usable, as has been discussed previously, but we don't seem to be making much progress in that direction, unfortunately. Thanks! Stephen --/F9JGmC61DzSMvII Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVS36eAAoJEO1sijiDR2RV7lYQALf9UR9LB0GBRchJicMvMZTE KdQQM3ZNxVwyCsLCRRqMxnEUcgGYCR1/ZKiG/PF1I8sWwwhizUGVmm5VDPQccYg/ iBcpI/qknlbTAXrXWuq/R8dUrVSsNpySS8LAKrcmAUIeVingzATxwZVa6xbPpWXc imMYGMJchltC/bwg4cJGMqQAdBH+ENJLlVcHzu4E5QzR6AZnoIeexs/X6uT9+cQH fes8CKLTOe1+ORA7bVIaX8+HWRfNsWrO1ASjhLMKrDySJC3RslOYBAdZDbZOCYvM 2pU3qwZ3va1CNKAmUWpT2QNYzyPux3sD5oWWOjjKV0v8JKjrxr6a0YEDQhJrlG6h wsR6tmfR+iUzQtGQAfXi9rzedbCDFzZau3BXUIPaBbiQevSqcnPddZ+rvemaPonU H0xdaWdEYjXCLR5F0eQEgKFvFxivhqI8kjm5bq43BSiVDWZ9iDppDslJtgjwayjd wy+nUAi4iM2zlUUrIR+nFX8gbj9DQi9HT6edwcOjoewR4A/2stLWfno/gFLxyuI+ gBIKX1CiVDs7JUdhgpw8hb26k1MGRMfq0M1uu8wHjJ1hkQ1z3xL7j0UCgmR96P7b xIQyW07bcL5YWfmOz1JuzM8ydGdHJnJuj6aTqcPo8UDM17C1BOq0X42ql4MAE+fG A34H+e11KcjlXes5qMct =ddp/ -----END PGP SIGNATURE----- --/F9JGmC61DzSMvII--