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 1syzXV-003Vpw-Dg for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2024 20:13:38 +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 1syzXU-006Yu3-Dz for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Oct 2024 20:13:36 +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 1syzXU-006Ytv-45 for pgsql-hackers@lists.postgresql.org; Thu, 10 Oct 2024 20:13:36 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1syzXR-000Foo-Ke for pgsql-hackers@postgresql.org; Thu, 10 Oct 2024 20:13:35 +0000 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-83795fbfe4cso2417339f.2 for ; Thu, 10 Oct 2024 13:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728591213; x=1729196013; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7RUyeDYpKA9PcW2SdjcXXot0NSCKnd3vzOu+HtSOXN4=; b=ljvfGh5h6enp38mZIyDlO6dx3IN3rL7xwQgE93DcRKfHgD+cRlGYsiPEKKp5L54Tpx BYVVWgwho1W/5zxuYlqNiOC+1m/7pWUK4qKYLAwLlE/KOSBWk/8wNfsHRgEpx1uZyoVx 3Jebvgi65suzZnkjlfy7xmimQTLcy/R3zoVfalX/x8Q8e5Kp3m67jOtgonNJa7xLkBwB SZoQLgxRzWMVsVlMVkrGo7uWiZbqEE9oik4UVp6CWMYcfVr3V4yNs/6j4vU14RSIJHgc EMRjD7v1dbv5Lk8KbvSzfPcH37dwEHOJOaQwbjIIJLQhtXv5uBFahhyaZTjbXlR4f69E YWgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728591213; x=1729196013; h=in-reply-to: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=7RUyeDYpKA9PcW2SdjcXXot0NSCKnd3vzOu+HtSOXN4=; b=eRgvCoQvEzFMVzdfRyJ7xItTFp9QCtzVv1DylU75uPhLsLgPTF7TURJsdne391/tt0 Q55ipqxukH48bsWP+8PksXGA2ex4gEefAMzulFgExbpcmfmopNYQoZg/P15JcsWPa/JV PLkSbTAX7tO+d4inmH8pw42sFqiSqk1yJt43Hy82nyfpRevWQxkRa4tmC4qsOGO9YOzb so7YByfFG9jv4e7eVBrbARZh+qYEoJiRKlsSDQ1lBkao84FOs5ef/Yfm6pHTBPqDuVdq u9PmKqUphmUYXBhKNKDZeAWg58WHAnvtEyHWEPiZN8Zt78msMdL70tsfxYSR1h2AbPhI Gm8w== X-Gm-Message-State: AOJu0Yyq1fkuA3h5AzQ8q25H2TD9HKv9QkXSZHiI8dWTVMPUg+GtYa9y IMAJh+M0mc/57gvemnqsLkTtqP+23zrlldna7qyxCfZxXgkeuzO6 X-Google-Smtp-Source: AGHT+IEIFvIScW13IDmlx6kWB6AMeG9Y8osQUR2s7BAPhg6xH0FLpXek/0SNpo8jE8EFE48mr97Kmw== X-Received: by 2002:a05:6602:3417:b0:835:4b2a:e52b with SMTP id ca18e2360f4ac-8379428c242mr24838839f.10.1728591212870; Thu, 10 Oct 2024 13:13:32 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-8354b9932absm38071339f.31.2024.10.10.13.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 13:13:32 -0700 (PDT) Date: Thu, 10 Oct 2024 15:13:30 -0500 From: Nathan Bossart To: Heikki Linnakangas Cc: pgsql-hackers@postgresql.org Subject: Re: sunsetting md5 password support Message-ID: References: <7e9e3d30-f7f4-460f-a626-6cfad419d6cd@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e9e3d30-f7f4-460f-a626-6cfad419d6cd@iki.fi> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Oct 10, 2024 at 02:11:53AM +0300, Heikki Linnakangas wrote: > My feeling is that it would be less confusing to users to just disallow md5 > passwords in one release. I'm not sure these intermediate steps are really > doing anyone any favors. As I'm reading the various responses in this thread, I do find myself leaning in this direction. My intent with the incremental approach was to provide gentle reminders to migrate for a few years before removing support completely, but I suppose there will always be a subset of users that will wait until we actually follow through. If we went this route, we could still do step 1 (add deprecation notices), but there would just be one more step along the lines of "after X years, remove all support." (Or maybe we would remove server support after X years and then remove libpq support after Y more years.) In general, it seems like folks are generally onboard with removing MD5 password support. For v18, the only thing I'm hoping to accomplish is to get the deprecation notices added, so I will start writing a patch for that. Perhaps we should also consider adding WARNINGs whenever folks use MD5 passwords in any fashion (with a corresponding GUC to turn those off). -- nathan