Durban, South Africa - October 19, 2025
The credcheck PostgreSQL extension provides few general credential checks, which will be evaluated during the user creation, during the password change and user renaming. By using this extension, we can define a set of rules:
Release 4.1 has been published, it includes the following new features:
now() + credcheck.password_valid_until
days when it is present in the statement.credcheck.password_valid_warning
setting. It is disabled by default. This is done using an event trigger up on login.
The point is that the trigger must be set manually in all databases where you want
enable this feature.credcheck.password_change_first_login
is enabled. It is also possible force any
user to renew his password at any time using:ALTER USER user1 SET credcheck_internal.force_change_password = true;
The release note of version 3.0 has never been published so we summarize here the new feature brings by this version.
Add new configuration variable to exclude some users from being banned.
With credcheck.whitelist_auth_failure
you can set a whitelist of usernames
that must be excluded from this behavior. Example of use:
credcheck.whitelist_auth_failure = 'appuser1,appuser2'
Upgrade require a PostgreSQL restart to reload the credcheck library.
Complete list of changes is available here
credcheck is an open project under the PostgreSQL license maintained by HexaCluster. Any contribution to build a better tool is welcome. You can send your ideas, features requests or patches using the GitHub tools.
Links :
The credcheck extension is an original work of MigOps Inc, Since MigOPs is closed the extension is developed and maintained by Gilles Darold at https://hexacluster.ai. If you need more information please https://hexacluster.ai/contact-us/.
Documentation at https://github.com/HexaCluster/credcheck#readme