You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Rename "scram" to "scram-sha-256" in pg_hba.conf and password_encryption.
Per discussion, plain "scram" is confusing because we actually implementSCRAM-SHA-256 rather than the original SCRAM that uses SHA-1 as the hashalgorithm. If we add support for SCRAM-SHA-512 or some other mechanism inthe SCRAM family in the future, that would become even more confusing.Most of the internal files and functions still use just "scram" as ashorthand for SCRMA-SHA-256, but I did change PASSWORD_TYPE_SCRAM toPASSWORD_TYPE_SCRAM_SHA_256, as that could potentially be used by 3rdparty extensions that hook into the password-check hook.Michael Paquier did this in an earlier version of the SCRAM patch setalready, but I didn't include that in the version that was committed.Discussion:https://www.postgresql.org/message-id/fde71ff1-5858-90c8-99a9-1c2427e7bafb@iki.fi