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 1tp8ji-000yi6-Aw for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Mar 2025 16:33: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 1tp8jg-00BNJf-PW for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Mar 2025 16:33:44 +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 1tp8jg-00BNJW-F8 for pgsql-hackers@lists.postgresql.org; Mon, 03 Mar 2025 16:33:44 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tp8jc-000jir-2j for pgsql-hackers@postgresql.org; Mon, 03 Mar 2025 16:33:44 +0000 Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-855183fdcafso160940139f.1 for ; Mon, 03 Mar 2025 08:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741019620; x=1741624420; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=h+D+dFtySFSR0f8JC/cY/rPoIEUq+ZxBEFAuukdJRng=; b=MF4UTO5VIJSZ4Z+kKPem7JWDfhf3IygBnsmHnPHqhH7S7iotp4QsB2mLVP9AESxR+C a64HOHjo+Gbo2OhDACuI45nM8BNiTtjdnhGV7YOoQIzWJr57gq68USSNN/7RjN28xo2N CyaDaJKWNrK4yA1h1sSEI1Lx0SSh1O3o7UsDV9oVB49alwAK7luFNS8EPqFXNPNuKkAh 83U8NuKaBd1PWvOM4Ev372FT9DEZ9pE785b3favKKhYK1YGc09BqqHrjO2mKvwa0Whn7 IODqmjz11H1qT1B08CmkpeOU3mpJEP4owU3yZdH9JoT4cNVpeXUNo2cevslzA185Lk6M MxGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741019620; x=1741624420; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h+D+dFtySFSR0f8JC/cY/rPoIEUq+ZxBEFAuukdJRng=; b=FkYmedNW5KVQJkIV9KKUz6YitWMVDjURF//XZTjGiWFAPvc8lo3V2y+ZuIqEeZkEZb ZtTXSbroyxP+wtebWOBmbBX5bh3tjHy4HZNWn2MM2vLFc2+9WYj1CCLKGJCWfWvP6DHz oXKGbnWOynKdtHIQQQLwvUYUlDpdbbwDFtYI8zo7PHafcwJAnjPgXOifUjDHwmxbf+CN h7lNoCR8XrbLiQBxLOIBr0S4wwav2hGSFygCgcyqlKAfLGLIjFBWJnwa7TcdY/uBBqe6 2qU7TXYb9H1oHp13IYpCpZNxh8Tf+6bzbY3uANspbqurqMZfZRq4f73BfQq9FZ+nAd68 SErg== X-Forwarded-Encrypted: i=1; AJvYcCVz+HdGSD9RTEx1adhReaVS5+JJJtANNubjioxD9UCUsvHuAywCgXdQhPAyY7isr5HNqMWcFsErDVruJ5kh@postgresql.org X-Gm-Message-State: AOJu0Yywmd1RJhBP2XrMHKD+LYVhhC3tg/ZRI8rf3EFIQb7egfUUm7NY Lrt7ja1di+YvB2tgyyBB8t4tv48vpn3b97shaBKX6i7DLf4jLmCn X-Gm-Gg: ASbGncsxTL9OCbPBudmvs0BsCnbXN18KwjiR9FLMPaqZWL3Z0/j9oZZOWujBa23R+Ry Cn+b5yazIuISHtixlBulQXTIbOY4fxpUQJD+WDQAauZ8Jo6Lrk3f3W8jI6+88F2vx5rHjJqzeIQ 6lNNR8G39oQ7zzSkNCsKRDxZOrDoDGR9QN/1tYoNLvfZwu/LsW3S+pjmPwgamaAgLdI6dSH56tp uOSWaJDcpuTPqXc+PZ4+qjFndLw3uqiC8G7p3MMqftdrx51a5VnXncHNpG0gQSxQNDvyZhQ7W4p Zyk4QpqQY1nADANNr6PYOvfaT4nCuy2BzhZyPJa1DwTFaTn9IgrpAmPKvjvFE8A93H2kqlhjya4 JYhIGcAVxGCIdA9To6/YCfy/0IKVRw71rnYs= X-Google-Smtp-Source: AGHT+IEMNnMHSUn2LawT2Rma27znK1Bs3eefB0ekx9r62SG39e3cVKSH0hUKVEsC//ZUjXlhOa6HlA== X-Received: by 2002:a05:6602:5c6:b0:855:9621:d08c with SMTP id ca18e2360f4ac-85870ec3891mr1604895139f.4.1741019620122; Mon, 03 Mar 2025 08:33:40 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-85875115643sm233016439f.14.2025.03.03.08.33.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Mar 2025 08:33:39 -0800 (PST) Date: Mon, 3 Mar 2025 10:33:37 -0600 From: Nathan Bossart To: Greg Sabino Mullane Cc: Isaac Morland , Aleksander Alekseev , tgl@sss.pgh.pa.us, pgsql-hackers Subject: Re: PATCH: warn about, and deprecate, clear text passwords Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Feb 25, 2025 at 11:13:51AM -0500, Greg Sabino Mullane wrote: > On Tue, Feb 25, 2025 at 10:34 AM Nathan Bossart > wrote: >> IMHO a WARNING would really only be appropriate if we are definitely going >> to remove support in the future, and that feels like a bit of a stretch to >> me due to the level of breakage it could cause. That being said, folks did >> seem on board enough with deprecating MD5 passwords for me to feel >> comfortable committing it, although that might not quite be an >> apples-to-apples comparison. In any case, we've long encouraged folks to >> avoid sending passwords to the server in clear-text, so I think it's >> reasonable to provide some way to enforce that server-side. > > Yes, I went back and forth on the wording for the warning, but ended up > with a slightly weasely "may be removed" rather than "will be removed". Of > course, no date is explicitly promised, so "will be removed" could be an > accurate. It might just be 75 years from now, when our neural implants make > plain text passwords a quaint relic. I think it would be good to hear some other opinions on whether we should consider sending clear-text passwords to the server as either 1) fully supported, 2) deprecated but with no intent to remove anytime soon, or 3) deprecated with the intent of removal at some point in the next several years. I personally am -1 on the warning unless we have a consensus on (3), but I'm +1 on adding a way to enforce "pre-encryption" regardless. -- nathan