Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwJCS-0002wP-T4 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2022 07:55:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nwJCR-0001Tr-79 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2022 07:55:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwJCP-0001Sp-OC for pgsql-hackers@lists.postgresql.org; Wed, 01 Jun 2022 07:55:26 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwJCH-0001eo-CG for pgsql-hackers@postgresql.org; Wed, 01 Jun 2022 07:55:25 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5E1F45C0296; Wed, 1 Jun 2022 03:55:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 01 Jun 2022 03:55:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1654070114; x=1654156514; bh=KEbtY/lHkO ubAnRnJGD3bTGo3fX/PLrnWy79ZMioxjo=; b=o7fnFKxi2dOHMW16gDyQTOUcMW XW/XkKUMfC9fbpuM90SdI8OUHGeE6YQUphG5KJR38nGZCBXK7mlD3bIjX7fcdZHN y0zz2zHXvCmqnZECA3lsuiRBM63OBawCtjkquHCyJIji9O1PtV3rvz3UHvUbF3aF h98sL4meQCglqG3TRrIi8SJY1BV7ftSzmzS61WgAV9prXOU+AyHcyIMbk70+GP52 l5xwFaTvMzpyI+8Q8bww9/sEvyuOqUb90LfWykF6aO7Haad+SDi8Xe10cn8shkdv 2BLf9yf83S0mKQaHuGWd1TekLQzbiXSzlsDFbhjt4tMlzxFWJlN8gmlv4Amw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1654070114; x=1654156514; bh=KEbtY/lHkOubAnRnJGD3bTGo3fX/ PLrnWy79ZMioxjo=; b=aYP24ih5rrnLiP8HvfKPM9NfuZpRbrP1epSjsno9WSQi Z4S7xcItcqu7RLQ1iw13rzJHNJciv4YK5pLrFZpnCEJfm73U8kIY8L7Tr6pEwfuF rquIPSf5hMzJ0YCnr3lUo8B2qEYVqTFrHGk1vuedzNuTtOOCeZVWCxi5MTdX7ypK IlafmkXmNcTiKCDlsnx7npy6shoRbnP9UAvQJtnwObCy/3fr3rDyKd58pMLQtbd1 6DIbQOq2ZmLKxOK7Y8F7ubLBswEq5NQArdIPjGM113k+5mtz/82ggX2blhuWyVbX ZhgnoX0EpXgGUtXFqf/+jUcrOfT8+sDxf1Su9SglpA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeelgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Jun 2022 03:55:13 -0400 (EDT) Date: Wed, 1 Jun 2022 16:55:09 +0900 From: Michael Paquier To: Jacob Champion Cc: "pgsql-hackers@postgresql.org" Subject: Re: [PoC] Let libpq reject unexpected authentication requests Message-ID: References: <9e5a8ccddb8355ea9fa4b75a1e3a9edc88a70cd3.camel@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IQRZHi9g+JPO6mj6" Content-Disposition: inline In-Reply-To: <9e5a8ccddb8355ea9fa4b75a1e3a9edc88a70cd3.camel@vmware.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IQRZHi9g+JPO6mj6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 05, 2022 at 01:04:05AM +0000, Jacob Champion wrote: > the connection string, and libpq will fail the connection if the server > doesn't use that method. >=20 > (This is not intended for PG15. I'm generally anxious about posting > experimental work during a commitfest, but there's been enough > conversation about this topic recently that I felt like it'd be useful > to have code to point to.) Jacob, do you still have plans to work on this patch? -- Michael --IQRZHi9g+JPO6mj6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmKXG10ACgkQnvQgOdby QH3OwA/+KB/RmfwnTDSHkMjkevyCdJE/6+Ha1d5T81Vcrl/BhKxzR33aMOB9/1l0 pTy9vlajE9B7LLT5rYBoz+WoEvrM08X4rBt19DL3BguYP1QuTkUze4jiPx7KGDPc LBLT8vyXvME6Cy4TXd/GsPK22xT8BIkFOedivm51lettJTX4fhTMPawgUziaiVmt 0GyvzENhmj0auqKdO/DMdkIGehxcayydVoJisO57j0h/+4x2t13aw9sFDMcGZlNH xQBToUdO9yfeZLu808D9Od6MmP8iNrVPBC2lpCSrwyPJkysKzPAf9QCKGTZF+lhz cVZTZPUNhrivk0FzXI8K3X+zbwv7y9B5y+GjR4OXQDnA3LOOzBQS4T7HIK97SSoI A3KUeDNV8mYvz+99SSRvIQKiK0aRTYgeniUTp1J6a7BXcdix+r7QRHCfTVVc+v4E j6+jS7ckqAH/Fj3HGVluALEKZbu078UjMu2utQKZoWi0nbS5DYFjd5u8FluwEsMw sUwAxZziuyfO5usARPt3udAqNUQOcIKVp/4bax9vbtB3dNLVvniKADyUZBzdXaB7 U6j+IbSjNQTQ361q/KB5+i7TzspV6+teUenb5QtqKt8PAhFzIaWwAiqv1bqbP/V/ 6By7T5X8B3gqxr0deyhEats0+TCRIogBN1YWiCt/ufuHEH4ujWE= =8udb -----END PGP SIGNATURE----- --IQRZHi9g+JPO6mj6--