M2crypto: python 2.7 compatibility and which version of OpenSSL to use?

We have been using M2crypto with Python 2.6 for Windows (32-bit) for some time with great success. We used one of the user settings for installing M2crypto in our development environments. We would like to switch to Python 2.7, but noticed that there are no predefined Python 2.7 settings for m2crypto.

Questions:

  • Is M2crypto 0.20.2 compatible with Python 2.7 or should we stay on Python 2.6 if we want to continue using this library?

  • Does anyone have a custom installation for installing M2Crypto 0.20.2 in a Python 2.7 environment? (There is no 2.7 deposit on the M2crypto website, and google is also empty)

  • Can we copy our Python 2.6 M2Crypto files (under lib \ site-packages \ M2Crypto) to the same place in our Python 2.7 setup and avoid the formal installation process?

  • What version of OpenSLL should we use with M2crypto 0.20.2? I checked the OpenSSL site and found 2 versions of OpenSSL to choose from: 0.9.8 and 1.0.0a.

Thanks Malcolm

+2
source share
1 answer
  1. Yes, it is compatible with Python 2.7, so you are free to update if you have not already done so.
  2. Yes, here you have it bdist_wininst, bdist_eggand bdistfor M2Crypto 20.2, which I created for Python 2.7 with MSVS2008, I hope that it will meet your needs.
  3. , , .pyd ( DLL) python26.dll , . , python26 python27, , .
  4. , , OpenSSL 0.9.8o, 1.0.0.
+3

Source: https://habr.com/ru/post/1767971/


All Articles