Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#53274 closed defect (bug) (fixed)

Update sodium_compat to v1.16.1

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

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
5 years ago

#53273 was marked as a duplicate.

#2 @swissspidy
5 years ago

  • Milestone Awaiting Review → 5.8

#3 @SergeyBiryukov
5 years ago

  • Component General → External Libraries

#4 @SergeyBiryukov
5 years ago

  • Description modified (diff)

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


5 years ago
#5

  • Keywords has-patch added

Update sodium_compat to v1.16.1

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

#6 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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
5 years ago

  • Keywords commit fixed-major added
  • Milestone 5.8 → 5.7.3
  • Resolution fixed
  • Status closed → reopened

Reopening for 5.7.3 consideration.

#8 @SergeyBiryukov
5 years ago

  • Resolution → fixed
  • Status reopened → 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.