Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94382 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70964 invoked from network); 5 Jul 2016 03:31:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2016 03:31:43 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:55812] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/F4-30328-D1A2B775 for ; Mon, 04 Jul 2016 23:31:43 -0400 Received: (qmail 53262 invoked by uid 89); 5 Jul 2016 03:31:38 -0000 Received: from unknown (HELO mail-qt0-f172.google.com) (yohgaki@ohgaki.net@209.85.216.172) by 0 with ESMTPA; 5 Jul 2016 03:31:38 -0000 Received: by mail-qt0-f172.google.com with SMTP id w59so95315811qtd.3 for ; Mon, 04 Jul 2016 20:31:36 -0700 (PDT) X-Gm-Message-State: ALyK8tJc2sBzb7BYa7Tfc23MxPByYcSac7Z7L0A+T9shcY73Y61ux+Keh0iXnaK8nf17qt2OMrGcq3E4aAXe8g== X-Received: by 10.200.48.46 with SMTP id f43mr23859368qte.10.1467689491102; Mon, 04 Jul 2016 20:31:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.17.33 with HTTP; Mon, 4 Jul 2016 20:30:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Jul 2016 12:30:51 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Pierre Joye Cc: Dan Ackroyd , PHP internals , Stanislav Malyshev Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC][VOTE] Session ID without hashing From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Pierre, On Tue, Jul 5, 2016 at 12:02 PM, Pierre Joye wrote: >> Current implementation is regenerating random hash string by using >> >> - PID >> - Time (Simple random function) >> - CSPRNG when it is available > > For clarification, it is always available. Php requires a valid one to be > built. > > We can argue about the provided pnrng being CS but it is not php's job to > decide. Thank you for clarification! Modern systems that execute PHP should have CSPRNG always. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net