Re: Request #65501 uniqid(): More entropy parameter should be true by default

From: Date: Thu, 22 Aug 2013 12:20:46 +0000
Subject: Re: Request #65501 uniqid(): More entropy parameter should be true by default
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi,

Am 22.08.13 14:10, schrieb Tjerk Meesters:
> Hi,
> 
> On 22 Aug, 2013, at 6:58 PM, Yasuo Ohgaki <[email protected]> wrote:
> 
>> Hi all,
>>
>> I realized that not many users are using "more entropy" parameter
>> Therefore, I made
>>
>> Request #65501 uniqid(): More entropy parameter should be true by default
>> https://bugs.php.net/bug.php?id=65501
>>
>> The comment title explains what this FR is.
>>
>> Any comments?
> 
> I would like to mention that the return value would become 10 characters longer if we enable
> this by default. This could break applications that store the value in a database column such as
> VARCHAR(20). 

Would it be possible to add a parameter to php.ini whether or not to set
moreentropy to true? Which by default of course is 'true'? So for most
installations it would be enabled and if it breaks there is one space to
reset to the previous behaviour.


> 
>>
>> --
>> Yasuo Ohgaki
>> [email protected]
> 
Regards

Andreas

-- 
                                                              ,,,
                                                             (o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
| mailto:[email protected]                  N
50°22'59.5" E 08°23'58" |
| http://andreas.heigl.org                       http://hei.gl/wiFKy7 |
+---------------------------------------------------------------------+
| http://hei.gl/root-ca                                         
     |
+---------------------------------------------------------------------+



Attachment: [application/pkcs7-signature] S/MIME Kryptografische Unterschrift smime.p7s

Thread (19 messages)

« previous php.internals (#68599) next »