jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.08k stars 1.72k forks source link

Test failing #1059

Closed ashm-telnyx closed 3 years ago

ashm-telnyx commented 3 years ago
#12 165.0     FAIL: pwhash_scrypt
#12 165.0     PASS: pwhash_scrypt_ll
#12 165.0     PASS: scalarmult_ed25519
#12 165.0     PASS: siphashx24
#12 165.0     PASS: xchacha20
#12 165.0     ============================================================================
#12 165.0     Testsuite summary for libsodium 1.0.16
#12 165.0     ============================================================================
#12 165.0     # TOTAL: 72
#12 165.0     # PASS:  71
#12 165.0     # SKIP:  0
#12 165.0     # XFAIL: 0
#12 165.0     # FAIL:  1
#12 165.0     # XPASS: 0
#12 165.0     # ERROR: 0
#12 165.0     ============================================================================
#12 165.0     See test/default/test-suite.log
#12 165.0     Please report to https://github.com/jedisct1/libsodium/issues
ashm-telnyx commented 3 years ago

This is on Mac M1

jedisct1 commented 3 years ago

This is a bug in pynacl, not libsodium. They are using an old version of libsodium.

jedisct1 commented 3 years ago

Scratch that, pynacl now compiles and works out of the box on the M1 :)

You seem to be using an older version. Current one is 1.4.0.

ashm-telnyx commented 3 years ago

Thanks @jedisct1