Re: SSL (patch 5)

Поиск
Список
Период
Сортировка
От Bear Giles
Тема Re: SSL (patch 5)
Дата
Msg-id 200205272214.QAA10980@eris.coyotesong.com
обсуждение исходный текст
Ответ на Re: SSL (patch 5)  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: SSL (patch 5)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> Bear Giles writes:
>
> > Patch to add initialization from entropy source, either a
> > file ($HOME/.postgresql/.rand, $DataDir/.rand) or the
> > /dev/urandom device.
>
> I seem to recall that OpenSSL handles generating appropriate randomness
> itself.

That's been an ongoing problem, and something may be done in 0.9.7.
But all of the sample implementations still show the use of explicit
initialization code, so that's why I added it.

> So far we've reject these kinds of attempts to do it ourselves.
> How does it work now?

The failure mode isn't that SSL stops, it's that it's easier for
an attacker to guess the next number that the PRNG will produce.
This can a big problem for high-volume servers.

Bear

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

Предыдущее
От: Bear Giles
Дата:
Сообщение: Re: SSL (patch 3)
Следующее
От: Joe Conway
Дата:
Сообщение: Re: small dblink patch