Re: MD5 authentication needs help

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: MD5 authentication needs help
Дата
Msg-id 20150306150020.GB3291@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: MD5 authentication needs help  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: MD5 authentication needs help  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost wrote:
> * Josh Berkus (josh@agliodbs.com) wrote:

> > > 3)  Using the user name for the MD5 storage salt allows the MD5 stored
> > > hash to be used on a different cluster if the user used the same
> > > password. 
> > 
> > This is a feature as well as a bug. For example, pgBouncer relies on
> > this aspect of md5 auth.
> 
> It's not a feature and pgBouncer could be made to not rely on this.

Perhaps one of the requirements of a new auth method should be to allow
middlemen such as connection poolers.  It's been over two years since I
had a look, but IIRC pgbouncer had the very ugly requirement of its own
copy of user/passwords in a file, and of course you had to update it
separately if you changed the password in the server.  We need to make
it possible for it not to require any such thing.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Add transforms feature
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Clamping reulst row number of joins.