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 1sz1DB-003jJR-GF for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2024 22:00:46 +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 1sz1D9-008F6T-Eg for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2024 22:00:43 +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 1sz1D8-008EzF-GT for pgsql-hackers@lists.postgresql.org; Thu, 10 Oct 2024 22:00:43 +0000 Received: from resdmta-h2p-564583.sys.comcast.net ([2001:558:fd02:2446::d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sz1D1-000PWA-2c for pgsql-hackers@postgresql.org; Thu, 10 Oct 2024 22:00:39 +0000 Received: from resomta-h2p-555031.sys.comcast.net ([96.102.179.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resdmta-h2p-564583.sys.comcast.net with ESMTPS id ywessKnkfeYKgz1Cqs3cRV; Thu, 10 Oct 2024 22:00:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1728597624; bh=0fSufapHzYD4JofXbnYObwmZc/25Gs552YPL4bhvuOQ=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=UZKJqvUYCnouwuiG3PObpj5fubDlz2ECjGGiSJDJAKzyHERY/5d/I1Fmb2NCj7Nzr b5WWcWb1i+YAFlAslAcHbJfCk5INcy7VEKRlQZ0xJBlBJQ90tamjKEPudbkW9IuDVy lf7AcS8Lv4J4N/+G3XhbI37LAHijT8f/zttxpagPg15EHPS90Abc36aQRYYs9cYh4W 8vePVgNvAL0E77cC8Uonr5xT8xjVK4B8iaAr7xpcOnzT+dAKHYYBNLAjziKgoheGJP C9qUlH31HsI+UV0Qv2dQs36nFQRTFZO+TqC/D09a76ULCODEWPBoRmeLYleuUuVcAk FzsQAVKIZdzCg== Received: from [192.168.1.22] ([24.62.181.191]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555031.sys.comcast.net with ESMTPSA id z1CmsZeNgbRtZz1CnsplTF; Thu, 10 Oct 2024 22:00:23 +0000 Message-ID: <615f519f-b36f-4e8c-8e4c-df9789575001@comcast.net> Date: Thu, 10 Oct 2024 18:00:20 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: sunsetting md5 password support To: Heikki Linnakangas , Bruce Momjian , Jelte Fennema-Nio Cc: Nathan Bossart , pgsql-hackers@postgresql.org References: Content-Language: en-US From: Jesper Pedersen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfKNhqw2JATZt17zE8sKy/JrA+mYpLgsBpCxwruIn3GnfMYqdvxdReVixQZLRDA+5jf6dvc19JEHBenqVc5n09FUOYj/wiPIb9Y4Sx0OBJwhG7fs7k5qO PXeepJUxMiLBsdEAR1snLOHsAaAJOk8VvPF3tG+984UVxNIvhsMltlu4xu//YnyYHNdgV7bdiqTMSq72QeyfARxqSChOwwkiuqAAPkyHoVzS4n28z+UqzJm1 1gmflVxuNa7+EjVcdOHWLifvP7BV6Pv+K/81ILe8Y0pjmSYRCGFg4gDNa4hJc0c4eA9co5VbQYnQmJhdis3wjVVwEqcYhDOERQzPMfDV0kQ= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/10/24 5:45 PM, Heikki Linnakangas wrote: > On 11/10/2024 00:03, Bruce Momjian wrote: >> On Wed, Oct  9, 2024 at 10:30:15PM +0200, Jelte Fennema-Nio wrote: >>> On Wed, 9 Oct 2024 at 21:55, Nathan Bossart >>> wrote: >>>> In this message, I propose a multi-year, incremental approach to >>>> remove MD5 >>>> password support from Postgres. >>> >>> +many for the general idea >>> >>> I think it makes sense to also remove the "password" authentication >>> option while we're at it (this can currently be used with SCRAM stored >>> passwords). >> >> I remember "password" as being recommended for SSL connections where >> there is no risk of the password contents being seen. > > I wouldn't recommend it if SCRAM is available, but yeah, with TLS and > sslmode=verify-full, it's secure enough. > > Note that some authentication methods like LDAP and Radius use > "password" authentication on the wire. > Please, deprecate - aka remove - old methods. All client libraries have caught up, and if they havn't then it their issue not Core. +1. Best regards, Jesper