Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tORpE-006MsF-EN for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Dec 2024 01:29:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tORpC-0038ov-Oe for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Dec 2024 01:29:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tORpC-0038mn-0k for pgsql-hackers@lists.postgresql.org; Fri, 20 Dec 2024 01:29:06 +0000 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tORp7-000fv3-KA for pgsql-hackers@postgresql.org; Fri, 20 Dec 2024 01:29:05 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id C90B91140182; Thu, 19 Dec 2024 20:28:58 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Thu, 19 Dec 2024 20:28:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734658138; x=1734744538; bh=ufxFq1JcHK rJHYi2tO7Shu6duT50H7UWVMsvh04sc08=; b=mzkRnKOq4YS7YffYOkSUB2Z106 uZjvRoptVyi7gwhd1TAoG1raA8VvqxxcXXAjHd/WBncVw95BGCWhFO7H0wvQsbOM Ewwp5j2urs/YQvuuIFDkqxXaCG351OcxBipMwO1JHepMmVcgN8iz0LyC2Ej9RHEK fMc8Vj7dfL47rIT2Q/lfolLogQdoC9O8TMvlFDfMEM51HE9krVuzkurI4Pim1CVV LHlG7jpUhAZfBp35QZj+YHMGt2AeOCJs6iXecWrtpLj82Zrd8Xn841a6Y3D2m4x2 52MRKeY5kv2s4HQuouJSzDNrvMQVv8KK9NOyjF4HQEvK3PIlenMNw1+3moVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734658138; x=1734744538; bh=ufxFq1JcHKrJHYi2tO7Shu6duT50H7UWVMs vh04sc08=; b=4gXBSFwWjdVVPw2NEgXbNh7kpqF/9GoZB1mUBH1cRn5rXqrcnKj QJQ+NpEhGsd3bt/tA+LlMEHqbhKOz3bL11ssvZz3yvNQGiWVSx5ECfRTvs8k5qNl p1O2E6Q51syV5kwTAw692BQtvxFurznpXaMk2KV8emiX820/h8Ot3KI/TOkDz4jc lBdgJ1mupoA9TO9srC+ke6zBPtHLLGOPIECHQx/eF+Bcgbxg4B/j+8LlNArJK/k3 BBN4elK07vxLcz3vI5yuA0IpvIKBpNwUQXeAawfCPu6GQziJvyH4MmWu38O9cHTX wEeWZXzwFp7gXRhTdJOhPA3MI8ltCzbue2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddtuddgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhf gggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteet gedvvdevueeiudduveekffevvedtudelheellefftddvgeefgedtjeettdeknecuffhomh grihhnpehpohhsthhgrhdrvghsnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtg hpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhgrtghosgdrtghh rghmphhiohhnsegvnhhtvghrphhrihhsvggusgdrtghomhdprhgtphhtthhopehpghhsqh hlqdhhrggtkhgvrhhssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegrlhgv khhsrghnuggvrhesthhimhgvshgtrghlvgdrtghomhdprhgtphhtthhopehpvghtvghrrd gvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvuggsrdgtohhmpdhrtghpthhtohep uggrvhhiugdrghdrjhhohhhnshhtohhnsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Dec 2024 20:28:55 -0500 (EST) Date: Fri, 20 Dec 2024 10:28:30 +0900 From: Michael Paquier To: Jacob Champion Cc: "pgsql-hackers@postgresql.org" , Aleksander Alekseev , Peter Eisentraut , "David G. Johnston" Subject: Re: [PoC] Let libpq reject unexpected authentication requests Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ENreoSMGTxHRhNux" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ENreoSMGTxHRhNux Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 19, 2024 at 05:02:19PM -0800, Jacob Champion wrote: > I've taken another shot at this over on the OAuth thread [1], for > those who are still interested; see v40-0002. It's more code than my > previous attempt, but I think it does a clearer job of separating the > two concerns. >=20 > [1] https://postgr.es/m/CAOYmi+=3DFzVg+C-pQHCwjW0qU-POHmzZaD2z3CdsACj=3D= =3D14H8kQ@mail.gmail.com Ah, thanks for the poke on this one. I'm wondering if v40-0002 and v40-0001 should be in reverse order, but that's a discussion to keep on the other thread, of course. -- Michael --ENreoSMGTxHRhNux Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdkyD4ACgkQnvQgOdby QH1YQg//YNww07B/bOFF+R6ovxQATKddgSS7Yfk50B76SB6N5TDLyWWWSGVYJr0s QtF8nkiHxBC4fZ+mziGR2QiB0YP0ikgPGE0sHswBt9pWNtX5KU3VW7i6MQ2HZHP3 YXyLLJRs3Hi2OKbkaA2gfAHejphvVRKgnwaKHXT6SKAG7+hiDrzfY08RahWRA2p/ DkV9GRV5pxVjjER3i0JbHj8d6qLn3A71q/KijyhojVQBt4iezy3ifxJhUwT/kl3Q Ijzk5DMq+MxXfTrjuTyq63vxY54uPQ7fORTwEDJTdeGg8nWIheyFUyj7N6ea0bqK EZPph3g8rNUVyov87F1PB2CFM278mDKaekemVExNB02ums2abrgw5y3mIC2KL1BN G1NdLggwPnqVU7hFpUCZZRLTecnDX4/KtMZCgG1CmP42eCSNJiQ4GWBceQq/IXS3 mOQB3AkVLTj4jVATKHAIUNFpPiL5Y+yrUnxZ6BRn4SuWntzqBvG40J29OhypEDZY oRa4AK68XBgjZGvCOZ2h30ciPHaPg4NtDWtyzWwv/wifoJYogjtjEloudxuR/78W zcwcEJ3AdivSq9oOsISRZZFJSuVL4PgyAuQ9eY//m5oQ6k7wZ0Q958fS8PfMcQhy 5xIFE3CXcKmmjDlyoPKIdL1uR5kk2fdsRzHpUYhenZyZL/JJySc= =x3RO -----END PGP SIGNATURE----- --ENreoSMGTxHRhNux--