Add passwordcheck.min_password_length.
authorNathan Bossart <nathan@postgresql.org>
Tue, 7 Jan 2025 21:06:40 +0000 (15:06 -0600)
committerNathan Bossart <nathan@postgresql.org>
Tue, 7 Jan 2025 21:06:40 +0000 (15:06 -0600)
commitf7e1b3828a930639aefb5746a214cb5ddf734361
tree336b31633f29da5e3eab7b25e0277b29f0d04299
parent6d01541960e2a42c92ef67be9a1c4842cd4458d6
Add passwordcheck.min_password_length.

This new parameter can be used to change the minimum allowed
password length (in bytes).  Note that it has no effect if a user
supplies a pre-encrypted password.

Author: Emanuele Musella, Maurizio Boriani
Reviewed-by: Tomas Vondra, Bertrand Drouvot, Japin Li
Discussion: https://postgr.es/m/CA%2BugDNyYtHOtWCqVD3YkSVYDWD_1fO8Jm_ahsDGA5dXhbDPwrQ%40mail.gmail.com
contrib/passwordcheck/expected/passwordcheck.out
contrib/passwordcheck/expected/passwordcheck_1.out
contrib/passwordcheck/passwordcheck.c
contrib/passwordcheck/sql/passwordcheck.sql
doc/src/sgml/passwordcheck.sgml