Re: gen_random_uuid security not explicit in documentation
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: rightfold@gmail.com, pgsql-docs@postgresql.org
Date: 2017-07-03T09:22:25Z
Lists: pgsql-hackers, pgsql-docs
On 06/23/2017 04:23 AM, Michael Paquier wrote: > On Fri, Jun 23, 2017 at 3:02 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote: >> I'm inclined to change gen_random_uuid() to throw an error if the server is >> built with --disable-strong-random, like gen_random_bytes() does. That way, >> they would behave the same. > > No objections to do that. I guess you don't need a patch. As this is > new to 10, I have added an open item. Ok, pushed a fix to do that. Thanks for bringing this up, Radek! - Heikki
Commits
-
Forbid gen_random_uuid() with --disable-strong-random
- bf723a274cbb 10.0 landed