News for hackers. Stuff that matters.
Re:Are Blockchains the Answer for Secure Elections? Probably... by maldeh on Thursday August 16, 2018 @05:50PM (#17778707)
This feels a bit backwards to me - is the goal to describe and implement a "secure election", or to apply blockchain to X?
Re:Are Blockchains the Answer for Secure Elections? Probably... by dragontamer on Thursday August 16, 2018 @05:54PM (#17778733)
Indeed. Furthermore, "secure elections" are a solved problem. Have paper ballots, and scan them later. If you have any reason to suspect the scanners, then throw away the scanners and then proceed by hand.

There are statistical methods to count a small number by hand (+ corroborate with poll results) to ensure a degree of consistency. Chi-squared distributions and stuff (I'm not a mathematician, but I'm sure there's some statistical method to verify the results without counting everything by hand).

The main problem with blockchain is that it requires everyone to trust the blockchain. With humans counting by hand, you don't require any trust. As long as the ballots are properly stored, you can always recount the results.

Re:Are Blockchains the Answer for Secure Elections? Probably... by aeternus on Thursday August 16, 2018 @06:20PM (#17778885)
You still require trust with the paper ballots, there are multiple threat models:

- System needs to ensure everyone votes only once

- Ensure each person meets the qualifications to vote

- Ensure ballots cannot be counterfeit or additional ballots inserted somehow

- Ensure votes are confidential throughout the process

- Ensure voters cannot prove their votes to others

- Ensure the people counting are trusted or the results checked / verified

- Ensure all ballots are actually counted

One significant negative with the paper ballot method is that voters cannot confirm the last point. I have no way of confirming that my ballot was actually counted and contributed to the final tally's.

Re:Are Blockchains the Answer for Secure Elections? Probably... by DennisP on Thursday August 16, 2018 @06:30PM (#17778943)
Re:Are Blockchains the Answer for Secure Elections? Probably... by votepaunchy on Thursday August 16, 2018 @10:07PM (#17779819)
ThreeBallot was broken (and the fix unworkable).

https://en.wikipedia.org/wiki/ThreeBallot#Broken_Encryption

Re:Are Blockchains the Answer for Secure Elections? Probably... by DennisP on Saturday August 18, 2018 @09:43AM (#17788417)
Thanks, didn't know that. What about the other variants?
Re:Are Blockchains the Answer for Secure Elections? Probably... by foepys on Thursday August 16, 2018 @06:28PM (#17778931)
To attack paper ballots you need people. Like thousands of people working with you to manipulate important elections directly at the source.

With electronic voting, you potentially need a single person with a computer on the other side of the globe exploiting a security flaw, that will inevitably be there. Whoever claims to write bug free software is a conman.

I also don't want to be able to verify my vote. If I can, that means that somebody else also can. Given how tech-illiterate the average human is, voting crypto keys will be littered all around the internet.

Re:Are Blockchains the Answer for Secure Elections? Probably... by aeternus on Thursday August 16, 2018 @07:23PM (#17779223)
>I also don't want to be able to verify my vote. If I can, that means that somebody else also can. Given how tech-illiterate the average human is, voting crypto keys will be littered all around the internet.

Right, I should have been more clear. You typically do want voters to be able to prove that they voted and that their vote was counted, but you do not want voters to be able to prove the contents of their vote (who they voted for).

Re:Are Blockchains the Answer for Secure Elections? Probably... by kosievdmerwe on Thursday August 16, 2018 @08:45PM (#17779547)
Pretty much all those points apply with electronic voting too.

With electronic voting I pretty much lose the ability to verify my vote wasn't changed. With paper I can achieve a high level of confidence that a significant number of votes didn't get changed as lots of people with opposing interests are watching each other.

With electronic voting:

- I can't read the code since it's likely closed source (and not many people can read code)

- Even if it's open source I can't verify that the code I verified is running the code I verified. A USB port is a security risk, any printout can be forged and finally I certainly wouldn't be allowed to inspect the machine's insides. And this is ignoring all the other code on the machine in stuff like the touch screen controller etc.

- So given that the code is a blackbox, I can't verify that my vote hasn't been changed silently, especially since the crypto token I'm given doesn't allow me to verify my vote.

Whereas, with paper ballots, the average person is able to understand the risks and be able to mitigate them. Especially, since you'll have people with opposing votes trying to find the other side cheat.

Elections are too important and people are motivated to try and hack them, since the likelihood of getting caught hacking is much smaller than the massive effort you'd need to materially affect a paper ballot.

Re:Are Blockchains the Answer for Secure Elections? Probably... by icebraining on Thursday August 16, 2018 @06:35PM (#17778978)
It doesn't scale to every voter, but in my country anyone can request to witness the opening of the local sealed boxes and the subsequent count.
Re:Are Blockchains the Answer for Secure Elections? Probably... by gruez on Thursday August 16, 2018 @06:37PM (#17778988)
>- Ensure voters cannot prove their votes to others

>- Ensure all ballots are actually counted

aren't these two contradictory?

Re:Are Blockchains the Answer for Secure Elections? Probably... by throwawaymath on Thursday August 16, 2018 @06:41PM (#17779016)
I believe aeternus means proving the contents of the vote, not simply that they voted. In that case, no, they're not contradictory.
Re:Are Blockchains the Answer for Secure Elections? Probably... by nixpulvis on Thursday August 16, 2018 @06:10PM (#17778831)
Calling "secure elections" a solved problem made me laugh.
Re:Are Blockchains the Answer for Secure Elections? Probably... by swerveonem on Thursday August 16, 2018 @06:25PM (#17778920)
Thanks for pointing that out. I laughed too. Shill obviously works for a problem.
Re:Are Blockchains the Answer for Secure Elections? Probably... by nixpulvis on Thursday August 16, 2018 @06:33PM (#17778966)
I remember back in college listening to a guest lecturer talk about the problems with electronic voting. It was very interesting. I think the entire political world is still feeling the wrath of the 21st century. Hopefully we all make it out alive.
Re:Are Blockchains the Answer for Secure Elections? Probably... by swerveonem on Thursday August 16, 2018 @06:24PM (#17778909)
This removes the cryptography aspects, which is what keeps the system and results verifiable after the fact. Of course the votes can be counted and statistical estimations of accuracy can be used to attempt to detect fraud but that can also be performed AFTER each individual vote is recorded on a blockchain. In fact the only reason not to utilize blockchain technology in election processes is to ensure the results can be manipulated.
Re:Are Blockchains the Answer for Secure Elections? Probably... by throwawaymath on Thursday August 16, 2018 @06:45PM (#17779030)
Can you clarify this a bit? What unique security assurances are offered by a blockchain that cannot be provided by other cryptographic methods?
Re:Are Blockchains the Answer for Secure Elections? Probably... by icebraining on Thursday August 16, 2018 @06:39PM (#17779002)
What blockchain voting scheme(s) provide at least as much anonymity as paper ballots?
Re:Are Blockchains the Answer for Secure Elections? Probably... by CuriousSkeptic on Thursday August 16, 2018 @06:15PM (#17778861)
Paper ballots are fine for infrequent elections. But not for things a bit more ... liquid[1]

[1] https://en.m.wikipedia.org/wiki/Delegative_democracy

Re:Are Blockchains the Answer for Secure Elections? Probably... by gnarcoregrizz on Thursday August 16, 2018 @06:23PM (#17778904)
For tallying results, trust has to be placed in the people and/or machines tallying the results.

With a blockchain-based system, every voter would count everyone else's votes

Re:Are Blockchains the Answer for Secure Elections? Probably... by icebraining on Thursday August 16, 2018 @06:41PM (#17779014)
How would you know every vote was registered in the blockchain?
Re:Are Blockchains the Answer for Secure Elections? Probably... by gnarcoregrizz on Thursday August 16, 2018 @07:22PM (#17779221)
Because its a public, verifiable data structure. That's not to say it's perfect, it's subject to 51% attacks so yes votes could possibly be discarded in that case.
Re:Are Blockchains the Answer for Secure Elections? Probably... by SkyMarshal on Thursday August 16, 2018 @06:03PM (#17778789)
Yeah it's backwards. We need to first characterize how to implement a secure election, compile a criteria for that, then evaluate tech platforms against that.

Given that experts already know how to secure elections and that traditional tech solves the problem just fine, Blockchain would almost certainly lose.

Election tech experts like Verified Voting, Black Box Voting, and Ed Felton & co at Princeton already know how to secure elections, but for whatever reason that knowledge hasn't promulgated to all the local election officials in the country that make the decisions on how they're run and what tech they use. That's the real problem, not a lack of secure voting knowhow/tech.

Re:Are Blockchains the Answer for Secure Elections? Probably... by kenhwang on Thursday August 16, 2018 @05:57PM (#17778748)
I think "secure election" is one of the few uniquely viable use cases for blockchain. In my opinion, elections should be easily anonymized, verifiable, distributed, and resistant to bad actors. That seems like a slam dunk for the things blockchain claims to be good at.

What's unique about blockchain compared to paper ballots is, everyone has access to every ballot if every ballot was recorded on the blockchain, which is unfeasible with physical paper ballots. The slow speed of consensus is also less of an issue for elections than it is for financial transactions.

That being said, use of blockchain alone doens't make a election secure.

Re:Are Blockchains the Answer for Secure Elections? Probably... by monocasa on Thursday August 16, 2018 @06:03PM (#17778788)
Elections should also not allow someone to verify how they voted after the fact.

I'm not sure how blockchains allow for that.

Re:Are Blockchains the Answer for Secure Elections? Probably... by kenhwang on Thursday August 16, 2018 @06:15PM (#17778860)
I think a way around this is: everyone gets randomly generated keys every election, like how everyone gets randomly numbered paper ballots. Currently, you can check if your numbered ballot was counted after you voted, but you can't verify the ballot wasn't tampered with.

With keys, you can verify your vote was counted and not tampered with. If you don't want people to know how you voted, destroy your key.

I'll admit that this still has the some of the same flaws as paper ballots: government doesn't track which key/ballot is assigned to you, and effectively centralized issuing of keys/ballots. But the advantage is: it's harder to forge or tamper with a ballot

Re:Are Blockchains the Answer for Secure Elections? Probably... by dragonwriter on Thursday August 16, 2018 @06:38PM (#17778994)
> With keys, you can verify your vote was counted and not tampered with. If you don't want people to know how you voted, destroy your key

If you can prove how you voted, this will be the subject of vote buying (or negative retaliation for failure to prove “correct” votes.) History has demonstrated that over and over again, which is why secret ballots for normal public elections and recorded votes in representative bodies where you want voters to be held accountable are norms.

Re:Are Blockchains the Answer for Secure Elections? Probably... by kenhwang on Thursday August 16, 2018 @07:09PM (#17779160)
Completely forgot about vote buying for a moment. Secret, but verifiable is a hard problem.
Re:Are Blockchains the Answer for Secure Elections? Probably... by amelius on Thursday August 16, 2018 @06:22PM (#17778896)
Someone could still force you (physically, blackmail, etc) to give them your key.
Re:Are Blockchains the Answer for Secure Elections? Probably... by kenhwang on Thursday August 16, 2018 @06:34PM (#17778973)
Sure, just like how you can just steal physical absentee ballots out of mailboxes and mail them in.

There's no such thing as perfect security. The problem of secure elections is how secure is secure enough?

How many keys/ballots can you feasibly steal before getting caught? Is that number significant enough to change an election? Historically, it hasn't been.

Re:Are Blockchains the Answer for Secure Elections? Probably... by amelius on Friday August 17, 2018 @02:46AM (#17780768)
But it's a fundamental requirement of elections that nobody should be able to force/bribe someone else to vote for a specific candidate.
Re:Are Blockchains the Answer for Secure Elections? Probably... by monocasa on Thursday August 16, 2018 @06:29PM (#17778938)
Or just pay you. A huge portion of the populace would vote "the correct way" for a remarkably tiny kickback. We saw rampant vote buying during the gilded age.
Re:Are Blockchains the Answer for Secure Elections? Probably... by SilasX on Thursday August 16, 2018 @06:19PM (#17778881)
>Elections should also not allow someone to verify how they voted after the fact.

Why not? I'd like to know that my ballot was counted properly.

And that everyone whose vote was counted was a valid voter.

And that everyone whose vote was counted, was counted how they intended (but not the content).

You're right if you mean that some of those desirable properties might be irreconcilable, but that's not the same as saying I shouldn't be able to validate correct counting outright; that's exactly what allows votes to be changed after the fact.

IIRC, it is possible to use homomorphic encryption to get all of that and have an end-to-end auditable system that maintains differential privacy (impossibility of detecting a change in the outcome by removing one vote). But I don't know the details of such a system.

Re:Are Blockchains the Answer for Secure Elections? Probably... by kenhwang on Thursday August 16, 2018 @06:27PM (#17778928)
Ideally, you'd want to be able to verify your vote was counted correctly, but not be able to determine whether a specific individual voted a certain way. It's so you can't feasibly sell your vote; it's one thing to say you voted a certain way, it's another to prove you actually did it.

It's also to protect the voter against retaliation; imagine if the government can discriminate based on how you voted. You can always destroy paper ballots; it's difficult to destroy public blockchain ledgers.

Re:Are Blockchains the Answer for Secure Elections? Probably... by SilasX on Thursday August 16, 2018 @06:47PM (#17779041)
>Ideally, you'd want to be able to verify your vote was counted correctly, but not be able to determine whether a specific individual voted a certain way. It's so you can't feasibly sell your vote; it's one thing to say you voted a certain way, it's another to prove you actually did it.

Right -- my point was that the parent was equating the two, but that's throwing the baby out with the bathwater. It's great that you can't prove to others how you voted, but not if it allows a third party to overwrite your vote without your knowledge!

Re:Are Blockchains the Answer for Secure Elections? Probably... by monocasa on Thursday August 16, 2018 @06:26PM (#17778923)
Because you open yourself to vote buying and voter intimidation attacks.

Imagine a sketchy untraceable site on tor that'll give $20 for every public key that voted "the correct" way.

During the gilded age, voter buying was a particularly bad problem, so we have a history of this attack in the united states.

Re:Are Blockchains the Answer for Secure Elections? Probably... by SilasX on Thursday August 16, 2018 @06:44PM (#17779026)
Yes, I understand the concept of selling votes. That wasn't in dispute.

But in that case, your objection is to "being able to prove to others that you voted one way". Not to "being able to prove to yourself that you were counted as voting one way".

Equating the two makes to harder to evaluate what is and isn't possible with different schemes like e.g. homomorphic systems.

Re:Are Blockchains the Answer for Secure Elections? Probably... by monocasa on Thursday August 16, 2018 @06:58PM (#17779100)
If you can prove to yourself, you can prove to others. They just ask for your key in exchange for the kickback.
Re:Are Blockchains the Answer for Secure Elections? Probably... by SilasX on Thursday August 16, 2018 @07:03PM (#17779129)
That does not follow at all: there are deniable encryption schemes that can decrypt to one or another message depending on which key is used.

There are zero-knowledge proof systems that can convince exactly one person of a claim but not others (because the one person chose random challenges that others' can't trust not to have been revealed in advance)

Be careful what assumptions you're depending on!

Re:Are Blockchains the Answer for Secure Elections? Probably... by vkou on Thursday August 16, 2018 @06:00PM (#17778771)
The integrity of a paper ballot election is verifiable by anyone with a grade six level of education. A digital blockchain election is verifiable by a small percentage of the population, which consists of techno-wizards.

Paper ballots win, hands-down, in that respect.

Blockchains are better then opaque electronic voting machines, but not entirely better then paper.

Re:Are Blockchains the Answer for Secure Elections? Probably... by foepys on Thursday August 16, 2018 @06:24PM (#17778913)
People may downvote you but I have never seen an explanation that tackles exactly this point. For paper ballots you can easily take anybody that completed elementary school to get a correct result. For blockchain, electronic voting, etc, you need highly skilled people. How can you be sure that this single person per voting district isn't screwing everybody over?
Re:Are Blockchains the Answer for Secure Elections? Probably... by kosievdmerwe on Thursday August 16, 2018 @08:48PM (#17779557)
There's also the fact that you can't verify that the verification done applies to each machine in the field.

If your crypto system has non-verifiability of who you voted for as a requirement. How do you prove that the code actually running on the machine didn't change the vote?

Especially seeing as actual machines have code other than the election software running on it, think touch screen controllers, etc..

Re:Are Blockchains the Answer for Secure Elections? Probably... by hndamien on Thursday August 16, 2018 @10:13PM (#17779839)
It is pretty obvious that nothing electronic is more secure and transparent than paper. Blockchains show the only thing that potentially could provide a solution. At this point in time for a secure election, it must be paper. If you want electronic, it is either going to involve a blockchain, or something even more radically different than anything that has been done before. If it isn't either of these two things, then I guarantee that it is less secure than paper, regardless of any efficiency gain which is moot.
Re:Are Blockchains the Answer for Secure Elections? Probably... by Moodles on Thursday August 16, 2018 @06:32PM (#17778959)
This is pretty much how all projects and headlines about blockchain are created. X could be: the music industry, healthcare, space, pornography, universities, protecting your art, tracking your bananas in Laos or buying your weed. Those are all real ones that I could remember of the top of head btw. It's an utterly ridiculous field.
Re:Are Blockchains the Answer for Secure Elections? Probably... by swerveonem on Thursday August 16, 2018 @06:20PM (#17778883)
Excellent point, when you perform that thought experiment you end up with a set of technologies so close to a blockchain it actually makes sense to just use a blockchain.