PyCrypto : AssertionError(“PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()”)
I am creating various processes that do different tasks. One of them and only one of them, has a security module that creates the PyCrypto objects. So my program starts, creates the various processes, the process that handles messages uses the security module to decrypt and I get the following errors: firstSymKeybin = self.cipher.decrypt(encFirstSymKeybin, '') File "/usr/local/lib/python2.7/dist-packages/Crypto/Cipher/PKCS1_v1_5.py", line 206, in decrypt m = self._key.decrypt(ct) File "/usr/local/lib/python2.7/dist-packages/Crypto/PublicKey/RSA.py", line 174, in decrypt return pubkey.pubkey