[wp-trac] [WordPress Trac] #35970: Compat random_int issue with hanging mcrypt iv generator when urandom unreadable

WordPress Trac noreply at wordpress.org
Sat Feb 27 00:47:09 UTC 2016


#35970: Compat random_int issue with hanging mcrypt iv generator when urandom
unreadable
-------------------------------+------------------------------
 Reporter:  phil1984           |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  4.4.2
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by phil1984):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Thanks for the link @ocean90  My appologies.  Then this is not a wordpress
 bug.  I will take it up with the random_compat team.

 I can see the change, and I actually think it will make things worse.
 That restriction would force more environments on to the mcrypt fallback.
 The problem is that if urandom is not readable, there is no point in
 falling back to mcrypt because that eventually uses urandom too.

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


More information about the wp-trac mailing list