Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords
Дата
Msg-id 4267EFA9.50604@dunslane.net
обсуждение исходный текст
Ответ на Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers

Stephen Frost wrote:

>* Tom Lane (tgl@sss.pgh.pa.us) wrote:
>  
>
>>Stephen Frost <sfrost@snowman.net> writes:
>>    
>>
>>>I'd also like to point out that this is *only* an issue for the 'md5'
>>>authentication mechanism in pg_hba.conf, which I think should be=20
>>>discouraged in favor of 'password' and SSL/IPSEC.
>>>      
>>>
>>This is still utter nonsense.  How can md5 be less secure than storing
>>your password in the clear?
>>    
>>
>
>I think you're mixing the issues.  'password' in pg_hba.conf does not
>automatically imply 'without encrypted password'/plaintext in pg_shadow.
>There are two seperate uses of md5 here and they counter each other.
>
>  
>

The docs say: "only md5 supports encrypted passwords stored in 
pg_shadow; the other two require unencrypted passwords to be stored 
there."  So either your assertion that 'password' auth does not imply 
plaintext password storage is wrong, or the docs are.

cheers

andrew


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords