LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   -current: M2Crypto -> SALT_LEN = m2.PKCS5_SALT_LEN AttributeError (https://www.linuxquestions.org/questions/slackware-14/current-m2crypto-salt_len-%3D-m2-pkcs5_salt_len-attributeerror-4175561840/)

cendryon 12-19-2015 08:51 AM

-current: M2Crypto -> SALT_LEN = m2.PKCS5_SALT_LEN AttributeError
 
Hi

M2Crypto python module was updated to 0.22.3 in Fri Dec 18 05:28:25 UTC 2015 -current update.

However, this version has a bug preventing its import :
Code:

SALT_LEN = m2.PKCS5_SALT_LEN AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'
see http://stackoverflow.com/questions/3...no-attribute-p and https://github.com/martinpaljak/M2Crypto/issues/60

Upgrading at least to 0.22.4 solves this issue.

I downloaded 0.22.5 from PyPI (0.22.6 is rc4), build and installed it with -current l/M2Crypto.SlackBuild, bumping version.
Everything runs fine so far.

Some context:
I run my own Firefox Sync server (see https://docs.services.mozilla.com/ho...-sync-1.5.html).
Syncing stopped working, and I found the M2Crypto import error in Apache logs.
To get Sync server working back, I had to do:
Code:

make clean
make build

Cheers

cwizardone 12-23-2015 11:51 AM

The 23* December 2015 updates to -current included,

Quote:

l/M2Crypto-0.22.5-x86_64-1.txz: Upgraded.


*Late on the 22nd, actually.


All times are GMT -5. The time now is 04:50 PM.