| From: | Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Anthony Sotolongo <asotolongo(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: passwordcheck: Make the user name check case-insensitive |
| Date: | 2026-11-25 13:48:18 |
| Message-ID: | CAKZiRmzdmd93TP9iNMOv=9AufEC53pMy4s1X77-nHB_qZmuxxQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Nov 25, 2026 at 3:31 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
Good morning Tom,
> passwordcheck is only intended as sample code, not a production-grade
> check for weak passwords. I'm not sure we want to give people the
> impression that it's good for anything more than that as-is.
JFYI, I witnessed cases where people asked for adding functionality into
the passwordcheck (even if that was just for CrackLib) purley because of
the fact that it is provided as ready to load extension inside the
distributed packages (and yes docs say "You can adapt this module to your
needs by changing the source code").
Wouldn't it be better then to just deprecate it in PG20 release notes and
*not* compile by default (unless somebody enhances it greatly; modern
password rules are kind of like: minN chars + min A upper/lowercase
letters + min B numbers + some symbols).
-J.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-11-25 13:48:36 | Re: pg_commit_ts pages can be written before WAL is flushed |
| Previous Message | Salma Elsayed | 2026-11-25 13:36:02 | Re: [GSoC 2026] - B-tree Index Bloat Reduction - Approach & Questions |