Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88524 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9649 invoked from network); 27 Sep 2015 20:09:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Sep 2015 20:09:58 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:42232] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/AA-06395-41D48065 for ; Sun, 27 Sep 2015 16:09:57 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id E9EBD6D2002; Sun, 27 Sep 2015 22:09:51 +0200 (CEST) Received: from w530phpdev (pD9FE888B.dip0.t-ipconnect.de [217.254.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 9E6706D2002; Sun, 27 Sep 2015 22:09:48 +0200 (CEST) To: "'Scott Arciszewski'" , "'PHP Internals'" References: In-Reply-To: Date: Sun, 27 Sep 2015 22:09:44 +0200 Message-ID: <009701d0f960$75dabaf0$619030d0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQFbEkB6xiS0wPiwBkxZ1FA4sb5PVp88mE/g Content-Language: en-us Subject: RE: [PHP-DEV] Pull Request 1513 From: anatol.php@belski.net ("Anatol Belski") Hi, > -----Original Message----- > From: Scott Arciszewski [mailto:scott@paragonie.com] > Sent: Tuesday, September 22, 2015 2:52 AM > To: PHP Internals > Subject: [PHP-DEV] Pull Request 1513 >=20 > Hi, >=20 > I wrote PR 1513 about two weeks ago to make the following enhancements = to > the CSPRNG feature in PHP 7: >=20 > * Use getrandom(2) on new Linux kernels > * When reading from /dev/urandom, make sure it's actually a character = device > * On Linux, make sure that the device has a major ID of 1 and a minor = ID of 9 > (which is the urandom device) > * Removes /dev/arandom, as it was only available in deprecated = versions of > OpenBSD and modern versions will use arc4random_buf() anyway >=20 > I'd greatly appreciate it if anyone could look over it, test it on = weird machines, > and let me know if it causes any issues. And then if we can get it = merged by > 7.0.0-RC4, I'd be estatic. >=20 > https://github.com/php/php-src/pull/1513 >=20 Was someone able to test this patch? It appears to be a good improvement = for RC4. Regards Anatol