[wp-trac] [WordPress Trac] #35327: Usign libsodium for random bytes breaks plugin update in WP 4.4

WordPress Trac noreply at wordpress.org
Wed Jan 6 12:59:42 UTC 2016


#35327: Usign libsodium for random bytes breaks plugin update in WP 4.4
--------------------------+-----------------------------
 Reporter:  krakendancer  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Running WP 4.4 on
 CentOS 7.2.1511
 nginx 1.9.9
 PHP 5.4.16
 libsodium 1.0.5
 php-pecl-libsodium 1.0.2

 After updating to WP 4.4 plug-ins cannot be updated anymore.

 Updates fail with

 [06-Jan-2016 12:21:21 UTC] PHP Fatal error:  Call to undefined function
 Sodium\randombytes_buf() in /var/www/verifyne.me/wp/wp-
 includes/random_compat/random_bytes_libsodium.php on line 69

 The lines 66 and 69 state

 {{{#!php
 \Sodium\randombytes_buf
 }}}

 whereas the following works for me

 {{{#!php
 \Sodium::randombytes_buf
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35327>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list