437 points · by porker · 9y ago · 192 comments
For electing state officials, no. A voting scheme needs to be designed for the worst possible circumstances which practically means a bordering civil war, and where trust between voters is zero at best. Voting allows revolution to take place peacefully.
Therefore the method of voting needs to be understood, carried over, and be verifiable by the common (wo)man. No electronic scheme can do that: anything that runs in software means that the correctness of the system depends on the experts' word only, and that word is likely to mean nothing when half the population is already collecting arms.
No paper ballot in box scheme can do that: anything that is run by officials means that the correctness of the system depends on the officials' word only.
Please sign up and observe your local elections. The Australian Ballot system (private voting, public counting) is time proven, battle hardened.
Paper ballots cast at precincts counted when the polls close is the gold standard. It works because opposing belligerents agree on the outcome. Trust forged from mutual distrust.
Paper ballots permit guaranteeing the physical chain of custody. You should show up and help keep that guarantee.
Here in Romania there were cases when two or more parties agree to cancel the votes for the opposition or even count them as theirs.
The security of a digital systems is "good enough" IMO, especially if there's a public cryptographically verifiable ledger. We bank online where the banks essentially only hold cash in the form of a database entry. The benefits of digital voting means we can have more granular input in our government's operations. I don't see paper ever scaling to meet that demand.
In most countries parties or volunteer groups nominate their own observers. UN can send their own observers.
Electronic voting is by far most vulnerable. It's not the algorithms, it's all other tings around them and verifying them.
To change the outcome of an paper ballot election you need to have thousands of thousands of people on your side and have everybody keep quite.
Do most people trust the officials? Sure. But any campaign with enough volunteers is able to verify everything.
It's to an extent possible to mount a local attack with paper ballots but its cost is an effort too great that it doesn't scale. You would basically have to get your own people, or paid people, to swap the ballots while nobody else is watching to get the results you want in one election district.
Because ballots need to be saved for recounting the marks on the ballots also need to be sufficiently distinct so that they don't look like they all come from a photocopier. Again, if there seems to be anything fishy, people can and will organise to redo the election locally, this time with different representatives from the parties.
With digital voting, vulnerabilities and malware and automated attacks scale to all systems involved and theoretically a single entity can rewrite the election results of the whole nation. Worse yet, it may not be evident whether the results are skewed or not as it's just digits in a computer and those can be changed without a trace.
Then again, it appears in some countries you can just claim millions of fraudulent votes without any proof without being called out for it.
> No paper ballot in box scheme can do that: anything that is run by officials means that the correctness of the system depends on the officials' word only.
This comparison is flawed, the entire correctness of a electronic scheme could only be verified by a few experts, whereas in every polling place with a paper ballot, there is a committee, and witnesses of the vote count. Proving the correctness of a paper ballot system such as the one described in [1] is trivial.
Ultimately, the correctness doesn't even depends solely on officials: In the course of the day, the polling station officials ask voters whether they want to participate in ballot counting as tellers. Voters can also volunteer to do so ; candidates can nominate tellers as well.
[1] http://www.elections-legislatives.fr/en/system.asp (search for "How are the ballots counted"). The presidential elections protocol is the same as the one described here.
[1]: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-bu...
Even with paper ballot we still have to trust the people/devices counting the votes.
As an American citizen theres no website I can go to and check my vote. How do I know it was even counted, or properly registered.
If such a site existed, vote buying and/or coercion would be a lot more prevalent.
Two or more block chains. Each run by different parties. And a need for the same vote to show up on multiple blockchains to count. The voters would visit multiple websites to cast their votes which would then be verified between the various block chains, potentially by software that anyone can run on their own computer or vps. Every single person does not have to vote on multiple platform. Just enough that you can validate the voting.
This paper shows you know to achieve exactly that. You can vote anonymously and receive a proof that your vote was counted correctly, without ever telling anyone what that vote was. To prove that your vote was miscounted, I believe you do need to reveal who you voted for, but you can prove to the world that there was fraud.
This paper solves one of the major problems with blockchain based voting, but there are many more. I don't endorse blockchain voting.
For the future let's see how they will manage external contributions. Opening the code for transparency is a good point (even if this still doesn't ensure you that the same version of the code is running in production on trusted hardware), but doing this on GitHub will certainly bring some contributions. Will they refuse everything? Or accept external contributions? Will they use GitHub as the central development process? If not how are they going to handle the development in intern in regards with external contributions? Also are they going to do all commits with this dedicated state-account? Who will be part and what would be the process for reviewing and accepting external contributions, to be sure they are not adding backdors purposely desguised as mistakes? Having a state starting to work on open-sourcing such a sensitive software in Switzerland opens a wide range of interesting questions. Maybe, and probably, this has already been discussed in other countries or even other part of Switzerland, but in the state of Valais (Switzerland) this is at least not the case.
It's not the first project under state control in Switzerland that is on GitHub. I'm also aware of geo-admin [2] who have their sources there. As far as I saw, they are handling GitHub much more professionally.
[0] https://github.com/republique-et-canton-de-geneve/chvote-1-0
[1] https://github.com/republique-et-canton-de-geneve/chvote-1-0...
For me, they haven't fixed the problem GUN.FREE highlighted when they decided to shut down (https://www.gnu.org/software/free/), but they have highlighted the risks and made them harder to exploit.
I need to sit down and think about attack vectors properly, as the process is quite convoluted, but it seems to me there are multiple opportunities for key personnel to change votes and to identify whom voted for each outcome - the scope is limited, and within a very small step due to ballot shuffling, but it definitely is there on a first read-through.
https://github.com/vvk-ehk/evalimine/blob/master/ivote-serve...
> Election().count_questions()
> Election().is_hes()
> for el in Election().get_questions()
> Election().is_voters_list_disabled()
Election is a singleton so they keep reinstantiating it every time they want to use it instead of just doing
> election = Election()
at the module level and having a more idiomatic singleton (module variable are singletons). But a singleton design probably isn't the best approach.
The singleton example isn't that bad of code since it assumes that one server will run one election which is a valid assumption, but reading through this code makes me weary about e-voting. I think this proves that OpenSource doesn't always mean good code. There is little incentive for people outside of Estonia to contribute to the project.
if __name__ == '__main__':
passThey have some voting system - a black box - and they believe it works and no one has hacked it.
I have compiled a list of reading materials here for those who are interested.
I just don't get the draw of an electronic voting system.
Paper works, and it works well. Anyone that can count can validate a single precinct. You can have one person, or 100 people all standing there watching a ballot box all day for tampering. You can have a whole group of people count the results, or just a few.
In a traditional paper system, swaying a single precinct with "blackhat" methods takes a lot of physical resources, a lot of time, and in most cases a lot of people. Then multiply that by every precinct in the country, and it quickly becomes pretty much impossible to do (and get away with).
I've said it before, and i'll say it again. Electronic voting is dangerous and is a very bad idea. And it doesn't matter if it's FOSS, it doesn't matter if it's vetted, it doesn't matter what safeguards are put in place, all it takes is one mistake. One fuckup, and someone can now choose the leader of a nation.
And replacing a system where literally everyone can validate a system on voting day if they want to with a system where only a fraction of a fraction of people can even read and understand the code, let alone validate the code (and can't actually validate the hardware, or make sure what is running on the hardware is actually that code), and it takes a magnitude more time to do so, just isn't a good idea.
Make elections cheap. For those that wish to experiment with majority rules a reliable system would allow the people to technically be able to vote in their government on a daily, weekly, monthly basis.
So further to this if elections are easy to run and are cheap what does it matter if someone breaks one election? You can just run the next one fine. It changes the variables somewhat and requires a sustained and persistent threat to be engaged to subvert the democracy. Combined with a team that investigate irregularities you can create a vaguely stable system, especially if you consider ideas such as binding authentication to geography instead of identity making it more difficult to stuff ballot boxes as teams can easily verify how many votes should be possible from a specific gps co-ordinate.
I'm not saying its a great idea, its probably awful but it opens up an option to society that previously hasn't been available and that's interesting.
An interesting simpler direct majority rule scheme is to halt elections completely and use jury selection techniques to select decision makers. What we'd lose in expertise we'd more than gain in the lack of sociopaths and psychopaths. A government completely of jury duty/draft would be far more effective than the one we have, which is probably why no one in power wants it.
> what does it matter if someone breaks one election? You can just run the next one fine
This assumes it's easy to detect manipulation which I think is very unlikely.
Edit: according to Wikipedia, Switzerland has 13 national referendums (not "referenda" apparently) in 2016 so not as many as I thought. https://en.m.wikipedia.org/wiki/Swiss_referendums,_2016
Paper works, and it works well. Anyone that can count can validate a single precinct
Add to that there's not really a need to speed up deployment of the results for elections and referendums in Switzerland.Except for the "house of representatives" (Nationalrat) where it can take a tad longer due to the complexities of the vote, results are usually in at voting day before 6pm (Voting closes at noon).
I'm also deeply reluctant to accept the necessities of electronic voting. Given all parameters it's a really hard (if not impossible) problem to crack.
As a late sleeper, I find this voting system biased and unfair.
There is always going to be a weak point where you have to trust somebody - this is why party members should not be involved in every step from setting constituency borders, all the way to being in charge of any balloting and reporting results. It needs to be independent (e.g. in the UK it is fiercely independent of party members' involvement at any level).
The interesting attack vector here is your ISP could trick you. That can be mitigated with certificates and some of the measures banks use to identify themselves to customers (strings that you added at registration being displayed at login that only you know, etc.)
But yes, a hard problem to solve.
You can watch it.
With a "ballot box" system, you could get there, put your vote in the box, then sit there and watch it all day until it's counted. Hell if you want you could get there and inspect the box before they start voting.
And it's not just you that can do that, everyone can do that regardless of profession, age, race, background, education, etc...
Actually, the government is required to have some people watching the counting (specific rules vary on a per-canton basis). Some states select random citizens for that (similar to jury duty in the US - you get fined if you don't show up, but get paid for your time). Other states have a pool of people they choose from randomly (you volunteer for the pool).
EDIT: Furthermore, Swiss people vote in their community. It's not like you need to go out of your way to watch the counting - it happens in your town hall or (sometimes) the school. It always happens on Sundays (which is a required day off in Switzerland except in some rare cases).
Voting days should be public holidays, polling stations should be festivals, and moving ballet boxes should be a parade.
We hold festivals like these for far less important purposes, so why not celebrate the foundation of our society.
It's completely impractical to try to watch millions of physical ballots. Or to even simply count to a million without making a mistake.
But if the voting was done (correctly, securely) in software, each person could independently audit the complete results. And to be clear, it's the overall election being audited that's important, not my vote in particular.
Perhaps it would be more difficult to understand the algorithm and code than following a physical ballot, but not a million times more difficult.
The subtotal tape cries out to have a block chain added to make it impossible to rewrite history. Once the five neighboring precincts hash and sign my precincts results it would be very difficult to later fake historical results.
There is of course the false assumption that everyone involved in elections wants a fair election, in which case systems will be constrained to make a fair election impossible, with technologies such as e-voting or obscure registration procedures or strange voting laws in general. But its very easy to run a fair election if the people running it want it that way. If. The sheer amount of problems indicate a very large number of people actively discourage democracy in practice.
This doesn't make funny business impossible but does make it both unlikely and difficult to tamper with on a large scale.
UK: Knocking up - visiting, in this case going door to door to canvass voters
North America: Knocking up - making pregnant
The solution seems simple at first glance; scrap the entire voting system, scrap the entire fundraising system, and whichever candidate receives more individual $1 donations via check or money order wins. You can vote a dollar to as many candidates as you want but your federal tax return for that year is only getting a single $1 election credit. You could require the candidates to declare to the IRS each $1 contributor which makes election fraud also a form of income tax fraud.
Certainly, our financial marketplaces and clearinghouses at their absolute worst are more trustworthy and reliable than our evoting systems at their absolute best. And the additional infrastructure to transfer a hundred million bucks every four years is utterly trivial (well, more often due to primaries and midterm elections, but its still a drop in the bucket ...)
The anonymity emperor has no clothes, anyway. Thanks to the miracle of modern technology everyone who matters already knows exactly who you voted for and your complete financial life, you're just plausibly deniable on an individual basis against some non-state opfor some of the time. May as well face reality and make all votes part of the public financial record. Sure, it sucks. But better to face a reality you don't like, than to live in a fantasy world of completely broken anonymity. Living a lie means you'll slip up and the consequences of the slip up are likely worse than the lack of anonymity itself.
No, if you don't trust that your paper vote is actually counted you could stay in the election hall all day, watch the counting, check the when the results are transmitted. You don't have any comparable option with e-voting.
But how do you verify that the Computer actually does what is in the Bytecode?
"But how do you verify that the Computer actually does what is in the Bytecode?" It is much closer to the original question. hardware backdoors is a difficult topic
"CHVote, entirely developed, hosted and exploited by the Geneva Canton"
:) It's paragraph in english, or section.
I'm guilty of it as well. Despite English being my primary language for the last 10 years, whenever I read my previous comments I catch glaring mistakes.
English is my primary language as well but turns out living in a French-speaking country will do this to you.
Please, study how election administration (in the USA) works to better assess these new technologies, techniques, systems.
TLDR: Electronic (mediated) voting schemes cannot guarantee both the secret ballot and public count. Tech which may do one, or perhaps even both, hasn't even been conceived, must less invented.
Ring signatures are good for it for example:
https://en.wikipedia.org/wiki/Ring_signature#cite_note-FS07-...
1. Authenticity - One vote per citizen.
2. Secrecy - no one, not even the government, should know who voted for who.
3. Verifiability - I know my vote counts.
So if you have a login/password, #2 (logs are too easy) and #3 are out.
With a Blockchain, #1 is out (how do you verify that a private key is owned by a citizen)?
Theoretically, we have figured out the entire thing pretty damn well, we just need someone to try it ;)
Also, explaining blockchain to the general population and "assuring" them will be the hardest part. People will revolt and think it's rigged and have no understanding of how it works. Even politicians are clueless...so, yeah, not sure how far off we are on this hah.
So how is the citizen ID blockchain linked with the voting blockchain?
At the moment, the open sourced part is the "offline administration application" in the green box at the top right.
https://github.com/republique-et-canton-de-geneve/chvote-1-0...
North America isn't "the north part of America" -- the continent is named "North America."
So the nationality is American but citizens of the continent are North American or South American respectively.
The people's of North and South Americans aren't collectively known as "Americans." In French americain refers to "one who is from the United States." It's the same in multiple languages. Even Spanish refers to people from the US as americanos.
This is a subtle thing and in the grand scheme really makes no difference unless someone feels so strongly about it that they want to change multiple languages.
The American Embassy is not referred to anywhere (in English) as The United States Embassy --
edit: actually "US Embassy" is common, sorry for the misstatement. However American Embassy is very commonly used by diplomatic personnel and in general conversation. --
I don't understand why a certain subset of people, generally from South and Central America have such an obsession with this. Canadians never refer to themselves as Americans. In fact, many would resent such a thing.
https://www.sta.be.ch/sta/de/index/wahlen-abstimmungen/wahle... (German)
is there a comparison of this voting system versus the others that exist?
Nobody says you can not run electronic voting, its just hard to do it securely. India does not do it securely.
See here for lots of information (India should be mentioned somewhere: https://media.ccc.de/search/?q=voting)
Which is why I was asking the question on comparison. Because I'm not able to figure out if it is yet-another-voting-system... or something this is peer reviewed and secure.
The problem with a weekly vote of confidence is you're just going to motivate massive chronological engineering such as doing everything unpopular the same week and taking the lumps and hoping no one notices, or playing mixing games that have nothing to do with good governance to ram something unpopular thru the same week something happy happens (or possibly refusing to do something popular until a stockpile of equal and opposite unhappiness accumulates).
Its not bad that both good and bad things happen simultaneously, its bad that they have to be stockpiled and delayed until they match up for weekly election reasons.
I can only imagine how awful this would work for situation where the government is sort of expected to lie for awhile, longer than a week anyway. Foreign diplomacy, military action, negotiations of all kinds, sometimes faking people out for more than a week is necessary to achieve victory in the longer term (like on a scale of months years decades centuries)
Another problem with weekly confidence votes is what happens if the government gets tossed out three times in a month, as could happen if the electorate are generally pissed off. You can't really form a government and operate and judge its operation in a mere week.
Now maybe an annual confidence vote is achievable. Maybe. Or maybe one weekly no confidence vote means little more than internal "WTF are we doing" conversations, but more than 7 no confidence in a 13 week quarter means they all resign, something like that.
https://en.wikipedia.org/wiki/Electronic_voting_in_Brazil
Still, I would not trust an electronic system unless it printed a paper receipt behind a glass window, and dropped it into a box when I hit the submit button.
And I don't know if the source code be provided to every voter on request, as voting is the service provided by the machine.
Edit: Yeah, there are exemptions for voting machines in [A]GPLv3.
I'd love to know what the Swiss themselves think about this system.
To any Swiss people on HN :
— Do you feel this had a positive impact on society?
— Maybe more important, would you recommend this to other governments?
So there's no fault in not knowing!