Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89099 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29251 invoked from network); 8 Nov 2015 17:40:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2015 17:40:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=fsb@thefsb.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=fsb@thefsb.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thefsb.org designates 173.203.187.123 as permitted sender) X-PHP-List-Original-Sender: fsb@thefsb.org X-Host-Fingerprint: 173.203.187.123 smtp123.iad3a.emailsrvr.com Linux 2.6 Received: from [173.203.187.123] ([173.203.187.123:43093] helo=smtp123.iad3a.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/19-06223-5198F365 for ; Sun, 08 Nov 2015 12:40:40 -0500 Received: from smtp32.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp32.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 7833838023F; Sun, 8 Nov 2015 12:40:34 -0500 (EST) X-Auth-ID: fsb@thefsb.org Received: by smtp32.relay.iad3a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 45ADC38023A; Sun, 8 Nov 2015 12:40:34 -0500 (EST) X-Sender-Id: fsb@thefsb.org Received: from yossy.local (c-73-4-147-142.hsd1.ma.comcast.net [73.4.147.142]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:587 (trex/5.5.4); Sun, 08 Nov 2015 12:40:34 -0500 To: Leigh , internals@lists.php.net References: Message-ID: <563F8909.5060706@thefsb.org> Date: Sun, 8 Nov 2015 12:40:25 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Make sessions use php_random_bytes in 7.1 From: fsb@thefsb.org (Tom Worster) On 10/30/15 3:48 PM, Leigh wrote: > > I would like to refactor session id generation to use our new > php_random_bytes API as the single entropy source for session ids, > targeting 7.1 ... > I'd like to hear if there are any strong objections to this proposal. Hi Leigh, Again, not an objection but a question about performance, in particular, performance relative to existing 7.0 generation of php_random_bytes' different routes to randomness. I suspect without any real evidence that php_random_bytes' different routes have big performance differences and if any of them are slow enough to affect sessions, it's worth knowing about. Do current tests rigs allow such measurements? Tom