Git Product home page Git Product logo

Comments (5)

paragonie-scott avatar paragonie-scott commented on May 25, 2024

That's interesting. I'm not having any luck reproducing a failure, so I've committed a test case. Hopefully, if there is a bug, Travis CI will find it. 74d0528

from sodium_compat.

paresy avatar paresy commented on May 25, 2024

I am sorry. I forget to give more information. I am using the following PHP version:

php-5.6.30-Win32-VC11-x64

Just to make it simple, i uploaded a full package: https://www.dropbox.com/s/s6ccf69x8jjhkkv/php-5.6.30-Win32-VC11-x64.rar?dl=0

Steps i did:

  1. Download: http://windows.php.net/downloads/releases/php-5.6.30-Win32-VC11-x64.zip
  2. Make php.ini to load required OpenSSL extension
  3. Fetch composer
  4. Add sodium_compat via composer
  5. Add test.php and run it.

from sodium_compat.

paragonie-scott avatar paragonie-scott commented on May 25, 2024

Looks like there are some outstanding issues with 32-bit integers, which the rest of the world no longer uses (PHP 7+ on Windows or PHP >= 5.6 on Linux). This is going to be a fun fix.

from sodium_compat.

paragonie-scott avatar paragonie-scott commented on May 25, 2024

I've opened #38 to deal with the bigger issue.

In the meantime, if you upgrade to 7.0, then you'll be able to solve this problem immediately.

D:\temp\sodium_compat>\php\7.0-x64\php.exe vendor\phpunit\phpunit\phpunit
PHPUnit 5.7.20 by Sebastian Bergmann and contributors.

...............................................................  63 / 121 ( 52%)
.........SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS      121 / 121 (100%)

Time: 1.02 minutes, Memory: 22.00MB

OK, but incomplete, skipped, or risky tests!
Tests: 121, Assertions: 782, Skipped: 49.

from sodium_compat.

paresy avatar paresy commented on May 25, 2024

Thanks for verifying! Unfortunately i need to stick to PHP 5.6 at the moment. (Though I am eagerly following the current ext/sodium merge/licensing discussion for PHP 7.2...)

If think we can close this bug in favor of #38 .

Thanks again!

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.