aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/org/gnunet/voting/template.espec
blob: 292887aec5aae0d23842281f7c806c90747742a7 (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
61
62
63
# 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

# 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
ELECTION_START =

# election start time, as posix time stamp
# ELECTION_START_POSIX

# deadline for vote submission, in the local time of the election issuer
# must be later than ELECTION_START
ELECTION_END =

# At what time must an authority complete round X of the voting protocol
# (fixme: need to define exactly which rounds there will be...)
AUTHORITY_ROUND_X_TIME =

# 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 =


[voter]
# before a voter can submit his vote, the permission to do so
# must be given by the certificate authority of the election
# VOTER_PUB = ...
# VOTER_CERT = ...


[vote-data]
# 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>