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 1li3Lr-0008PG-3a for pgsql-hackers@arkaria.postgresql.org; Sat, 15 May 2021 23:05:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1li3Lq-0008JS-1U for pgsql-hackers@arkaria.postgresql.org; Sat, 15 May 2021 23:05:42 +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 1li3Lp-0008JK-Pt for pgsql-hackers@lists.postgresql.org; Sat, 15 May 2021 23:05:41 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1li3Ln-0002nW-Q8 for pgsql-hackers@postgresql.org; Sat, 15 May 2021 23:05:41 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1D29A5C00EB; Sat, 15 May 2021 19:05:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 15 May 2021 19:05:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=1N/isoffpqiKnPSZ9y3m1hsjD//ln8qr8VmPy6lYboY=; b=CszJ4g7h wcQS1ysam1e15HIzmcH2xWg5mArmPCJmjbel8Kli1OkURScKKmmtOtiZOb9lcccy bF8oGcXpzodZ80ac4BUwMj/9if5FiQAD+x4lwsvJdnVgNU5RgUgrLuYHTPLYWIDc xLzPd8dFQOWbQ7J3nSM/WqTPJTf5bCGrRYkDnaRG4MpqUC2tlS8SLjykNfSsatkv ErCuIq224ofMeTAlsR17v81gU6DqxAmX1AQMCNsJtpNWjFijHSyvspVsFl5j4es8 8jALCAxYSKO3JqxoVO3SfeJYIjzw+1nr2BTxbqAaIi41W1b0JnEuNBxWnzU5/bPm EzOBy97x9eWIrg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiuddgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjfgesthekredttderudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepueffhfejieeuueffgedvudekgeeltdeviedvieeufeei ieevgfetheeufeethedvnecukfhppeduledtrdelhedrudelrdelheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 15 May 2021 19:05:37 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 805CE2A0BB7; Sat, 15 May 2021 19:05:35 -0400 (-04) Date: Sat, 15 May 2021 19:05:35 -0400 From: Alvaro Herrera To: Bruce Momjian Cc: Ian Lawrence Barwick , PostgreSQL-development Subject: Re: PG 14 release notes, first draft Message-ID: <20210515230535.GA3189@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210513032606.GE11075@momjian.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-May-12, Bruce Momjian wrote: > OK, updated text: > > > > > > Change the default of the password_encryption server parameter > to scram-sha-256 (Peter Eisentraut) > > > > Previously it was md5. All new passwords will be stored as SHA256 > unless this server variable is changed or the password is already > md5-hashed. Also, the legacy (and undocumented) boolean-like > values which were previously synonyms of md5 > are no longer accepted. > > Thanks, looks ok as far as what the original point was about. I have to say that this sentence is a bit odd: "All new passwords will be stored as sha256 unless ... the password is already md5-hashed". Does this mean that if you change a password for a user whose password was md5, the new one is stored as md5 too even if the setting is scram-sha-256? Or if "the password" means an old password, then why is it a new password? -- Álvaro Herrera Valdivia, Chile