Re: MD5 authentication needs help

Поиск
Список
Период
Сортировка
Искать
От
Stephen Frost
Тема
Re: MD5 authentication needs help
Дата
Msg-id
20150306130206.GM29780@tamriel.snowman.net
Ответ на
Список
Дерево обсуждения
MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Andres Freund <andres@2ndquadrant.com>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Andres Freund <andres@2ndquadrant.com>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Greg Stark <stark@mit.edu>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Tom Lane <tgl@sss.pgh.pa.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Tom Lane <tgl@sss.pgh.pa.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Albe Laurenz <laurenz.albe@wien.gv.at>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Bruce Momjian <bruce@momjian.us>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Re: MD5 authentication needs help Robert Haas <robertmhaas@gmail.com>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Magnus Hagander <magnus@hagander.net>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Magnus Hagander <magnus@hagander.net>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Heikki Linnakangas <hlinnaka@iki.fi>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
Re: MD5 authentication needs help Heikki Linnakangas <hlinnaka@iki.fi>
Re: MD5 authentication needs help Stephen Frost <sfrost@snowman.net>
* Albe Laurenz (laurenz.albe@wien.gv.at) wrote:
> Stephen Frost wrote:
> > Yes, it certainly was.  I think Bruce was thinking that we could simply
> > hash what goes on to disk with an additional salt that's stored, but
> > that wouldn't actually work without requiring a change to the wireline
> > protocol, which is the basis of this entire line of discussion, in my
> > view.
> 
> This article
> https://hashcat.net/misc/postgres-pth/postgres-pth.pdf
> has some ideas about how to improve the situation.

This falls into the same category as some other proposed changes- it
requires wireline protocol changes, which means it really isn't
interesting to consider.

While I'm not surprised, it's certainly unfortunate that none of these
articles bother to point out what would be really useful to PG users-
how they can decide which risks they want to accept by choosing the
authentication method.  Using 'password', while it isn't great because
of the poor salt used (username), it isn't vulnerable to the 'PTH'
attack, and better authentication methods are available (certificates,
Kerberos, PAM, etc).  Admittedly, the default is md5 for most
distributions, but that's because the better auth methods require
depending on external systems and distribution installers can't know if
those systems have been set up or not.
Thanks,
	Stephen
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Stephen Frost
Дата:
FAQ