Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96411 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73583 invoked from network); 18 Oct 2016 07:16:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2016 07:16:38 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.160 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.160 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.160] ([81.169.146.160:26477] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/84-40890-55CC5085 for ; Tue, 18 Oct 2016 03:16:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1476774994; l=2930; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:In-Reply-To:References: MIME-Version; bh=ODY2bDLD8hJStrzunTb4NlK5UHbBpruTh82y4ZdwFjg=; b=WZd/89TRDQ8b7pt5y0dolcX9oyGfVjdJF1cIRiT/0b25Fag7fiQwt/y6oG4i9RUHnJM kzDJ++xCWVnSNQ7xOr9a2CRO6HiKaVLNC75FR5uYFHKg4KFEB6N/dgcJMGvaxDYmvbSgx OR0zt+Ork2gBckeSXENVqZkrK7ljZvyI4kI= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNKBqX53Q== X-RZG-CLASS-ID: mo00 Received: from mail-lf0-f41.google.com ([209.85.215.41]) by smtp.strato.de (RZmta 39.6 AUTH) with ESMTPSA id d056a6s9I7GY8Hw (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Tue, 18 Oct 2016 09:16:34 +0200 (CEST) Received: by mail-lf0-f41.google.com with SMTP id b81so328657359lfe.1 for ; Tue, 18 Oct 2016 00:16:34 -0700 (PDT) X-Gm-Message-State: AA6/9Rm3ntbFPyyvoGzc30Y6mS8/5+DHGOBWVXW5Z15hrzm96eTqmlu38LCLWerFniY+VPbz7YWh4WRFFaFGEw== X-Received: by 10.28.18.5 with SMTP id 5mr5357132wms.35.1476774993943; Tue, 18 Oct 2016 00:16:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 18 Oct 2016 07:16:23 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Yasuo Ohgaki Cc: Leigh , PHP Internals Content-Type: multipart/alternative; boundary=001a11469796ed6750053f1e7845 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] Improve uniqid() uniqueness From: me@kelunik.com (Niklas Keller) --001a11469796ed6750053f1e7845 Content-Type: text/plain; charset=UTF-8 Yasuo Ohgaki schrieb am Di., 18. Okt. 2016, 08:47: > Hi Niklas, > > On Tue, Oct 18, 2016 at 3:36 PM, Niklas Keller wrote: > > Yasuo Ohgaki schrieb am Di., 18. Okt. 2016, 02:21: > >> > >> Hi all, > >> > >> I committed this patch that simply use php_random_bytes() w/o any BC. > > > > > > Doesn't this throw now in some environments where /dev/urandom isn't > > readable? > > It could happen, but such system should not be used now a days. > Sure, but it did happen that shared hosts block it, noticed during random_compat adoption. You claimed there isn't any BC break. Regards, Niklas Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > --001a11469796ed6750053f1e7845--