Re: [HACKERS] scram and \password
От | Tom Lane |
---|---|
Тема | Re: [HACKERS] scram and \password |
Дата | |
Msg-id | 743.1489462454@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] scram and \password (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: [HACKERS] scram and \password
|
Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes: > On Tue, Mar 14, 2017 at 11:47 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Seems to me the intended behavior of \password is to use the best >> available practice. So my guess is that it ought to use SCRAM when >> talking to a >= 10.0 server. What the previous password was ought >> to be irrelevant, even if it could find that out which it shouldn't >> be able to IMO. > And in a release or two? SCRAM being a fresh feature, switching the > hashing now is not much a conservative approach. If some other practice becomes better in v12, then we teach it about that one. It's not like psql hasn't got many other server-version-dependent behaviors. Alternatively, if what you mean by that is you don't trust SCRAM at all, maybe we'd better revert the feature as not being ready for prime time. regards, tom lane
В списке pgsql-hackers по дате отправления: