Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96406 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64975 invoked from network); 18 Oct 2016 06:36:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2016 06:36:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.161 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.161 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.161] ([81.169.146.161:11826] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/D2-40890-8F2C5085 for ; Tue, 18 Oct 2016 02:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1476772597; l=3075; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:In-Reply-To:References: MIME-Version; bh=vTFuscVZfGtUXjGf0SZ7Um0D1C3qHa2+1JQg/N2s3qc=; b=ji8n0jHXxMiFsZ98ivH7QQPP4N4xHJNeva9D7pqf8yPknRIULTja7q6Vj6bTuRLo6hz oW4Dbg1WqF6dWchKflujJDPvkItpDexUAjDuAwIWuAY3LiVHZ1LEwxKGjH+4ZbEqV6Lkc xuxHECeb1Avy1J92UURYw/yMaN8uZlgoNqs= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoBPBqD/sWo= X-RZG-CLASS-ID: mo00 Received: from mail-qk0-f171.google.com ([209.85.220.171]) by smtp.strato.de (RZmta 39.6 AUTH) with ESMTPSA id z07328s9I6abAds (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 08:36:37 +0200 (CEST) Received: by mail-qk0-f171.google.com with SMTP id o68so318928078qkf.3 for ; Mon, 17 Oct 2016 23:36:37 -0700 (PDT) X-Gm-Message-State: AA6/9RlNXf4Xavj4rv5C/tm2VD+cXMcpB25L74tOkHv3DHYrjiy742SyK0IMko/QGGl+NTyqyvsfJfdOJ3UnVw== X-Received: by 10.194.235.103 with SMTP id ul7mr15176264wjc.201.1476772597033; Mon, 17 Oct 2016 23:36:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 18 Oct 2016 06:36:26 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Yasuo Ohgaki , Leigh Cc: PHP Internals Content-Type: multipart/alternative; boundary=089e01493d8c0f76ab053f1dea80 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] Improve uniqid() uniqueness From: me@kelunik.com (Niklas Keller) --089e01493d8c0f76ab053f1dea80 Content-Type: text/plain; charset=UTF-8 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? Regards, Niklas http://git.php.net/?p=php-src.git;a=commitdiff;h=48f1a17886d874dc90867c669481804de90509e8 > > I thought there is php_random_int(), but it's not. > So this is one of the best patch for this purpose. > > There is bug reports that request stronger uniqueness by default. > I may address this issue, but I would like to fix other things for the > time being. > > Regards, > > -- > Yasuo Ohgaki > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e01493d8c0f76ab053f1dea80--