# A short introduction to secrecy and verifiability for elections
Elizabeth A. Quaglia, Ben Smyth
September 19, 2018
*Many election schemes rely on art, rather than science, to ensure that choices are made freely and with equal influence. Such schemes build upon creativity and skill, rather than scientific foundations. These schemes are typically broken in ways that compromise free choice, e.g., (Gonggrijp and Hengeveld 2007; Bowen 2007; Wolchok et al. 2010, 2012; Springall et al. 2014), or permit adversaries to unduly influence the outcome, e.g., (Jones and Simons 2012; “Use of voting computers in 2005 Bundestag election unconstitutional” 2009; Bowen 2007; *Key issues and conclusions: May 2007 electoral pilot schemes* 2007). This article shows how such breaks can be avoided by carefully formulating security definitions, and proving that schemes satisfy these definitions. Equipped with these definitions, we can build election schemes that can be proven to behave as expected.*
Making choices in private has not always been the way. “Americans used to vote with their voices – viva voce – or with their hands or with their feet. Yea or nay. Raise your hand. All in favor of Jones, stand on this side of the town common; if you support Smith, line up over there" (Lepore 2008). Voting in public naturally enables election verifiability, since each voter can compute the outcome themselves. But, Mill (Mill 1830) eloquently argues that choices cannot be expressed freely in public: “The unfortunate voter is in the power of some opulent man; the opulent man informs him how he must vote. Conscience, virtue, moral obligation, religion, all cry to him, that he ought to consult his own judgement, and faithfully follow its dictates. The consequences of pleasing, or offending the opulent man, stare him in the face; ... the moral obligation is disregarded, a faithless, a prostitute, a pernicious vote is given." To ensure social constraints are kept at bay, voting became a private act. In particular, a voter typically marks their choice on a ballot paper in the isolation of a polling booth and deposits their marked paper into a locked ballot box. The isolation of the polling booth is intended to facilitate free choice at the time of marking. Moreover, privacy is preserved during tallying by mixing the ballot papers prior to counting. And “this idea has become the current doxa of democracy-builders worldwide" (Bertrand, Briquet, and Pels 2007). But, unlike raising hands, voters cannot be assured that ballots are counted correctly. Nonetheless, the transparency of the whole election process from ballot casting to tallying and the impossibility of altering the markings on a paper ballot sealed inside a locked ballot box gives an assurance of correctness. Transparency is lost in electronic election schemes, because software and hardware are used to construct ballots and transmit them over public communication channels, and it is difficult to observe electronic operations performed on bitstrings. Consequently, choices might be altered in ways that cannot be detected. This led to the rediscovery of verifiability, which has become an essential requirement (U.S. Vote Foundation 2015).
Rediscovering verifiability: A historic perspective on election scheme evolution
An election scheme is a decision-making mechanism to choose a representative (Lijphart and Grofman 1984; Saalfeld 1995; Gumbel 2005; Alvarez and Hall 2010), typically consisting of at least the following three steps. First, an administrator initialises the scheme (*setup*). Secondly, each voter constructs and casts a ballot for their choice (*voting*). These ballots are authenticated and recorded using a mechanism, e.g., a bulletin board. Thirdly, the administrator tallies the recorded ballots and announces an outcome, i.e., a frequency distribution of choices (*tallying*). This distribution is used to select a representative. For example, in first-past-the-post election schemes the representative corresponds to the choice with highest frequency.
Choices must be made freely,
which can be achieved by making choices in private (“Universal Declaration of Human Rights” 1948; “Document of the Copenhagen Meeting of the Conference on the Human Dimension of the CSCE” 1990; “American Convention on Human Rights, ‘Pact of San Jose, Costa Rica’” 1969) , the Organization for Security & Co‑operation in Europe (“Document of the Copenhagen Meeting of the Conference on the Human Dimension of the CSCE” 1990, para. 7.3) and the Organization of American States (“American Convention on Human Rights, ‘Pact of San Jose, Costa Rica’” 1969, Article 23) recommend achieving by making choices in private , i.e., “when numerous social constraints in which citizens are routinely and universally enmeshed – community of religious allegiances, the patronage of big men, employers or notables, parties, ‘political machines’ – are kept at bay" (Bertrand, Briquet, and Pels 2007). This has led to the emergence of the following requirement.
- Ballot secrecy: a voter’s choice is not revealed to anyone.
Ballot secrecy ensures that a voter’s choice is kept secret, which is intended to prevent unwanted consequences (including the preclusion of free choice) that might otherwise arise.
To illustrate how ballot secrecy can be achieved, we introduce a simple election scheme that instructs voters to encrypt their choices and instructs administrators to decrypt encrypted choices to obtain the outcome. More specifically, the scheme works as follows: first, the administrator generates a public key. Secondly, each voter encrypts their choice using that key. Finally, the administrator decrypts each encrypted choice and outputs the corresponding outcome. Intuitively, ballot secrecy is achieved if the underlying encryption scheme is secure, i.e., the encryption of a choice leaks no information about that choice.
Voters, and any other interested parties, must be able to convince themselves that the announced outcome is indeed the distribution of choices made by voters, which can be achieved by making elections verifiable, i.e., ensuring “there \[is\] enough evidence for anyone who doubts the results to re-examine and rationally determine whether the \[outcome was\] called correctly" (U.S. Vote Foundation 2015). Election verifiability can be captured by the following requirements.
- Individual verifiability: voters can check that the ballots they constructed are recorded.
- Universal verifiability: anyone can check that the announced outcome is the distribution of voters’ choices expressed in the recorded ballots.
Taken together, these properties intuitively ensure that anyone can convince themselves that the announced outcome corresponds to the choices expressed in the recorded ballots, and voters can convince themselves that their ballot is included amongst the ballots recorded, hence, their choice is included in the outcome announced by the administrator. Election verifiability requires election schemes to provide an additional (*verification*) step to perform the necessary checks.
Verifiability is not ensured by our election scheme based upon encryption. Indeed, a spuriously announced outcome need not even correspond to the encrypted choices! We introduce a simple election scheme that achieves verifiability. The scheme instructs each voter to pair their choice with a random value (i.e., a nonce) and instructs the administrator to compute the election outcome from those pairs. This scheme ensures verifiability, because voters can use their nonce to check that their ballot is recorded (individual verifiability) and anyone can recompute the election outcome to check that it corresponds to votes expressed in recorded ballots (universal verifiability). But, ballot secrecy is not ensured, because all votes are revealed. To simultaneously satisfy both secrecy and verifiability, more advanced schemes are required.
A rich selection of election schemes have been proposed in the research literature. One of the most prominent schemes is *Helios* (Adida et al. 2009), an open-source, web-based election system. The notoriety of Helios is partly due to its elegant construction and use in binding elections. For instance, by the ACM, the International Association of Cryptologic Research, the Catholic University of Louvain, and Princeton University. The scheme works as follows: first, an administrator generates a public key and a proof of correct key construction (setup). Secondly, each voter encrypts their choice with the public key, proves correct ciphertext construction, and casts the ciphertext coupled with the proof as their ballot (voting). Thirdly, the administrator collects the ballots cast, discards any ballot for which proofs do not hold, homomorphically combines the ciphertexts in the remaining ballots to derive the encrypted outcome, decrypts, proves correctness of decryption, and announces the outcome and proof (tallying). Finally, any interested party recomputes the aforementioned combination and verifies all proofs, and voters verify that the ballots they constructed are amongst those collected (verification). Helios was first implemented as Helios 2.0. It is intended to satisfy ballot secrecy due to encryption, and election verifiability because encryption and decryption steps are accompanied by proofs.
One way to evaluate security of a scheme is to formulate the desired security properties and check whether the scheme satisfies them. Cryptographers formulate security properties using *games* (Katz and Lindell 2007). Typically, a game consists of a series of interactions between a benign challenger and a malicious adversary. An adversary wins a game if it successfully completes a challenge set by the challenger (e.g., distinguish between two scenarios). Winning captures an execution of the scheme in which the desired security property does not hold. Thus, when formulating a game, the challenge captures what the adversary should not be able to achieve. Formulating such games is at the core of modern cryptography. Equipped with a game that captures some security property, we can formally prove whether a scheme achieves that property.
The remainder of this article will explore fundamental security properties for elections, namely, ballot secrecy and verifiability. The definitions we consider are suitable for a large class of election systems. And we demonstrate their applicability by reviewing security of Helios.
# Ballot secrecy
Ballot secrecy could be formulated as game $\mathsf{G}$, which proceeds as follows: the adversary $A$ picks choices $v_0$ and $v_1$; the challenger $C$ constructs a ballot for one of these choices, that is, the challenger selects a bit $\beta$ uniformly at random and constructs a ballot, denoted $b(v_\beta)$, for choice $v_\beta$; and the adversary must determine which choice the ballot is for, that is, the adversary must determine $\gamma$ such that $\gamma = \beta$. If the adversary wins, then a voter’s choice can be revealed, otherwise, it cannot, i.e., the election scheme provides ballot secrecy. Helios 2.0 satisfies this notion of security, because choices are protected by encryption.
[tikzpicture diagram omitted]
Game G
[tikzpicture diagram omitted]
Game G′Game G′
Game $\mathsf{G}$ is too weak, because election schemes announce election outcomes and such information can be used to reveal voters’ choices. Thus, it is necessary to extend the game to include some tallying capability which permits the adversary to learn the outcome. We derive game $\mathsf{G}'$ as a strengthing of game $\mathsf{G}$, whereby the challenger additionally tallies the ballot it constructed and gives the resulting outcome to the adversary. (That is a strengthening, because there are more ways to win game $\mathsf{G}'$, indeed, any adversary that wins against $\mathsf{G}$ can also win against $\mathsf{G}'$, moreover, an adversary against $\mathsf{G}'$ can exploit additional information – namely, the outcome – to win.) However, such an outcome includes only the choice used by the challenger to construct the ballot, from which the adversary can trivially determine what choice the ballot is for. Thus, the game is unsatisfiable. This is inevitable, because there are some scenarios in which outcomes reveal choices (most notably, when all voters make the same choice), as well as scenarios in which outcomes, coupled with partial knowledge on the distribution of voters’ choices, allow voters’ choices to be deduced. For example, suppose Alice, Bob and Mallory participate in a referendum, and the outcome has frequency two for *yes* and one for *no*. Mallory and Alice can deduce Bob’s choice by pooling knowledge of their own choices. Similarly, Mallory and Bob can deduce Alice’s vote. Furthermore, Mallory can deduce that Alice and Bob both voted *yes*, if she voted *no*. For simplicity, our informal definition of ballot secrecy deliberately omitted side-conditions which exclude these inevitable revelations. We refine our definition as follows.
> A voter’s choice is not revealed to anyone, except when the choice can be deduced from the outcome and any partial knowledge on the distribution of choices.
This refinement ensures the aforementioned examples are not violations of ballot secrecy. By comparison, if Mallory’s choice is *yes* and she can deduce the choice of Alice, without knowledge of Bob’s choice, then ballot secrecy is violated.
r.34 *\[tikzpicture diagram omitted\]*
We can weaken game $\mathsf{G}'$, in accordance with the refined definition of ballot secrecy, so that the adversary does not win by exploiting inevitable revelations (i.e., the adversary loses when the choice can be deduced from the outcome and any partial knowledge on the distribution of choices). However, in such a game, the outcome includes only the choice used by the challenger to construct the ballot, from which the adversary can trivially determine what choice the ballot is for. Yet, the refined definition excludes the adversary’s success in this case, since the choice is deduced from the outcome. Thus, the adversary can never win. We need a new approach.
We introduce game $\mathsf{H}$, which proceeds as follows. The game is initialised by the challenger picking a bit $\beta$ uniformly at random. The adversary picks choices $v_0$ and $v_1$, the challenger constructs a ballot for $v_\beta$, and gives the ballot to the adversary. The challenger then constructs a ballot for $v_{1-\beta}$ and gives that ballot to the adversary too. Thus, the challenger constructs ballots for $v_0$ then $v_1$, or vice-versa. The challenger tallies the two ballots and gives the resulting outcome to the adversary. (For simplicity, we represent outcomes as multisets of choices.) The adversary must determine if $\beta = 0$ or $\beta=1$. This game is satisfied by Helios 2.0, because tallying ballots for $v_0$ and $v_1$, or ballots for $v_1$ and $v_0$, results in an outcome with frequency one for each of choices $v_0$ and $v_1$, since the operator to combine encrypted choices is commutative.
r.34 *\[tikzpicture diagram omitted\]*
Game $\mathsf{H}$ strengthens game $\mathsf{G}$ to include a tallying capability, whilst avoiding the problems associated with game $\mathsf{G}'$. However, game $\mathsf{H}$ is also too weak, because it does not consider that voters might be malicious or influenced by an adversary. Thus, some attacks cannot be detected. Indeed, Helios 2.0 is vulnerable to the following attack: an adversary observes a voter casting their ballot, casts a copy of that ballot as their own, and deduces the voter’s choice from the election outcome (Cortier and Smyth 2013). For example, in an election with voters Alice, Bob, and Mallory, if Mallory casts a copy of Bob’s ballot, then she can deduce Bob’s choice as the choice in the outcome with frequency two or greater.
To detect the attack against Helios 2.0, we extend game $\mathsf{H}$ to (optionally) include the adversary picking a ballot and the challenger tallying that ballot along with the two ballots constructed by the challenger. We call this game $\mathsf{BS}$. Helios 2.0 is not secure with respect to this game, because it detects the aforementioned attack, whereby Mallory casts a copy of Bob’s ballot. This attack can be attributed to tallying meaningfully related ballots, and omitting such ballots from tallying (i.e., ballot weeding) is intended to serve as a defence. Indeed, the next Helios release, henceforth Helios’12, plans to incorporate ballot weeding to mitigate against this attack. As a result, Helios’12 satisfies the notion of ballot secrecy captured by game $\mathsf{BS}$ (cf. (Bernhard, Pereira, and Warinschi 2012; Bernhard et al. 2015)).
In the games considered so far, the challenger always tallies the ballots it constructed and the adversary cannot exclude those ballots from tallying. This corresponds to recording all cast ballots, which introduces a trust assumption on both the mechanism used to record ballots and the communication channels used to cast ballots. Attacks that arise when this trust assumption is not upheld cannot be detected. For example, attacks that require cast ballots to be excluded from tallying are not detected. Indeed, without such an assumption, Helios’12 is vulnerable to an attack: Mallory observes Alice’s ballot, derives a related ballot, excludes Alice’s ballot from tallying, and exploits a relationship that arises between Alice’s choice and the election outcome to deduce Alice’s choice. This attack is similar to the attack against Helios 2.0, which involved tallying meaningfully related ballots. The difference here is that a related ballot is derived and the original ballot is discarded, yet the relationship between Alice’s choice and the outcome remains, which permits the attack. In this instance, ballot weeding is not possible, because the original ballot is discarded. Nevertheless, the attack can be prevented by eliminating the possibility to construct related ballots.
The voter selects a choice v from a list of choices 1, …, ℓ and computes ciphertexts Enc(pk, m1), …, Enc(pk, mℓ − 1) such that if v < ℓ, then plaintext mv is 1 and the remaining plaintexts m1, …, mv − 1, mv + 1, …, mℓ − 1 are 0, otherwise, all plaintexts are 0. The voter also computes proofs σ1, …, σℓ so that this can be verified: proof σ1 demonstrates Enc(pk, m1) is a ciphertext on plaintext 0 or 1, and similarly for proofs σ2, …, σℓ − 1, and proof σℓ demonstrates that the homomorphic combination of ciphertexts Enc(pk, m1), …, Enc(pk, mℓ − 1) contains 0 or 1. The voter outputs the ciphertexts and proofs as their ballot. Hence, the ballot is for exactly one choice, and this can be verified by checking proofs.
The administrator collects ballots for which the encapsulated proofs all hold, forms a matrix of the encapsulated ciphertexts, i.e., $$\begin{aligned}
\begin{array}{r@{\hspace{3mm}}c@{\hspace{3mm}}r}
\cellcolor{light-gray} \mathsf{Enc}(\mathit{pk},m_{1,1}) & \cellcolor{light-gray} \ \ \dots \ \ & \cellcolor{light-gray} \mathsf{Enc}(\mathit{pk},m_{1,\ell-1}) \\
\multicolumn{1}{c}{\vdots} & & \multicolumn{1}{c}{\vdots} \\
\cellcolor{light-gray} \mathsf{Enc}(\mathit{pk},m_{k,1}) & \cellcolor{light-gray} \ \ \dots \ \ & \cellcolor{light-gray} \mathsf{Enc}(\mathit{pk},m_{k,\ell-1}),
%
\intertext{homomorphically combines the ciphertexts in each column to derive
the encrypted outcome, i.e.,}
%
\mathsf{Enc}(\mathit{pk},\Sigma_{i=1}^k m_{i,1}) & \ \ \dots \ \ & \mathsf{Enc}(\mathit{pk},\Sigma_{i=1}^k m_{i,\ell-1}),
%
\intertext{decrypts the homomorphic combinations to reveal the frequency of choices
$1,\dots,\ell-1$, i.e.,}
%
\Sigma_{i=1}^k m_{i,1} & \ \ \dots \ \ & \Sigma_{i=1}^k m_{i,\ell-1},
\end{array}
\end{aligned}$$ computes the frequency of choice ℓ by subtracting the frequency of any other choice from the number of collected ballots, i.e., k − Σj = 1ℓ − 1Σi = 1kmi, j, and announces the outcome as those frequencies, along with a proof demonstrating correctness of decryption.
Helios: Ballot construction and tallying (Smyth 2018a)
Ballot secrecy can be formulated as a game that eliminates the undesirable assumption that all cast ballots are recorded and tallied, and considers the adversary casting arbitrarily many ballots. The game is more complex than the games we have considered, since it must introduce non-trivial side conditions to ensure the adversary does not win by exploiting inevitable revelations, and we refer the reader to (Smyth 2018b) for details. Using this game, attacks against Helios’12 can be detected (Smyth 2018b). Nonetheless, a variant of Helios (Smyth, Frink, and Clarkson 2017), henceforth Helios’16, that uses ballots from which meaningfully related ballots cannot be constructed (i.e., non-malleable ballots) (Smyth 2018b; Smyth, Hanatani, and Muratani 2015), is not vulnerable to such attacks and is proven to satisfy this formulation of ballot secrecy.
We have introduced a variant of Helios that satisfies ballot secrecy, but ballot secrecy does not ensure free choice when adversaries are able to communicate with voters nor when voters deviate from the prescribed voting procedure to follow instructions provided by adversaries. Indeed, Helios does not prevent a voter from showing an adversary how they computed their ballot to reveal their choice. In the presence of such adversaries, election schemes must satisfy stronger notions of free choice, such as receipt-freeness and coercion resistance.
By exploring various formulations of ballot secrecy, we have seen how challenging defining a security property can be. Indeed, researchers toil away to get the subtle details of definitions right. Their efforts are well-placed, since these definitions enable the design of new, provably secure schemes, as well as the discovery of vulnerabilities in existing schemes. The evolution of Helios showcases the value of such work. Indeed, vulnerabilities were discovered against Helios 2.0 and Helios’12, and Helios’16 was developed to overcome these vulnerabilities. But, are these efforts sufficient?
A formal security definition essentially captures a model of possible interactions between some scheme and an adversary, and a scheme can be proven to satisfy the security definition if no adversary can break security within the context of the model. It follows that no adversary can break security of the deployed scheme, as far as the model captures interactions between the deployed scheme and any adversary. Hence, a model that underestimates adversarial capabilities may miss attacks and a model that overestimates adversarial capabilities may report false attacks. For instance, game BS does not capture attacks by adversaries that control the mechanism used to record ballots or the communication channel used to cast ballots, consequently it misses attacks.
Practicality: Defining security properties is challenging, are efforts well-placed?
# Election verifiability
r.34 *\[tikzpicture diagram omitted\]*
To satisfy individual verifiability, each voter must be able to check that their ballot has been recorded. Thus, the recorded ballots must be publicly accessible. In this setting, it suffices to enable voters to uniquely identify their ballot amongst the recorded ballots. This property can be formulated as game $\mathsf{IV}$, which proceeds as follows: the adversary provides any inputs necessary to construct a ballot, including a choice $v_0$; the challenger constructs a ballot using those inputs; and the adversary and challenger repeat the process to construct a second ballot for choice $v_1$. The adversary wins if the two independently constructed ballots are equal. Winning signifies the existence of scenarios in which voters cannot uniquely identify their ballot, thus voters cannot be convinced that their ballot is recorded. To achieve individual verifiability, ballots must be constructed in a non-deterministic manner. This can be achieved by including an encrypted choice in the ballot. Indeed, Helios 2.0, Helios’12 and Helios’16 all achieve individual verifiability in this way (Smyth, Frink, and Clarkson 2017).
r.34 *\[tikzpicture diagram omitted\]*
To satisfy universal verifiability, anyone must be able to check that the announced outcome corresponds to the choices expressed in the recorded ballots. An election scheme’s verification step is intended to perform such checks, hence, it suffices to consider this step when formulating the security property. Thus, universal verifiability can be formulated as game $\mathsf{UV}$, which proceeds a follows: the adversary provides inputs necessary for verification, including outcome $\mathfrak v$ and recorded ballots $b(v_1),\dots,b(v_n)$, and it wins if the outcome does not correspond to the choices expressed by those recorded ballots, yet verification succeeds, i.e., $c( \mathfrak v,b(v_1),\dots,b(v_n)) = {\top}$. At first glance, Helios 2.0 appears to satisfy universal verifiability. Indeed, proofs of correct computation are produced in the setup, voting and tallying steps, and these proofs are checked during verification. Moreover, an abstract model of Helios 2.0 is proven to satisfy a notion of universal verifiability (Kremer, Ryan, and Smyth 2010). However, the mechanism to construct proofs in Helios 2.0 is unsuitable and this gives way to vulnerabilities that enable the administrator to inject an arbitrary number of choices in the outcome (Bernhard, Pereira, and Warinschi 2012; Chang-Fong and Essex 2016). (The abstract model did not consider the details of the mechanism used to construct proofs, hence, the attack could not be detected in that model.) Helios’12 is intended to mitigate against this attack. In particular, the mechanism to construct proofs is modified. But, Helios’12 is reliant on ballot weeding, which is compatible with ballot secrecy (Smyth and Bernhard 2013), but not with universal verifiability (Smyth, Frink, and Clarkson 2017). Indeed, in Helios’12, Mallory can cast a ballot for a choice related to Alice’s choice in a way that only Mallory’s choice is included in the outcome. Yet, verification would accept this outcome, despite Alice’s choice being excluded, hence the announced outcome does not correspond to the choices expressed. This is an undesirable effect of the weeding procedure used by Helios’12. By comparison, Helios’16 uses non-malleable ballots, thereby avoiding the need for ballot weeding. And it is proven to satisfy universal verifiability (Smyth, Frink, and Clarkson 2017).
We consider election schemes in which the administrator tallies ballots. And definitions of ballot secrecy implicitly assume that the administrator tallies the recorded ballots and nothing more. Thus, ballot secrecy can only be assured when the administrator is honest. Indeed, if the administrator is dishonest, then each recorded ballot can be tallied individually to reveal voters’ choices. This trust assumption can be weakened by distributing the administrator’s role. Moreover, it can be eliminated in decentralised election schemes, such as (Schoenmakers 1999; Hao, Ryan, and Zieliński 2010; Khader et al. 2012), for example. Unlike ballot secrecy, individual and universal verifiability do not make any trust assumptions about the administrator.
Trust administrators for secrecy, but not verifiability
# Closing remarks
We have explored the fundamental properties that are necessary to ensure that election schemes behave as expected. The exploration reveals how our understanding of those expectations has evolved, culminating in the emergence of formal, cryptographic definitions of properties necessary to fulfil expectations. We have provided insights into definitions of secrecy and verifiability, allowing us to learn and appreciate the underlying intuition and technical details of these notions.
Equipped with definitions, we can build election schemes that can be proven to behave as expected. And, as an illustrative example, we reviewed Helios’16, which was built and proven secure in this way. The definitions can also be used to analyse existing election schemes, and vulnerabilities have been uncovered. Indeed, we have described a series of vulnerabilities that were discovered during the analysis of Helios 2.0, which advanced our understanding of system behaviour and prompted the design of Helios’16. Moreover, the definitions are applicable beyond Helios. For instance, Smyth, Frink & Clarkson (Smyth, Frink, and Clarkson 2017) have shown that neither Helios-C (an extension of Helios) (Cortier et al. 2014) nor JCJ (an election scheme achieving coercion resistance) (Juels, Catalano, and Jakobsson 2010) satisfy the definition of universal verifiability, and propose a variant of JCJ that does. Moreover, Smyth has shown that implementations of the mixnet variant of Helios do not satisfy universal verifiability, and proposes a variant that satisfies both universal verifiability (Smyth 2018c) and ballot secrecy (Smyth 2018b).
The variant of Helios with a mixnet (Adida 2008) works as follows: first, as per Helios, an administrator generates a public key pk and a proof of correct key construction. Secondly, each voter selects a choice v, computes ciphertext Enc(pk, v) and a prove demonstrating the ciphertext is valid, and casts the ciphertext coupled with the proof as their ballot. Thirdly, the administrator collects ballots for which the encapsulated proof holds, inputs the encapsulated ciphertexts to a mixnet, and decrypts the mixed ciphertexts to reveal the choices. That is,
where π is a permutation on {1, …, k}. Moreover, the administrator derives the frequency of each choice and announces the outcome as those frequencies, along with proofs demonstrating correctness of mixing and decryption. Finally, any interested party checks that the outcome corresponds to the decrypted choices and that all proofs verify, and voters verify that the ballots they constructed are amongst those collected.
Variant of Helios with a mixnet
We deliberately described cryptography and accompanying security proofs as a panacea that enables the construction of secure election schemes. We must now make a confession. There is more to this story: secure election schemes must be implemented in software, and we must prove that software is implemented as prescribed. In particular, secrecy requires setup, voting and tallying steps be implemented as prescribed; individual verifiability requires the voting step be implemented as prescribed; and universal verifiability requires the verification step be implemented as prescribed. (Indeed, games $\mathsf{BS}$ and $\mathsf{IV}$ both construct ballots in the prescribed manner, and game $\mathsf{UV}$ verifies ballots in the prescribed manner. Thus, any conclusions drawn from security proofs only apply when the relevant steps are followed in the prescribed manner.) Proving correct implementation is a lot more work. And that is still not enough. The issues go beyond technology: “Voting is as much a perception issue as it is a technological issue. It’s not enough for the result to be mathematically accurate; every citizen must also be confident that it is correct" (Schneier 2006). Thus, proven secure election schemes are essential. Indeed, we have seen how vulnerabilities were discovered whilst attempting to prove Helios secure. Yet, proven secure election schemes are not sufficient. And implementing secure election schemes remains a significant research challenge.
Our notions of secrecy and verifiability generalise beyond elections. For instance, definitions of ballot secrecy and election verifiability can be adapted to capture definitions of bid secrecy and auction verifiability, and auction schemes satisfying bid secrecy and auction verifiability can be derived from elections schemes satisfying analogous security properties (McCarthy, Smyth, and Quaglia 2014; Quaglia and Smyth 2018). Thereby inaugurating the unification of auctions and elections. Moreover, the notions generalise to other settings that require strong forms of integrity and privacy.
This article contributes to the science of security by sharing valuable insights into elections and by demonstrating the value that formal definitions and analysis have in building schemes guaranteed to behave as expected. In particular, formulations of secrecy and verifiability facilitate the construction of secret, verifiable election schemes. Indeed, we have seen how Helios has advanced to thwart some attacks.
We hope this article aids democracy-builders in deploying their systems and helps educate administrators, policymakers and voters worldwide.
#### Acknowledgements.
We are grateful to Aisha Chudasama Mahmud, Moshe Vardi and our anonymous reviewers for feedback that helped improve this article, and to Maxime Meyer for illustrating our games using PGF/Ti*k*Z.
# References
Adida, Ben, Olivier de Marneffe, Olivier Pereira, and Jean-Jacques Quisquater. 2009. “Electing a University President Using Open-Audit Voting: Analysis of Real-World Use of Helios.” In *EVT/WOTE’09: Electronic Voting Technology Workshop/Workshop on Trustworthy Elections*. USENIX Association.
Alvarez, R. Michael, and Thad E. Hall. 2010. *Electronic Elections: The Perils and Promises of Digital Democracy*. Princeton University Press.
“American Convention on Human Rights, ‘Pact of San Jose, Costa Rica’.” 1969.
Bernhard, David, Véronique Cortier, David Galindo, Olivier Pereira, and Bogdan Warinschi. 2015. “SoK: A comprehensive analysis of game-based ballot privacy definitions.” In *S&p’15: 36th Security and Privacy Symposium*, 499–516. IEEE Computer Society.
Bernhard, David, Olivier Pereira, and Bogdan Warinschi. 2012. “How Not to Prove Yourself: Pitfalls of the Fiat-Shamir Heuristic and Applications to Helios.” In *ASIACRYPT’12: 18th International Conference on the Theory and Application of Cryptology and Information Security*, 7658:626–43. LNCS. Springer.
Bertrand, Romain, Jean-Louis Briquet, and Peter Pels. 2007. “Introduction: Towards a Historical Ethnography of Voting.” In *The Hidden History of the Secret Ballot*. Indiana University Press.
Bowen, Debra. 2007. “Secretary of State Debra Bowen Moves to Strengthen Voter Confidence in Election Security Following Top-to-Bottom Review of Voting Systems.” California Secretary of State, press release DB07:042.
Chang-Fong, Nicholas, and Aleksander Essex. 2016. “The Cloudier Side of Cryptographic End-to-end Verifiable Voting: A Security Analysis of Helios.” In *ACSAC’16: 32nd Annual Conference on Computer Security Applications*, 324–35. ACM Press.
Cortier, Véronique, David Galindo, Stéphane Glondu, and Malika Izabachène. 2014. “Election Verifiability for Helios under Weaker Trust Assumptions.” In *ESORICS’14: 19th European Symposium on Research in Computer Security*, 8713:327–44. LNCS. Springer.
Cortier, Véronique, and Ben Smyth. 2013. “Attacking and fixing Helios: An analysis of ballot secrecy.” *Journal of Computer Security* 21 (1): 89–148.
“Document of the Copenhagen Meeting of the Conference on the Human Dimension of the CSCE.” 1990.
Gonggrijp, Rop, and Willem-Jan Hengeveld. 2007. “Studying the Nedap/Groenendaal ES3B Voting Computer: A Computer Security Perspective.” In *EVT’07: Electronic Voting Technology Workshop*. USENIX Association.
Gumbel, Andrew. 2005. *Steal This Vote: Dirty Elections and the Rotten History of Democracy in America*. Nation Books.
Hao, Fao, Peter Y. A. Ryan, and Piotr Zieliński. 2010. “Anonymous voting by two-round public discussion.” *Journal of Information Security* 4 (2): 62–67.
Jones, Douglas W., and Barbara Simons. 2012. *Broken Ballots: Will Your Vote Count?* Vol. 204. CSLI Lecture Notes. Center for the Study of Language; Information, Stanford University.
Juels, Ari, Dario Catalano, and Markus Jakobsson. 2010. “Coercion-Resistant Electronic Elections.” In *Towards Trustworthy Elections: New Directions in Electronic Voting*, edited by David Chaum, Markus Jakobsson, Ronald L. Rivest, and Peter Y. A. Ryan, 6000:37–63. LNCS. Springer.
Katz, Jonathan, and Yehuda Lindell. 2007. *Introduction to Modern Cryptography*. Chapman & Hall/CRC.
*Key issues and conclusions: May 2007 electoral pilot schemes*. 2007. UK Electoral Commission.
Khader, Dalia, Ben Smyth, Peter Y. A. Ryan, and Feng Hao. 2012. “A Fair and Robust Voting System by Broadcast.” In *EVOTE’12: 5th International Conference on Electronic Voting*, 205:285–99. Lecture Notes in Informatics. Gesellschaft für Informatik.
Kremer, Steve, Mark D. Ryan, and Ben Smyth. 2010. “Election verifiability in electronic voting protocols.” In *ESORICS’10: 15th European Symposium on Research in Computer Security*, 6345:389–404. LNCS. Springer.
Lepore, Jill. 2008. “Rock, Paper, Scissors: How we used to vote.” *Annals of Democracy, The New Yorker*, October.
Lijphart, Arend, and Bernard Grofman. 1984. *Choosing an electoral system: Issues and Alternatives*. Praeger.
McCarthy, Adam, Ben Smyth, and Elizabeth A. Quaglia. 2014. “Hawk and Aucitas: e-auction schemes from the Helios and Civitas e-voting schemes.” In *FC’14: 18th International Conference on Financial Cryptography and Data Security*. Vol. 8437. LNCS. Springer.
Mill, James. 1830. “The Ballot.” In *The Westminster Review*. Vol. 13. Robert Heward.
Quaglia, Elizabeth A, and Ben Smyth. 2018. “Secret, Verifiable Auctions from Elections.” *Theoretical Computer Science* 730: 44–92.
Saalfeld, Thomas. 1995. “On Dogs and Whips: Recorded Votes.” In *Parliaments and Majority Rule in Western Europe*, edited by Herbert Döring. St. Martin’s Press.
Schneier, Bruce. 2006. “Voting Technology and Security.” .
Schoenmakers, Berry. 1999. “A Simple Publicly Verifiable Secret Sharing Scheme and Its Application to Electronic Voting.” In *CRYPTO’99: 19th International Cryptology Conference*, 1666:148–64. LNCS. Springer.
Smyth, Ben. 2018a. “A Foundation for Secret, Verifiable Elections.” Cryptology ePrint Archive, Report 2018/225.
———. 2018b. “Ballot secrecy: Security definition, sufficient conditions, and analysis of Helios.” Cryptology ePrint Archive, Report 2015/942.
———. 2018c. “Verifiability of Helios Mixnet.” In *Voting’18: 3rd Workshop on Advances in Secure Electronic Voting*. LNCS. Springer.
Smyth, Ben, and David Bernhard. 2013. “Ballot secrecy and ballot independence coincide.” In *ESORICS’13: 18th European Symposium on Research in Computer Security*, 8134:463–80. LNCS. Springer.
Smyth, Ben, Steven Frink, and Michael R. Clarkson. 2017. “Election Verifiability: Cryptographic Definitions and an Analysis of Helios, Helios-C, and JCJ.” Cryptology ePrint Archive, Report 2015/233 (version 20170111:122701).
Smyth, Ben, Yoshikazu Hanatani, and Hirofumi Muratani. 2015. “NM-CPA secure encryption with proofs of plaintext knowledge.” In *IWSEC’15: 10th International Workshop on Security*, 9241:115–34. LNCS. Springer.
Springall, Drew, Travis Finkenauer, Zakir Durumeric, Jason Kitcat, Harri Hursti, Margaret MacAlpine, and J. Alex Halderman. 2014. “Security Analysis of the Estonian Internet Voting System.” In *CCS’14: 21st ACM Conference on Computer and Communications Security*, 703–15. ACM Press.
“Universal Declaration of Human Rights.” 1948.
U.S. Vote Foundation. 2015. “The Future of Voting: End-to-End Verifiable Internet Voting.”
“Use of voting computers in 2005 Bundestag election unconstitutional.” 2009. Bundesverfassungsgericht (Germany’s Federal Constitutional Court).
Wolchok, Scott, Eric Wustrow, J. Alex Halderman, Hari K. Prasad, Arun Kankipati, Sai Krishna Sakhamuri, Vasavya Yagati, and Rop Gonggrijp. 2010. “Security Analysis of India’s Electronic Voting Machines.” In *CCS’10: 17th ACM Conference on Computer and Communications Security*, 1–14. ACM Press.
Wolchok, Scott, Eric Wustrow, Dawn Isabel, and J. Alex Halderman. 2012. “Attacking the Washington, D.C. Internet Voting System.” In *FC’12: 16th International Conference on Financial Cryptography and Data Security*, 7397:114–28. LNCS. Springer.