Re: [pgadmin-hackers] Client-side password encryption

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgadmin-hackers] Client-side password encryption
Дата
Msg-id 14709.1135300914@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [pgadmin-hackers] Client-side password encryption  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> I had forgotten that the Windows build is broken.  I'll see what I can
> do with throwing together the cleaner-API function.

Done, but I noticed that the change to createuser has arguably broken
it; at least we need to change the docs.  To wit, the docs say

-E
--encrypted    Encrypts the user's password stored in the database. If not    specified, the default password behavior
isused.
 

-N
--unencrypted    Does not encrypt the user's password stored in the database. If not    specified, the default password
behavioris used.
 

As currently coded, however, the behavior when neither switch is given
is to force the password to be encrypted --- the database's
password_encryption setting is overridden.

I'm not sure we can do much about this --- certainly we don't want the
default behavior of createuser to still be to send an unencrypted
password.  But if we leave the code as-is the docs need a change.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: what is the smallest working page size for postgresql