News for hackers. Stuff that matters.
Re:CHVote: Open-source e-voting system from Switzerland by PaulRobinson on Wednesday December 14, 2016 @08:08AM (#13175654)
How do you know the ballot box you put your vote into is being taken to be counted and recorded, and not simply destroyed and another ballot box introduced?

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.

Re:CHVote: Open-source e-voting system from Switzerland by Klathmon on Wednesday December 14, 2016 @08:10AM (#13175664)
>How do you know the ballot box you put your vote into is being taken to be counted and recorded, and not simply destroyed and another ballot box introduced?

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...

Re:CHVote: Open-source e-voting system from Switzerland by tribaal on Wednesday December 14, 2016 @08:31AM (#13175775)
To clarify on top of Klathmon's point: this actually happens in Switzerland, it's not just a theoretical argument.

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).

Re:CHVote: Open-source e-voting system from Switzerland by Klathmon on Wednesday December 14, 2016 @08:41AM (#13175835)
That's nice to know!

If you don't mind me asking, how does Switzerland handle those which are required to work on election days?

That's one of the ugliest parts of the US election system to me, is the fact that many people need to fit the election around their work schedule, and I know of at least 3 people that couldn't get time to vote this year, and my state makes it so you basically need to be actively deployed in the military, or be hospitalized to get an absentee ballot.

Re:CHVote: Open-source e-voting system from Switzerland by tribaal on Wednesday December 14, 2016 @08:49AM (#13175887)
Like I added in my edit, there is almost no such case: Sundays are a mandatory day off for most. That means you can't go shopping on a Sunday, except in very few shops (train station shops have exceptions). Doctors, pharmacies and most other emergency things operate on a reduced schedule.

I'm not certain what would happen if say a nurse working a shift in an ICU was selected. I'm pretty sure it's either announced early enough that the hospital would have to switch shiftees or they would be given a pass for free. I suspect a person working in a train station shop on a Sunday would tell their boss, and would simply be shifted to another time (it's not like the boss or the employee can do anything about it - it's law).

EDIT: to clarify once again - I'm pretty sure it does happen, but the case is probably rare enough for it not to matter too much. The rule works for a good 90% of cases, exceptions can certainly be done on a case-by-case basis at community level.

Re:CHVote: Open-source e-voting system from Switzerland by JorgeGT on Wednesday December 14, 2016 @09:29AM (#13176134)
In Spain, where the system is similar to what you described (staff for the day is chosen at random from all citizens in that voting district, and similar to jury duty), some professionals (doctors, nurses, air controllers, etc.) can decline the request if they will be on watch, and there are assigned replacements for them.

A non-critical worker cannot refuse but:

a) Chosen citizens are paid, even if not much (60€ I think).

b) Chosen citizens have the following Monday morning free, should they need to travel back to their job site, etc.

c) Chosen citizens have strong legal protections should their boss try anything.

In practice, when an employee is chosen for election duty the boss just deals with it as best as they can, since it's a case where judges and police are super strict: messing with election duty will get you heavy fines and/or jail time. So no-one is going to fire you or retaliate if you are assigned election duty.

Re:CHVote: Open-source e-voting system from Switzerland by aoloe on Wednesday December 14, 2016 @10:28AM (#13176622)
In my current commune of residence, I have been (s)"elected" for that task during a couple of years and:

- I never had to show up (there seem to be enough people volunteering...). - If you have good reasons, you can contest the election.

(IIRC, formally, I've been elected to that task... but I have no idea who did elect me...).

Re:CHVote: Open-source e-voting system from Switzerland by nickik on Wednesday December 14, 2016 @09:21AM (#13176090)
Switzerland has easy mail voting for everybody. I have never once in my live voted by going somewhere.
Re:CHVote: Open-source e-voting system from Switzerland by tribaal on Wednesday December 14, 2016 @09:43AM (#13176252)
Sure, you don't have to. But you can (and many people do).

EDIT: also, the mail goes to one of these places where people are standing around watching the people counting (your community's townhall, usually)

Re:CHVote: Open-source e-voting system from Switzerland by aninhumer on Wednesday December 14, 2016 @08:49AM (#13175886)
I've been thinking lately that it shouldn't just be possible to watch the ballet process end-to-end, it should be actively encouraged.

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.

Re:CHVote: Open-source e-voting system from Switzerland by germanier on Wednesday December 14, 2016 @09:05AM (#13175984)
In all the German elections I participated the only people watching (apart from the regular citizens that are appointed official poll workers) were the few people showing their children how voting works - and they leave after a few minutes because let's be honest, counting ballots is rather boring. It would be nice if a few more people were watching the process.
Re:CHVote: Open-source e-voting system from Switzerland by eternalban on Wednesday December 14, 2016 @09:47AM (#13176285)
> counting ballots is rather boring

So is pulling down a lever and watching spinning wheels. Permit placing bets on the outcome. Turn it into entertainment. That always works. And if money is involved, people will triple check. [oh the Humanity. I forget now if this comment started as an /s.]

Re:CHVote: Open-source e-voting system from Switzerland by trymas on Wednesday December 14, 2016 @11:25PM (#13182402)
To add to your point, also with ballot system it's very hard to change results. You can by a few votes, though it's a drop in the water compared how much you can buy and how many vote. If you want to change the outcome of the vote - you need to have a lot of resources (look at Crimea's occupation by Russia). Where's with e-voting, there could be few north koreans who would be able to compromise e-voting system in the country, which is on the other side of the world, just for the kicks.
Re:CHVote: Open-source e-voting system from Switzerland by LeifCarrotson on Wednesday December 14, 2016 @10:48AM (#13176818)
I suppose that I could, in theory, watch it. It's a physical ballot, so we could do that. But does anyone actually do this? And more importantly, are all the votes watched?

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.

Re:CHVote: Open-source e-voting system from Switzerland by Klathmon on Wednesday December 14, 2016 @11:07AM (#13177008)
paper voting is so great because it scales so well.

There is no one person counting millions of votes. There are people counting hundreds or even thousands of votes in every precinct. Then from there they are publicly announced, and then anyone and everyone can tally up the totals.

The more people that vote, the more precincts there are, so the amount that any one person or place is responsable for (even only partially) is kept small so that mistakes or "bad actors" can only do a very small amount of damage on their own.

And if you read down in this submission a bit, people are pointing out that some countries (namely Switzerland) not only encourage people to watch ballot boxes and count along, but actually "draft" people to do it similar to a jury-duty kind of thing in the US.

Also I think you are severely underestimating the difficulty of auditing code. For starters, it completely removes the ability for the vast majority of the population to audit even if they wanted to. non-programmers can't read programming. Not to mention the illiterate, the elderly, and anyone else that doesn't have the knowledge to be able to read and follow a programming language.

Then there's the amount of time it takes. Watching a ballot box takes the duration of the election day. A day at most. Auditing every inch of a codebase? Months, years, even longer. You can point out that not everyone has to review every single line, but then you are back to letting a fraction of a percent of the population validate the code (and in a ballot box system, you can have everyone validate the process, adding magnitudes more redundancy that something shady will be caught). And what percentage of programmers do you think have a good enough grasp on cryptographic protocols and voting systems to be able to correctly and securely vet a system like this? I'd be willing to bet good money there are less than a thousand of them in the united states, and by sheer (un)luck at least one of them will be a "bad actor".

But probably the biggest thing is that to sway a "paper and pencil" election, you need materials, you need a LOT of people, and all it takes is one person to see what's going on and it all collapses. If you're really clever, you might be able to get away with changing the outcome of a single precinct, but what about the rest of the county? the state? the nation? In 2012 there were 2712 voting precincts in virginia alone. Orchestrating a system where you can put a person at a majority of them that will do something nefarious to sway the election means you are looking at 1000 people spread across a not-insignificant amount of land. And that's just for one state.

With an electronic voting system, one bug is all it takes. One vulnerability, one crypto flaw, one guy somewhere that can put the backdoor in the manufacturing of the CPUs for the vote counters. A single person can (if the are very smart and lucky) completely change the outcome of the election. And they might get caught, but the chances are much smaller than if it required thousands of people at the least to do so.

Re:CHVote: Open-source e-voting system from Switzerland by VLM on Wednesday December 14, 2016 @08:33AM (#13175797)
Every state does things a little differently, but where I live paper ballots enter an optical scanner and every dozens/hundreds of ballots a subtotal is printed on a continuous stored piece of cash-register like tape. The presumably neutral election volunteers and the opposing party observers are fascinated by that tape every time it prints something. I don't know if there's a law or mere gentleman's agreement to not report results until after the polls close, but something is being periodically reported.

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.

Re:CHVote: Open-source e-voting system from Switzerland by a_c_s on Wednesday December 14, 2016 @09:25AM (#13176112)
In the USA it is common for election work to be run or observed by pairs of majority-party workers: one Democrat and one Republican. So there are multiple pairs of eyes watching the boxes by people of different parties.

This doesn't make funny business impossible but does make it both unlikely and difficult to tamper with on a large scale.

Re:CHVote: Open-source e-voting system from Switzerland by lostboys67 on Wednesday December 14, 2016 @08:58AM (#13175940)
When I did poll watching (for knocking up supporters) for Labour a while back we where not allowed in the building and you could not have anything with the candidates name on within 50 or 100 yards - plain rosettes where ok.
Re:CHVote: Open-source e-voting system from Switzerland by huxley on Wednesday December 14, 2016 @09:40AM (#13176234)
Just FYI

UK: Knocking up - visiting, in this case going door to door to canvass voters

North America: Knocking up - making pregnant