aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/org/gnunet/voting/template.espec
blob: 9af5a797b45bce2e29af22e2848bcf2086e73980 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Ballot template.
# A Ballot contains public information at various stages of an election.

[election]

# human-readable topic description of the election
TOPIC =

# choices for the voter, separated by a double slash
CHOICES = yes//no

# group of elegible voters, voters must be certified by the CA to
# belong to this group
GROUP =

# starting time of the election, in the local time of the election issuer
# authorities affirm that they are available for the election from this point in time
TIME_START =

# what is the deadline for vote submission?
# after this deadline, authorities work together to count ballots
TIME_CLOSING =

# when may results be queried?
TIME_QUERY =

# FIXME: specify more parameters for consensus? which ones?
# CONSENSUS_PARAMETERS =

# public key of the certificate authority
CA_PUB =

# public key of the election issuer
# ISSUER_PUB =


[authorities]
# specified as <authority-alias> = <peer-identity>, one entry for each authority; e.g.
# awesome_authority_one = 123abc


[registration-signatures]
# will be filled in by gnunet-vote-call once
# authorities agreed to participate, with one entry per authority
# <authority-alias> = <signature>


[registration-issuer]
# the signature of the issuer will be filled in by gnunet-vote-call,
# signing the sections 'election' and 'authorities'
# ISSUER_SIGNATURE =


[vote]
# voter signature, pubkey, group cert,
# encrypted vote and non-interactive zero knowledge proofs come here


[vouchers]
# signatures by the authorities that counted the ballot, in the form of <alias> = <sig>