An Ethereum Voting Scheme That Doesn't Give Away Your Vote
In Malta this week, researchers revealed a proposal for secure blockchain voting that involves no third party for privacy or tallying votes.
:format(jpg)/cloudfront-us-east-1.images.arcpublishing.com/coindesk/JSDCTMOF7VETVJIGHOFCX6C64U.jpg)
:format(jpg)/cloudfront-us-east-1.images.arcpublishing.com/coindesk/JSDCTMOF7VETVJIGHOFCX6C64U.jpg)
:format(jpg)/cloudfront-us-east-1.images.arcpublishing.com/coindesk/BEJNCU7L5JDNZGWHJSTCIQWAQ4.jpg)
Voting on the blockchain sounds like a brilliant idea, promising to eliminate fraud while providing complete transparency to the final results.
But in practice, blockchain voting is extremely difficult to implement in a way that both keeps the votes private (so you don't know how a person voted) and doesn’t require a third party.
There are a few voting apps already out there, like the Blockchain Voting Machine, Follow My Vote and TIVI, that use the blockchain as a ballot box. But each of these, in some way or another, relies on a third party to achieve voter privacy.
At the Financial Cryptography and Data Security Conference in Malta this week, however, a PhD student from Newcastle University in the UK, caught audience attention when he stepped forward with a proposal for secure voting that involves no third party for privacy – or for tallying votes.
Patrick McCorry's Open Vote Network is a smart contract written in Solidity, where ethereum takes over the work of the trusted third party.
The solution, McCorry said, is ideal for boardroom voting, although not for large groups.
He explained the idea to CoinDesk:
Hurdles to overcome
When McCorry and his fellow researchers first took on the project, they ran up against two issues.
The first was that, in designing a voting scheme in ethereum, the platform would not compute the final tally until the final voter cast a vote, requiring 100% participation. The second was an adaptive issue where the final voter was able to compute the tally before casting a vote. This posed a problem, since knowing the vote tally upfront has the potential to sway a person’s vote.
However, using ethereum and cryptography, the Open Vote Network team found a way around both problems.
The system works like this: an election admin sends ethereum a 'white list' of voters. Later, when a voter registers for an election, he or she puts down a small deposit. Voters then have a limited time to cast their vote, or lose the deposit.
When a vote is cast, it is first encrypted before being submitted to ethereum. Once all the votes are in (or the time limit for voting is up), ethereum computes the tally, keeping votes private.
And once the final voter casts a vote, he or she cannot change that vote, even after computing the tally.
McCorry explained that his approach rides on the fact that the people in the election are known — an advantage in that it allows the use of peer pressure to encourage voting.
Road ahead
Moving forward, McCorry foresees a time when decentralized vote collections are implemented widely.
"We wanted to show that decentralized elections were possible. Because it has been in academic literature for years, but it has never been practically implemented," McCorry said.
He added that the project – the code for which is now available on Github – also demonstrates that ethereum can support cryptography, as the Open Vote Network uses both ElGamal and zero-knowledge proofs.
McCorry concluded by saying that he and his team are moving on to research use of the blockchain for larger-scale elections.
Voting image via Shutterstock. Event image via Amy Castor for CoinDesk
DISCLOSURE
Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.
The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.
Learn more about Consensus 2024, CoinDesk’s longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.