giomasce/cms — pull request #6 by volpino (2012-03-30 13:14:52+00:00)
Title: Fixed random bits generator using pycrypto PRG

It's particularly unsafe to use weak PRGs like the one in Python's standard library (which is not designed for crypto).

This simple patch tries to use pycrypto's Random if it's present, otherwise uses the random module