weixin_39595430 2020-11-22 03:26
浏览 0

Travis Build Failing (Ruby)

https://travis-ci.org/defuse/password-hashing/jobs/60788535


PHPRuby Compatibility
---------------------------------------------
PHP hash validating in Ruby: pass
PHP hash validating bad password in Ruby: pass
Could not open input file: ./tests/phpVerify.php
Ruby hash validating in PHP: FAIL
FAIL.

该提问来源于开源项目:defuse/password-hashing

  • 写回答

5条回答 默认 最新

  • weixin_39595430 2020-11-22 03:26
    关注

    Might have reproduced this locally:

    
    PHPRuby Compatibility
    ---------------------------------------------
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/openssl.so' - /usr/lib/php/modules/openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/phar.so' - /usr/lib/php/modules/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/libsodium.so' - libsodium.so.13: cannot open shared object file: No such file or directory in Unknown on line 0
    /home/firexware/Data-1/Documents/FireXware/Programming/gits/password-hashing/PasswordHash.rb:60:in `verifyPassword': Fields are missing from the password hash. (InvalidHashError)
        from tests/testRubyPhpCompatibility.rb:35:in `testPHPHash'
        from tests/testRubyPhpCompatibility.rb:53:in `<main>'
    FAIL.
    </main>
    评论

报告相同问题?