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 1t5ojh-008kD8-El for pgsql-general@arkaria.postgresql.org; Tue, 29 Oct 2024 16:06:25 +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 1t5ojf-0000nl-Om for pgsql-general@arkaria.postgresql.org; Tue, 29 Oct 2024 16:06:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5oje-0000nd-Gl for pgsql-general@lists.postgresql.org; Tue, 29 Oct 2024 16:06:23 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5ojX-003TRU-I7 for pgsql-general@lists.postgresql.org; Tue, 29 Oct 2024 16:06:21 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 0EAFE13801D0; Tue, 29 Oct 2024 12:06:14 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 29 Oct 2024 12:06:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding: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=fm2; t=1730217974; x=1730304374; bh=+TNTXX+q6EHoSjrQfIVyxgikLgdyVa06pvaBnYoBxqQ=; b= vB6CPZMifclqD3XlTUIyNTLc8Qui4Sub/i5jCacvcNxUYUUZZdaGbR3H2hXLvuqh bicf0QXPB12cn8v9yHqynsHQ9de726lGaeQP72Cwaph/cSdaFUmboh6rbvrz2J4W eqaOI1/0hFIQLFHi+/Etzw2TQbFr15/T0R6yuzgOrCVjiK5vmpBNVBReaFqQ6KlM MOAUWnDL7R4Ar0iWvuITkogXtjBbFUdV+My3/asd1ZJkQfgCob7T5F3U1GcUiKrD LsMchFG+iocFpv32b2HyNjGWg/Ky1NAEpW57SIxMKdS9ICmSO0/WKmVSZh9/1KBo LdCh+2M9wjz6GWw93il+QA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm3; t=1730217974; x= 1730304374; bh=+TNTXX+q6EHoSjrQfIVyxgikLgdyVa06pvaBnYoBxqQ=; b=a 61HAwyXMDaeMk/icHFg6r+EjdQxPiIOfb/GjoBQomqd+G5TUDk8JVt0x1qTVjDj/ FGML6qEmnHIzH9MBsDKaEx6SKZd40m5JGc/LaTM7NUwJ4nnsL5ZVTu1MCrTOhcDq pRp89w3vU53sAtg9gUTB7BPK1xhRgiqZfs1ZZnEfD8zWXYqPgr9X+eRMF0xG/xpw t9S9HwX/53Wbgo1wCKkBEkpFN4oEM82/1ZM9G44GlTK0yhsNi2ByzAb6FgJG/N8m vowapXp3bhdus1akTfwy4KU6UW89egNvgwE6STqeYaadibkhkC6ueamfbWVEFtBE pyWiN/GlmKo5s10j5kCiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnheptdevkeevfeeltdehveeg teeivdfhkeffheeugffffeejgeejffdvleeukeegudetnecuffhomhgrihhnpehpohhsth hgrhgvshhqlhdrohhrghdpghhithhhuhgsrdgtohhmpdgrnhgurdhnvghtnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklh grvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepfedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtohepuggrnhhivghlseihvghsqhhlrdhsvgdprhgtphhtth hopehmrgdqthgvnhhgfhgvihesnhgvtgdrtghnpdhrtghpthhtohepphhgshhqlhdqghgv nhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Oct 2024 12:06:12 -0400 (EDT) Message-ID: Date: Tue, 29 Oct 2024 09:06:12 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Compatibility Issues with Npgsql and .NET Framework 3.5 after Upgrading to PostgreSQL 16.3 To: Daniel Gustafsson , =?UTF-8?B?6aasIOmosOmjmw==?= Cc: "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/29/24 04:01, Daniel Gustafsson wrote: >> On 29 Oct 2024, at 04:25, 馬 騰飛 wrote: >> >> Thank you very much for your reply. >> However, after installing PostgreSQL 16.4, our server still encounters the following error when connecting to the database, just like with version 16.3: >> “Only AuthenticationClearTextPassword and AuthenticationMD5Password supported for now. Received: 10”. >> Could you please advise how to resolve this error? Should we also update Npgsql? If Npgsql needs to be updated, to which version should we update it? > > I don't know the first thing about Npgsql so I can't offer any advice, but it > sounds like the problems is that the server wants to use SCRAM passwords and > your version of npgsql only support cleartext and md5. Changing the METHOD in > pg_hba.conf to md5 could fix the immediate problem perhaps but upgrading to a > version that support SCRAM seems the most appropriate (especially since md5 > passwords are likely going away soon). Potential issue with above per: https://www.postgresql.org/docs/current/auth-password.html "To ease transition from the md5 method to the newer SCRAM method, if md5 is specified as a method in pg_hba.conf but the user's password on the server is encrypted for SCRAM (see below), then SCRAM-based authentication will automatically be chosen instead." Therefore a roles password could still be in SCRAM. You would need to change the actual passwords also. According to the issue below Npgsql supports SCRAM: https://github.com/npgsql/npgsql/issues/5593 Which translates into Npgsql 3.2.7: https://github.com/npgsql/npgsql/releases/tag/v3.2.7 > > -- > Daniel Gustafsson > > > -- Adrian Klaver adrian.klaver@aklaver.com