News for hackers. Stuff that matters.
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..