pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Replace PostmasterRandom() with a stronger way of generating ran
Date: Mon, 17 Oct 2016 23:34:52 -0400
Message-ID: <13663.1476761692@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqT8ukEyznPs-0h6SOvoexf7AX-hVD3aHja=kVcRpS6ufw@mail.gmail.com>
References: <E1bw3g3-0003st-6M@gemulon.postgresql.org>
	<26591.1476715823@sss.pgh.pa.us>
	<4f31c7c5-817c-aa3b-ae48-a613008dc558@iki.fi>
	<28173.1476717663@sss.pgh.pa.us>
	<f89dc573-902c-3f6a-380c-a8a3f5ec59ad@iki.fi>
	<CA+TgmobaQ7oXcnw0-KDVf-kxy_ET6cZF1HnP6Y9F8GwiKcn7SA@mail.gmail.com>
	<11757.1476736511@sss.pgh.pa.us>
	<CAB7nPqT8ukEyznPs-0h6SOvoexf7AX-hVD3aHja=kVcRpS6ufw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Michael Paquier <michael.paquier@gmail.com> writes:
> And actually, enabling prngd would need to be controlled by a
> configure switch as well disabled by default, no?

AFAICT, openssl has no configuration options related to prngd; they
seem to be able to use it automatically when /dev/[u]random isn't there.
This surprises me a bit because the location of prngd's random-data socket
is evidently variable.  I've not dug into exactly how openssl figures that
out, but I'm sure a little quality time with the openssl sources would
explain it.

			regards, tom lane


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



view thread (21+ messages)  latest in thread

Message-ID: <13663.1476761692@sss.pgh.pa.us>
Permalink:  ../13663.1476761692@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13663.1476761692@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, robertmhaas@gmail.com, hlinnaka@iki.fi, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Replace PostmasterRandom() with a stronger way of generating ran
  In-Reply-To: <13663.1476761692@sss.pgh.pa.us>
  References: <E1bw3g3-0003st-6M@gemulon.postgresql.org> <26591.1476715823@sss.pgh.pa.us> <4f31c7c5-817c-aa3b-ae48-a613008dc558@iki.fi> <28173.1476717663@sss.pgh.pa.us> <f89dc573-902c-3f6a-380c-a8a3f5ec59ad@iki.fi> <CA+TgmobaQ7oXcnw0-KDVf-kxy_ET6cZF1HnP6Y9F8GwiKcn7SA@mail.gmail.com> <11757.1476736511@sss.pgh.pa.us> <CAB7nPqT8ukEyznPs-0h6SOvoexf7AX-hVD3aHja=kVcRpS6ufw@mail.gmail.com> <13663.1476761692@sss.pgh.pa.us>

* 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