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 1tDneK-003Hcs-0D for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Nov 2024 16:33:52 +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 1tDneH-007PKm-6j for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Nov 2024 16:33:49 +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 1tDneG-007PKe-TW for pgsql-hackers@lists.postgresql.org; Wed, 20 Nov 2024 16:33:48 +0000 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tDneE-002xAh-8f for pgsql-hackers@postgresql.org; Wed, 20 Nov 2024 16:33:47 +0000 Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-7b158542592so306022385a.2 for ; Wed, 20 Nov 2024 08:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732120422; x=1732725222; 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=mZy5Uc58otbzdpBDDuiixBwLDs/z1lwASw/eLhqoXvg=; b=PHoC08l06u+EDl8dQVzxKC3/nbiedOFzHwzh8HkcjbsTvnZc6KG9eL54kjQqsGBNV0 R98vFHs6R+yz3I/S43cBRu8S32kDwRrkb2Sxe2njfRjwmWc04++f85+vLeJuLAQNtAj1 RaQfm7dKVHhYnouqgURzzfKy6jMMEOIS38YULtC07s5CBNZ76Vpt+af3AmTLzCjVpvJJ fh08Z0mRWoIeCztWD++YC5kwIvYtHc/eqXlb5YwoKjhrI+VLtiV68fvysVQXaoyyLRwV PC49jO8I92X/gBQAXreSKItnNJMjANYOSUfv8oORwcVHiacPjNURc60zSiUYpkemlm5m vCpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732120422; x=1732725222; 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=mZy5Uc58otbzdpBDDuiixBwLDs/z1lwASw/eLhqoXvg=; b=VH1X20GJxtYUAGW8/4IpmcRqb/TbV/bFvEXO3gCHUzSSEC1hlK8S1Vhtckq1bujZsf JLUgo0NJo8H6RWQYnIelmHNIh2DOQ0OVz9XxDZWCab2YZWudvhbL2MUel6rLNYzzZMQu 1FwDAFWXYjv2oCmRg1Bnyef0RiSABTL+okmOc4/77e11FJ8TLQIwjiC5/RvoQrhHgiEG Nln13Fe1/TUcs6Kgq59crTYuzGoDxIlY8X/bIQcoaoLEgBl0c04iWVIuL6DwOwawwu3O IAeYTqjSb42vn39ITF6JsjgIB9sggi1+mjU7i06QzZ0Yh8fAOK5MNIxJOWUwxYV2EyJq pEmA== X-Forwarded-Encrypted: i=1; AJvYcCWcgGaPuwNTd8wwUc+3yVWcieZIVnTBwQtZqdtWH2ZSbeUJaxX7m6vBoP4wACkbpnkPBnLU1mXD3w7bhvoz@postgresql.org X-Gm-Message-State: AOJu0YwnK8kyTX6VrS84cf+sB2gd8fgnWxXX44bD84dcvU5Pvts7yAuT XAU4A+pArOleebpGI9hjtZ6qaAQ84xPF1rx4Pf5KOhJc30Bl8coG X-Google-Smtp-Source: AGHT+IEQDkWvq9rc1O511hOwpLaG5U5tQ1+MNhYJ8w/D9lWCvSYs/t/XJCSnUb1ExdzF6mVO7sBKAQ== X-Received: by 2002:a05:620a:45a1:b0:7b1:3e41:8495 with SMTP id af79cd13be357-7b42ee7281dmr395036085a.48.1732120422181; Wed, 20 Nov 2024 08:33:42 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b479d942d8sm114009785a.69.2024.11.20.08.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 08:33:41 -0800 (PST) Date: Wed, 20 Nov 2024 10:33:39 -0600 From: Nathan Bossart To: Greg Sabino Mullane Cc: Jim Nasby , Andrew Dunstan , Tom Lane , Heikki Linnakangas , pgsql-hackers Subject: Re: sunsetting md5 password support 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 Wed, Nov 20, 2024 at 10:56:11AM -0500, Greg Sabino Mullane wrote: > On Tue, Nov 19, 2024 at 8:55 PM Nathan Bossart > wrote: > >> * Expand the documentation. Perhaps we could add a step-by-step guide >> for migrating to SCRAM-SHA-256 since more users will need to do so when >> MD5 password support is removed. >> * Remove the hint. It's arguably doing little more than pointing out the >> obvious, and it doesn't actually tell users where in the documentation >> to look for this information, anyway. >> > > I think both ideally, but maybe just the hint removal for this patch? > > On the other hand, "change your password and update pg_hba.conf" is pretty > much all you need, so not sure how detailed we want to get. :) After thinking about this some more, I'm actually finding myself leaning towards leaving the hint and potentially adding more detail to the documentation as a follow-up patch. While the hint arguably points out the obvious, it should at least nudge users in the right direction instead of just telling them to stop using MD5 passwords. I've always found it incredibly frustrating when something is marked deprecated but there's zero information about what to do instead. I also see a few existing cases where we refer users to the documentation, so it's not without precedent. -- nathan