<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jonathan Stray &#187; voting</title>
	<atom:link href="http://jonathanstray.com/tag/voting/feed" rel="self" type="application/rss+xml" />
	<link>http://jonathanstray.com</link>
	<description>Information, Culture, and Belief</description>
	<lastBuildDate>Fri, 27 Jan 2012 18:21:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>From Electronic to Cryptographic Voting</title>
		<link>http://jonathanstray.com/from-electronic-to-cryptographic-voting</link>
		<comments>http://jonathanstray.com/from-electronic-to-cryptographic-voting#comments</comments>
		<pubDate>Wed, 07 Jan 2009 12:52:16 +0000</pubDate>
		<dc:creator>Jonathan Stray</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[democracy]]></category>
		<category><![CDATA[elections]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[voting]]></category>

		<guid isPermaLink="false">http://jonathanstray.com/?p=170</guid>
		<description><![CDATA[Electronic voting machines were supposed to make elections cheaper, faster, and more secure, but so far they have failed. In the last decade there has been something of a rush to adopt  e-voting, followed by suspicion and controversy over the black-box, &#8220;just trust us&#8221; nature of the first generation of commercial systems, followed by a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Electronic_voting">Electronic voting</a> machines were supposed to make elections cheaper, faster, and more secure, but so far they have failed. In the last decade there has been something of a rush to adopt  e-voting, followed by suspicion and <a href="http://www.schneier.com/blog/archives/2006/11/voting_technolo.html">controversy</a> over the black-box, &#8220;just trust us&#8221; nature of the first generation of commercial systems, followed by a <a href="http://www.washingtonpost.com/wp-dyn/content/story/2008/10/29/ST2008102904129.html">return to paper ballots</a> in many jurisdictions. However, if we wish to improve election processes, cheap and fast is probably the wrong goal. It may be possible to use cryptographic techniques to implement <a href="http://en.wikipedia.org/wiki/End-to-end_auditable_voting_systems">end-to-end auditable</a> elections, new in human history.</p>
<p>The e-voting fiasco has illustrated that paper ballots are a better system than they might at first seem. Paper preserves voter secrecy, it is auditable after the fact, and it is even reasonably transparent, if one also allows election observers. But paper ballots must be closely guarded and cannot be directly counted by members of the general public, who in the end have no choice but to trust election officials,  observers, counting equipment, and the entire <a href="http://en.wikipedia.org/wiki/Chain_of_custody">chain of custody</a>. Rather than simply duplicating paper ballots electronically, we should strive to improve upon them.</p>
<p>This seems to be possible. Modern cryptography suggests the possibility of a new kind of incredibly transparent and fair election, where ordinary citizens can verify the soundness of the election for themselves, without ever needing to trust blindly that a huge array of machines and people have acted correctly. This represents a fundamentally new ability: for the first time, it may be possible to hold truly &#8220;open&#8221; elections.</p>
<p><span id="more-170"></span><strong>What are we trying to accomplish?</strong></p>
<p>Ideally, a democratic voting system would satisfy the following criteria:</p>
<ul>
<li>Secrecy: to prevent coercion or vote-buying, each person&#8217;s vote must be secret in perpetuity.</li>
<li>Transparency: all voting procedures must be public and understandable by everyone.</li>
<li>Verifiability: it must be possible to independently audit or validate the election results.</li>
<li>Usability: it must be easy to vote, and cheap to deploy the system for hundreds of millions of voters.</li>
</ul>
<p>In this way, each person would vote freely, while the entire society could have confidence in the outcome. The difficultly with these criteria is that they conflict: it is hard to preserve both secrecy and verifiability in a simple, transparent way.</p>
<p>Paper ballots fall short of the these ideals in many ways. They are nicely secret, and the process is reasonably transparent as there are public laws describing exactly how the votes are to be tallied, regulations providing for election observers, etc. However, independent audits are not really possible, because they require access to a large quantity of fragile and politically sensitive paper. In principle, we would like it to be possible for any regular citizen with sufficient time on their hands to perform a complete audit of the election results.</p>
<p>Elections results could be openly verified by publishing copies of every ballot cast, but only if there was some way to ensure that these copies were accurate. This could be done by issuing to each citizen to some sort of receipt of their vote which could be checked against the public list, but then votes would not be secret: they could be coerced or bought by offering a clandestine cash reward for receipts.</p>
<p>While paper ballots leave much to be desired, current electronic voting systems are worse. All e-voting machines are essentially &#8220;black boxes&#8221; that transform the voter&#8217;s choice into a final tally by some complex and unknown process. This makes them completely non-transparent. In the worst case, paperless <a href="http://en.wikipedia.org/wiki/DRE_voting_machine">direct recording electronic</a> (DRE) voting machines are not at all verifiable, which makes them subject to both invisible malfunction and deliberate hacking  (either <a href="http://www.openvotingfoundation.org/tiki-read_article.php?articleId=1">in the voting booth</a> or <a href="http://www.foxnews.com/story/0,2933,133214,00.html">at the tally station</a>.) There has never been a convincingly documented case of miscount or fraud with DRE machines, but that may only be because such machines leave absolutely no record of the election process!</p>
<p>Because of this, many American states <a href="http://select.nytimes.com/2007/01/10/opinion/11talkingpoints.html?_r=1">now require a paper record</a> even for otherwise electronic machines, but even paper audit trails are problematic: when is an audit performed? Will all ballots be routinely audited or just a sample? What is <a href="http://www.votetrustusa.org/pdfs/VTTF/EVEPAuditing.pdf">the right sample size for confidence</a> in the results? What happens if a discrepancy is discovered? Meanwhile, other states have <a href="http://www.washingtonpost.com/wp-dyn/content/story/2008/10/29/ST2008102904129.html">gone back to paper ballots entirely</a> and a number of electronic voting machines have been <a href="http://www.theregister.co.uk/2004/05/03/cal_decertifies_diebold/">de-certified</a>.</p>
<p><strong>Cryptographic Hope</strong></p>
<p>Enter cryptography, the discipline that has brought us such miracles as secure communication between two parties who have never exchanged any information in secret (<a title="it's still amazing to me the public-key cryptography is possible" href="http://en.wikipedia.org/wiki/Public-key_cryptography">public-key cryptography</a>), tamper-proof  electronic documents (<a href="http://en.wikipedia.org/wiki/Digital_signature">digital signatures</a>), and the ability to prove that one knows a secret without giving it away (<a title="zero-knowledge proofs are magic" href="http://en.wikipedia.org/wiki/Zero_knowledge_proof">zero-knowledge proofs</a>.) In the wake of these achievements, there has been some hope that proper cryptographic protocols will simultaneously solve the secrecy, transparency, and verifiability issues.</p>
<p>Voting might still be electronic in a cryptographic system, but the security of an election would rest on open cryptographic protocols rather than on trusted system implementations, the physical security of ballot boxes, or the honesty of certain people. Even better, the election results would be auditable at any time from public information, and each voter could verify that their own ballot was correctly recorded yet their personal vote would remain secret and unprovable.</p>
<p>Such a system is said to be <a href="http://en.wikipedia.org/wiki/End-to-end_auditable_voting_systems">end-to-end auditable</a>, and represents a fundamental shift: for the first time, it may be possible to hold completely &#8220;open&#8221; elections in the sense that governments and election officials would have no more authority or power than ordinary citizens. This is unprecedented in human history, and it is exciting.</p>
<p>It is also quite a trick, and has never been demonstrated in practice. Aside from secrecy, transparency, and verifiability, any proposed cryptographic voting system must guard against many different kinds of attacks. These include tampering and &#8220;denial of service&#8221; attacks against the election, such as the ability to spoil the election through some sort of interference (as might suit an opposition group) or to arbitrarily declare that it was spoiled in some non-disprovable way (as a dictator might wish to do.)</p>
<p><strong>A Toy Example: ThreeBallot</strong></p>
<p>Like much of modern cryptography, the simultaneous provision of both secrecy and verifiability seems counter-intuitive. To aid in the study and conceptualization of such systems, professor <a href="http://en.wikipedia.org/wiki/Ron_Rivest">Ron Rivest</a> of MIT (the &#8220;R&#8221; of <a href="http://en.wikipedia.org/wiki/RSA">RSA</a> fame) invented a &#8220;toy&#8221; voting system in 2006 called <a href="http://en.wikipedia.org/wiki/ThreeBallot">ThreeBallot</a>.</p>
<p>It works like this: each voter is given three identical ballots in the voting booth. To vote <em>for</em> a candidate, the voter writes a mark on <em>two</em> randomly chosen ballots; to vote <em>against </em>a candidate, only one randomly chosen ballot is marked.</p>
<p>A valid vote is one in which each candidate is marked on either one (against) or two (for) randomly selected ballots. This could be checked e.g. by an optical scanning machine, much as paper ballots are currently validated at polling stations.</p>
<p>Then the voter secretly chooses one of the ballots and makes a copy of it as a receipt; the others are dropped into the ballot box. Each of the three ballots has a unique serial number.</p>
<p>After the election, all ballots are published publicly, and anyone can tally the election results from these copies. Additionally, each voter can verify that their ballot was published accurately by looking up their receipt in the published list. Yet there is no way to use a receipt to determine who someone voted for, because the voter can arrange to have any particular set of markings on the receipt that they keep. The receipt also prevents tampering, because a would-be tamperer does not know which of the three ballots the voter has retained. Thus there is a 2-in-3 chance of getting away with tampering with (or deleting) any one vote, but only a (2/3)^N chance of getting away with tampering N votes &#8212; like tossing N heads in a row, these are very rapidly shrinking odds.</p>
<p>ThreeBallot was never meant to be a real election system, and in fact in a University class voting experiment ThreeBallot was found to have <a href="http://electionupdates.caltech.edu/?p=761">significant security and usability problems</a>: a third of voters couldn&#8217;t produce a correct set of ballots the first time, and a student &#8220;attacker&#8221; was able to manipulate about 20% of the votes cast, enough to change the election result. He did this in part by clandestinely reading other people&#8217;s receipts, such as those left in voting booths or on desks. This reminds us once again that security is always about much, much more than good cryptography.</p>
<p>However, the basic ideas of ThreeBallot &#8212; randomness in the vote-casting process, voter receipts, published ballots, and probabilistic tampering detection &#8212; are found in virtually all cryptographic voting schemes.</p>
<p><strong>Realistic Proposals<br />
</strong></p>
<p>Serious proposals are somewhat more complex. Some are designed to be entirely electronic while others are additions to paper ballot systems. Major proposals include <a href="http://en.wikipedia.org/wiki/Punchscan">Punchscan</a> (2006) by cryptographer David Chaum, <a href="http://en.wikipedia.org/wiki/Scantegrity">Scantegrity</a> (2007) by David Chaum and Ron Rivest, and <a href="http://eprint.iacr.org/2007/162.pdf">Bingo Voting</a> (2008) by a trio of German researchers. All of these systems are very cryptographically clever, but as always, security in the real world is about much more than cryptography. A <a href="http://naveen.ksastry.com/papers/cryptovoting-usenix05.pdf">2005 paper</a> considered how a real election system employing end-to-end auditable protocols might work, and proposed various non-cryptographic attacks including collection of receipts, social engineering of election workers, and denial-of-service attacks which could invalidate the entire election (such as hacking the voting machines to record spoiled ballots.)</p>
<p>Also, many problems just cannot be solved cryptographically. One major reason why we don&#8217;t have internet voting is that it is impossible to prevent coercion and vote buying if voters can mark their ballots at home. A physical polling booth can at least be secured against witnesses &#8212; though not against, say, someone who will pay for cell-phone camera pictures of a suitably marked ballot. A completely secure voting system is  probably completely impossible.</p>
<p>Nonetheless, there is hope for electronic voting systems, not because they would allow us to vote cheaper or faster or more conveniently, but because they hold the promise of more transparent elections. Would-be designers and implementers of voting systems must realize that the purpose of a voting system is not just to count votes, but to ensure that everyone believes that the process was fair, and to ensure that this fairness can be proved as easily and as widely as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://jonathanstray.com/from-electronic-to-cryptographic-voting/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

