(This message has been automatically imported from the retired mailing list)
Hello,
it was reported a couple of times that M2Crypto tends to be a component
that can be difficult to install, particularly on OS X.
Hence in commit e3366d884 [1] I’ve just replaced M2Crypto with rsa [2]
and PyCrypto [3] modules.
Why two of them?
I like the rsa’s API for encrypting and decrypting but it can only read
private keys stored in PKCS#1 whereas keys Zato’s development CA
produces are PKCS#8 hence PyCrypto is used to convert PKCS#8 to PKCS#1
which is then fed to rsa.
Both [2] and [3] are pure Python so installation will pose no issues.
[1] https://github.com/zatosource/zato/commit/e3366d884
[2] http://stuvel.eu/rsa
[3] https://www.dlitz.net/software/pycrypto/