[DOCS] gen_random_uuid security not explicit in documentation

Поиск
Список
Период
Сортировка
От rightfold@gmail.com
Тема [DOCS] gen_random_uuid security not explicit in documentation
Дата
Msg-id 20170101232054.10135.50528@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [DOCS] gen_random_uuid security not explicit in documentation
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/pgcrypto.html
Description:

Hello,

The C source code of gen_random_uuid reads:

    /*
    * Generate random bits. pg_backend_random() will do here, we don't
    * promis UUIDs to be cryptographically random, when built with
    * --disable-strong-random.
    */

However, the pgcrypto documentation does not mention
--disable-strong-random
at all. I think the documentation should mention under which conditions
the
function returns secure data.

Radek Slupik

P.S. there is also a typo in the C comment: "promis" should be "promise".


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] start-up script for OpenBSD
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [DOCS] gen_random_uuid security not explicit in documentation