diff --git a/helios/views.py b/helios/views.py index da61b2a79739b210a4ef6452b26e7e8a63cf3152..ebdc81fafa973097bd32e52819f84cc7f4cf4d10 100644 --- a/helios/views.py +++ b/helios/views.py @@ -514,9 +514,9 @@ def get_randomness(request, election): get some randomness to sprinkle into the sjcl entropy pool """ return { - # temporary fix - #"randomness" : base64.b64encode(os.urandom(32)) - "randomness" : base64.b64encode(uuid.uuid4().bytes + uuid.uuid4().bytes) + # back to urandom, it's fine + "randomness" : base64.b64encode(os.urandom(32)) + #"randomness" : base64.b64encode(uuid.uuid4().bytes + uuid.uuid4().bytes) } @json