[PyQt] [pyqtdeploy] Missing blake2 and sha3

Ilya Kulakov kulakov.ilya at gmail.com
Fri Nov 17 21:53:31 GMT 2017


hashlib seems to be smart enough to prefer OpenSSL over custom implementations.

Perhaps all modules should be included unconditionally allowing Python to do the choice? 

> On Nov 17, 2017, at 1:43 PM, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:
> 
> In other hand on Windows all modules are included even when custom OpenSSL is provided and ssl="1" in the project file.
> 
>> On Nov 17, 2017, at 1:38 PM, Ilya Kulakov <kulakov.ilya at gmail.com <mailto:kulakov.ilya at gmail.com>> wrote:
>> 
>> It looks like neither sha3 nor blake2 are available in OpenSSL 1.0.2.
>> With ssl enabled pyqtdeploy seem to expect OpenSSl library with all "always_included" algorithms.
>> 
>> Not sure how it should be handled.
>> 
>>> On Nov 17, 2017, at 1:31 PM, Ilya Kulakov <kulakov.ilya at gmail.com <mailto:kulakov.ilya at gmail.com>> wrote:
>>> 
>>> Hi,
>>> 
>>> When compiling for Python 3.6 an import of hashlib fails on macOS and Linux with "code for hash * was not found" for the corresponding algorithms.
>>> I'm using pyqtdeploy 1.3.2, ssl="1" is set in the project files.
>>> 
>>> A side question #1, what is exactly the meaning of ? and ! in python metdata? Does "!" mean that package should only be included if SSL enabled?
>>> A side question #2, why does md5, sha1 etc work while I do not see corresponding sources files, e.g. sha1module.c, being compiled?
>>> 
>>> 
>>> Best Regards,
>>> Ilya Kulakov
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171117/085388ef/attachment-0001.html>


More information about the PyQt mailing list