New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove m2crypto #23348
Remove m2crypto #23348
Conversation
- RSA key generation and import/export using PyCrypto - PKCS1 v1.5 signature generation and verification using PyCrypto - SHA1 using PyCrypto - RSA ANSI X9.31 signature generation & verification using OpenSSL libcrypto via ctypes Still needed: - rework salt/modules/x509.py - test :)
Awesome! |
Gah! I was going to apply the AWESOME! |
Failures are due to the PyCrypto RNG not being re-initialized after a fork(). Doing this is a one-liner but after looking at the stack traces I'm not sure where to put it. Maybe @cachedout or @thatch45 can help? |
+1 |
Yes, good call @msteed! PyCrypto needs the RNG to be massaged. Likely in the MWorker in master.py, maybe in the start method |
Remove M2Crypto as a dependency. Backward-compatible functionality is implemented using PyCrypto and calls into OpenSSL libcrypto.