[wp-trac] [WordPress Trac] #64079: Update Sodium Compat to 1.23.0 for better performance

WordPress Trac noreply at wordpress.org
Mon Oct 6 15:46:56 UTC 2025


#64079: Update Sodium Compat to 1.23.0 for better performance
------------------------------------------+-----------------------------
 Reporter:  paragoninitiativeenterprises  |       Owner:  SergeyBiryukov
     Type:  task (blessed)                |      Status:  closed
 Priority:  normal                        |   Milestone:  6.9
Component:  External Libraries            |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  needs-patch                   |     Focuses:  performance
------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60905" 60905]:
 {{{
 #!CommitTicketReference repository="" revision="60905"
 Upgrade/Install: Update sodium_compat to v1.23.0.

 The previous version of sodium_compat was overly permissible with
 `sodium_base642bin()` when the `*_NO_PADDING` variants were specified,
 which was not compatible with `ext-sodium`. This has been fixed in version
 1.22.0.

 Version 1.23.0 includes some optimizations by replacing the array in the
 Curve25519 field element with 10 integer object properties instead. The
 result is a 7% to 12% speedup for the overall PHPUnit suite.

 References:
 * [https://github.com/paragonie/sodium_compat/releases/tag/v1.22.0
 sodium_compat 1.22.0 release notes]
 * [https://github.com/paragonie/sodium_compat/releases/tag/v1.23.0
 sodium_compat 1.23.0 release notes]
 * [https://github.com/paragonie/sodium_compat/compare/v1.21.2...v1.23.0
 Full list of changes in sodium_compat 1.23.0]

 Follow-up to [55699], [58752], [58753], [60787].

 Props paragoninitiativeenterprises, SergeyBiryukov.
 Fixes #64079.
 }}}

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


More information about the wp-trac mailing list