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