WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 3 months ago

Last modified 3 months ago

#53274 closed defect (bug) (fixed)

Update sodium_compat to v1.16.1

Reported by: paragoninitiativeenterprises Owned by: SergeyBiryukov
Milestone: 5.7.3 Priority: normal
Severity: normal Version: 5.8
Component: External Libraries Keywords: has-patch commit fixed-major
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Previously: #48371, #51399, #51925

The latest version of sodium_compat includes polyfills for new features slated to land in PHP 8.1 (read more: https://paragonie.com/blog/2021/05/ristretto255-for-php-community) and fixes a race condition with the autoloader that caused an "undefined constant" error on some systems: https://github.com/paragonie/sodium_compat/issues/122

This should be safe to include in the next 5.7.x release, as well as to backport into other supported branches.

Change History (9)

#1 @swissspidy
4 months ago

#53273 was marked as a duplicate.

#2 @swissspidy
4 months ago

  • Milestone changed from Awaiting Review to 5.8

#3 @SergeyBiryukov
4 months ago

  • Component changed from General to External Libraries

#4 @SergeyBiryukov
4 months ago

  • Description modified (diff)

This ticket was mentioned in PR #1297 on WordPress/wordpress-develop by paragonie-security.


4 months ago

  • Keywords has-patch added

Update sodium_compat to v1.16.1

Trac ticket: https://core.trac.wordpress.org/ticket/53274

#6 @SergeyBiryukov
4 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 51002:

Upgrade/Install: Update sodium_compat to v1.16.1.

The latest version of sodium_compat includes polyfills for new features slated to land in PHP 8.1:
https://paragonie.com/blog/2021/05/ristretto255-for-php-community

It also fixes a race condition with the autoloader that caused an "undefined constant" error on some systems:
https://github.com/paragonie/sodium_compat/issues/122

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.14.0...v1.16.1

Follow-up to [49741].

Props paragoninitiativeenterprises, oxyrealm.
Fixes #53274.

#7 @SergeyBiryukov
4 months ago

  • Keywords commit fixed-major added
  • Milestone changed from 5.8 to 5.7.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for 5.7.3 consideration.

#8 @SergeyBiryukov
3 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 51171:

Upgrade/Install: Update sodium_compat to v1.16.1.

The latest version of sodium_compat includes polyfills for new features slated to land in PHP 8.1:
https://paragonie.com/blog/2021/05/ristretto255-for-php-community

It also fixes a race condition with the autoloader that caused an "undefined constant" error on some systems:
https://github.com/paragonie/sodium_compat/issues/122

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.14.0...v1.16.1

Follow-up to [49741].

Props paragoninitiativeenterprises, oxyrealm.
Merges [51002] to the 5.7 branch.
Fixes #53274.

Note: See TracTickets for help on using tickets.