[wp-trac] [WordPress Trac] #34409: random_bytes() prevents me to log in if PHP is 5.3.5

WordPress Trac noreply at wordpress.org
Fri Oct 23 13:28:13 UTC 2015


#34409: random_bytes() prevents me to log in if PHP is 5.3.5
--------------------------+------------------
 Reporter:  imath         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.4
Component:  General       |     Version:
 Severity:  blocker       |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by sarciszewski):

 https://github.com/paragonie/random_compat/releases/tag/1.0.10 - This
 should fix the known problem that Dion referred to on Windows.

 If you change [this
 constant](https://github.com/paragonie/random_compat/blob/2fa50aa2f17066fa74ba00d943e8cee1a98284af/lib/random.php#L114)
 from 50304 to 50401 does this performance problem evaporate?

 (Note that OpenSSL is our last resort, so this means that you're not
 benefiting from a CSPRNG on outdated versions of PHP on Windows.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34409#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list