Git Product home page Git Product logo

Comments (4)

paragonie-security avatar paragonie-security commented on August 22, 2024

That looks like an autoloader bug. What version of PHP are you running?

Try adding this snippet at the top of wp-includes/sodium_compat/src/Core32/Ed25519.php:

if (!class_exists('ParagonIE_Sodium_Core32_Curve25519')) {
    require_once dirname(__FILE__) . '/Curve25519.php';
}

If that doesn't fix it, restart your webserver.

from sodium_compat.

x-Felix avatar x-Felix commented on August 22, 2024

Thanks. My php version is 7.4.28.
I added the line and haven’t seen error message yet.

from sodium_compat.

paragonie-security avatar paragonie-security commented on August 22, 2024

Okay, I'll add this in #145 and do a new point release this week so the fix is official.

In the meantime, if anyone wants to try to identify the actual cause of the autoloader bug, that might make for an interesting write-up.

from sodium_compat.

bporcelli avatar bporcelli commented on August 22, 2024

@paragonie-security For what it's worth the only way I've been able to reproduce this is by accessing the file /wp-includes/sodium_compat/src/Core32/Ed25519.php directly (which makes sense, since the autoloader won't be loaded in that case). As far as I can tell this doesn't happen when sodium_compat is loaded correctly.

Perhaps it's an attempt at "google dorking" as leonardorodriguez guesses in https://wordpress.org/support/topic/sodium-compact-security-hole-maybe-google-dorking/ 🤔

from sodium_compat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.