progs/estonia.py
author Christian Urban <urbanc@in.tum.de>
Sat, 23 Sep 2017 19:52:27 +0100
changeset 523 7a6e8f603e08
parent 519 06f91010fe1e
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
519
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
#!/usr/bin/python2.7
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
# -*- coding: UTF8 -*-
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
"""
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
Copyright: Eesti Vabariigi Valimiskomisjon
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
(Estonian National Electoral Committee), www.vvk.ee
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
Written in 2004-2013 by Cybernetica AS, www.cyber.ee
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
This work is licensed under the Creative Commons
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
Attribution-NonCommercial-NoDerivs 3.0 Unported License.
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
To view a copy of this license, visit
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
http://creativecommons.org/licenses/by-nc-nd/3.0/.
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
"""
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
def analyze(ik, vote, votebox):
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
    #   TODO: implement security checks
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
    #   such as verifying the correct size
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
    #   of the encrypted vote
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
06f91010fe1e updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
    return []