php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73215 uniqid() should use better random source
Submitted: 2016-10-01 03:36 UTC Modified: 2021-09-14 13:04 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: yohgaki@php.net Assigned: yohgaki (profile)
Status: Suspended Package: Unknown/Other Function
PHP Version: 7.0.11 OS: Irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-10-01 03:36 UTC] yohgaki@php.net
Description:
------------
uniqid() should use php_random_bytes() rather than php_combined_lcg()


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-01 03:36 UTC] yohgaki@php.net
-Assigned To: +Assigned To: yohgaki
 [2016-10-18 00:16 UTC] yohgaki@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=48f1a17886d874dc90867c669481804de90509e8
Log: Fix bug #47890 #73215 uniqid() should use better random source
 [2016-10-18 00:30 UTC] yohgaki@php.net
-Status: Assigned +Status: Closed
 [2016-10-18 10:30 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8c74be0c52d8d1d9c7304385b3c9c7a1bfb8b873
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 10:30 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=689cf8b2666e0bc9dff5c9216fedbf491890d3da
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 10:31 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=475cb3aa32b8249f6a4e684757da4ab42fff5999
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 12:10 UTC] dmitry@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8c74be0c52d8d1d9c7304385b3c9c7a1bfb8b873
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 12:11 UTC] dmitry@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=689cf8b2666e0bc9dff5c9216fedbf491890d3da
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 12:11 UTC] dmitry@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8c74be0c52d8d1d9c7304385b3c9c7a1bfb8b873
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-18 23:05 UTC] yohgaki@php.net
-Status: Closed +Status: Re-Opened
 [2016-10-25 15:21 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=689cf8b2666e0bc9dff5c9216fedbf491890d3da
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-25 15:21 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8c74be0c52d8d1d9c7304385b3c9c7a1bfb8b873
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2016-10-25 15:21 UTC] krakjoe@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=48f1a17886d874dc90867c669481804de90509e8
Log: Fix bug #47890 #73215 uniqid() should use better random source
 [2017-01-12 09:12 UTC] krakjoe@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=475cb3aa32b8249f6a4e684757da4ab42fff5999
Log: Revert "Fix bug #47890 #73215 uniqid() should use better random source"
 [2017-10-24 03:07 UTC] kalle@php.net
-Status: Re-Opened +Status: Assigned
 [2021-09-14 13:04 UTC] cmb@php.net
-Status: Assigned +Status: Suspended
 [2021-09-14 13:04 UTC] cmb@php.net
There is an RFC about this[1], but it is inactive.  I suspend this
ticket until the inactive RFC is revived or a new RFC proposed.

[1] <https://wiki.php.net/rfc/uniqid>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 08:01:29 2024 UTC