pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rightfold@gmail.com
To: pgsql-docs@postgresql.org
Subject: gen_random_uuid security not explicit in documentation
Date: Sun, 01 Jan 2017 23:20:54 +0000
Message-ID: <20170101232054.10135.50528@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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&#39;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: &quot;promis&quot; should be &quot;promise&quot;.


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


view thread (8+ messages)  latest in thread

Message-ID: <20170101232054.10135.50528@wrigleys.postgresql.org>
Permalink:  ../20170101232054.10135.50528@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170101232054.10135.50528@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: rightfold@gmail.com
  Subject: Re: gen_random_uuid security not explicit in documentation
  In-Reply-To: <20170101232054.10135.50528@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox