We still use scram-sha-256 as default password encryption method. Even if the authentication method is set to md5, PostgreSQL uses scram-sha-256 if the password is encrypted with scram-sha-256, but not the other way around. By allowing md5 in pg_hba.conf, users coming from legacy systems can still use md5 authentication without having to change their passwords, while ensuring that new users are created and authenticated with scram-sha-256.
4.0 KiB
Executable File
4.0 KiB
Executable File