Hi,
In pg_hba.conf, the new authentication method must be set as
"scram-sha-256".
But it appears as "scram-sha256" (only one hyphen) in pg_hba_file_rules.
This is a bit confusing.
"scram-sha256" appears in commit c727f120 in src/backend/libpq/hba.c,
while defining the array UserAuthName.
I've not seen why it should be this way in the associated discussions
(https://www.postgresql.org/message-id/fde71ff1-5858-90c8-99a9-1c2427e7bafb@iki.fi
,
https://www.postgresql.org/message-id/CAB7nPqS99Z31f7jhoYYMoBDbuZSQRpn+HQzByA=EwfMDYwCk1Q@mail.gmail.com)
Is it just a remnant of previous versions of the patch or is there a
reason?
--
Christophe Courtois
Consultant Dalibo
http://dalibo.com/ - http://dalibo.org/