From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | David CARLIER <devnexen(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Fetter <david(at)fetter(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCH] using arc4random for strong randomness matters. |
Date: | 2017-11-22 16:42:43 |
Message-ID: | 20171122164243.xw34y5oo6oak6rel@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Please don't top-quote on postgres mailing lists.
On 2017-11-22 16:16:35 +0000, David CARLIER wrote:
> > David CARLIER <devnexen(at)gmail(dot)com> writes:
> > > I m not against as such that depends of the implementation but I ve seen
> > in
> > > quick glance it s RC4 ?
> >
> > More generally, why should we bother with an additional implementation?
> > Is this better than /dev/urandom, and if so why?
> Basically the call never fails, always generating high quality random data
> (especially the implementations based on Chacha* family, RC4 has
> predictability issues), there is no need of a file descriptor.
I don't really see much benefit in those properties for postgres
specifically. Not needing an fd is nice for cases where you're not
guaranteed to have access to a filesystem, but postgres isn't going to
work in those cases anyway.
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= | 2017-11-22 16:51:07 | Re: [PATCH] using arc4random for strong randomness matters. |
Previous Message | David CARLIER | 2017-11-22 16:16:35 | Re: [PATCH] using arc4random for strong randomness matters. |