[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-04-16 Thread STINNER Victor
STINNER Victor added the comment: OpenSSL regression has been fixed in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1688284 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-19 Thread STINNER Victor
STINNER Victor added the comment: Update: my OpenSSL PR https://github.com/openssl/openssl/pull/8483 has been merged and new a new OpenSSL package for Fedora is being tested: https://bugzilla.redhat.com/show_bug.cgi?id=1688284 -- ___ Python tracke

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-14 Thread STINNER Victor
STINNER Victor added the comment: I wrote a PR to fix OpenSSL: https://github.com/openssl/openssl/pull/8483 -- ___ Python tracker ___ _

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-13 Thread STINNER Victor
STINNER Victor added the comment: > Oh, the Fedora package of OpenSSL 1.1.1b includes this downstream patch (...) > The patch changes the behavior for (salt=NULL, saltlen=0) (...) I reported the issue to OpenSSL in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1688284 -- _

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Oh, the Fedora package of OpenSSL 1.1.1b includes this downstream patch: https://src.fedoraproject.org/rpms/openssl/blob/master/f/openssl-1.1.1-evp-kdf.patch Extract of the changelog: * Thu Feb 28 2019 Tomáš Mráz 1.1.1b-1 - update to the 1.1.1b release - EVP

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 12280 fix the issue: the salt wasn't passed to EVP_PBE_scrypt() and so the function fails with "missing salt". -- ___ Python tracker ___

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: I tried but failed to identify when test_hashlib started to fail whereas it was fine previously. IMHO it can only be a changed in OpenSSL. It might be a different between Fedora packages openssl-1.1.1b-1.fc29 (built at 2019-02-28) and openssl-1.1.1b-2.fc29 (

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12260 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7 is also affected, but not Python 2.7. -- versions: +Python 3.7 ___ Python tracker ___

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
New submission from STINNER Victor : $ ./python -m test -v test_hashlib -m test_scrypt ... ERROR: test_scrypt (test.test_hashlib.KDFTests) -- Traceback (most recent call last): File "/home/vstinner/prog/python/master/Lib/test/