by cryptonector · 1mo ago · 0 comments
That still leaves tons of other technical problems to address, like security of mail-ballots / absentee ballots, the security of ballot boxes used for early voting (because you probably cannot run the above manual partial audit due to then having nightly results available to the public; or maybe you accept that), voter registration, etc.
Your ID card contains a private key, you use that key to sign a transaction. It doesn't matter that machine you are running on is compromised as these details can be verified at a later date.
Example A: You vote for candidate A, but software changes to candidate B and software displays that you voted for candidate A. At any later time you can check with an independent device and look at the transaction finding out that it was altered with and retract your vote / change it.
Example B: How do you know your vote was counted? Publish a hash and the signature of every vote, recompute the final tally and compare with all the votes. If your vote is not in the final tally the hash will be different and you can visibly see your vote in the dataset as every transaction is published. To preserve privacy each round has a number, private key + number -> new key so each fingerprint will be unique between votes.
I've spent a lot of time thinking about this problem, and my conclusion is that cryptography alone is not the solution, for reasons like:
1. The public needs to believe it, and hypertechnical solutions are a hard sell.
2. Any blockchain approach needs to preserve the secrecy of the ballot, otherwise you get all the problems you can expect of non-secret votes (coercion, vote buying, shaming network effects).
3. You still need to have the cryptographic rubber meet the physical road _somewehere_ -- it has to, otherwise the need for vote secrecy means that the results can be entirely fictitious and pre-programmed and there is no way to check!
I.e., you can have a paperless blockchain solution IFF you abandon vote secrecy. That is a very tough to swallow pill.
On the other hand, if you accept paper ballots and manual partial audits as part of the solution, then blockchain can have a role to play. For example, the machines could display a blockchain head every 50 ballots cast, and voters take a copy of the blockchain head visible to them, then after the election the public can verify the integrity of the blockchain, and the fact that you only get running tallies every 50 ballots means you get vote secrecy.
A system that uses paper ballots and partial manual audits can be explained to the public, and the public can develop confidence in it. Blockchains can then add a good deal of confidence: the blockchain tells you that the tallies were not modified after the fact, and the partial manual audit tells you to an acceptable level of statistical confidence that the digital cast vote record contains the actual paper ballots _as marked and cast_ by voters.
This is false. I know this is a common thought on HN because some formerly popular youtuber did a video about this topic that is still regularly reposted here, but he was already wrong in theory back then and it is certainly wrong in practice today. Secrecy/anonymity and verifiability are no longer mutually exclusive as anyone who is well versed in modern cryptography will be able to tell you.
I don't know about this event, do you have a link?
Also, you still have to convince the public.
This doesn't directly affect your comment, but I'd like to head it off before more occur: "Distributed Database" != "Blockchain".
We've had distributed databases with hashes for many decades. It'd be cheap, easy, and fast to run a couple hundred pre-determined nodes controlled by many different governments and institutions who are unlikely to >50% collude.
In contrast, the different and new pieces for "Blockchain" all revolve around one root requirement of letting anybody start up an arbitrary number of nodes--which we don't need for elections. Without that requirement, dozens of problems and workarounds fall away, like the problem of voters standing around for transaction clearing times.
With voting you need to have one piece of the pipeline that is not auditable externally and taken on faith. It could be vote counting or it could be the step that matches your ephemeral signing key with your identity, but doesn't keep the logs.
This needs some level of integrity of the election administration body and public trust of it.
>A system that uses paper ballots and partial manual audits can be explained to the public, and the public can develop confidence in it.
It doesn't matter that the ballots are paper. What matters is they are at the same time a) given only to qualified voters (1x each) and b) are not tied to voters identities once issued and c) once cast are properly counted.
You can go all digital and gain B with a mixer, but this makes the process prone to denial of service and it's too complicated to explain anyway.
Not if everyone voted the same on something…
Public doesn't need to know the details. Production of paper, printers is quite complex and so production of the pen. Yet people are not concerned about that when voting and we don't publish schematics of a printer that printed the ballots.
Except that people know what paper looks and feels like, they know how it absorbs ink, they know its various properties, they can _read_ whatever is printed on them, and they can see that the marks they make (or a ballot marking device does for them) are faithfully visible on the paper. With paperless machines there is nothing comparable.
That would be a very vocal minority that would immediately destroy any trust in the system.
Since I'm able to retract my vote, I cannot sell it. And since I can retract my vote, I cannot be coerced in any way.
It immediately raised a suspicion, could the government use "updating a vote" to change the vote of the voter after they voted. There were suspicious bursts of votes for government candidates during early morning (3:00-12:00 AM) between 2nd and 3rd voting days. Could it be re-votings? Who knows, public blockchain has no way to find this out.
How can an observer distinguish between a real voter voting the second time, and the government voting second time in his name?
Furthermore, to cancel the previous vote, you need some way to link the new and old ballots. In the case above, there was a non-public database (a blockchain), unavailable to observers, which kept the needed information. And theoretically it could allow de-anonymize the voters.
So what I wanted to say that electronic voting is a garbage only convenient for fraudsters.
[1] https://github.com/moscow-technologies/blockchain-voting_202...
Passports would need to become like hardware wallets with screens such as Trezor. Who's firmware and design are open source.
The screen means I can see what I'm signing and later be shown what I signed.
Now, I don't want people to know who I vote for. So we make it e-passport gate so that no one can enter with me.
Now I want to be able to verify my vote at a later date but not let others know it was me. Well this too is solved by multiple cryptocurrencies like monero and z-cash.
I can go to my local town hall enter a room alone using a e-passport style gate and check my vote at the machine. My device can verify my vote.
Someone with the vote can only see that 1 of N voters did it. Where N is so large they can't identify me.
No duplicate vote is possible.
Literally no one would agree to this however.
Or ballot boxes. Where citizen can keep their eyes on their ballot until it is counted.
Even back in 2002, TV channels in France (60m inhabitants) broadcast the winner at 20:00:30, using statistical models.
But recently, they removed the ability for citizen to stay during the counting, relying on designated persons, which breaks the chain of trust. Might as well cast my vote into a black bag or an electronic machine, no trust at all.
Trust was never the goal. As the means of coercion are higher and the capacity of communication is filtered, it becomes unnecessary to involve citizen in voting, isn't it?
Here in Australia, representatives of the various political parties observe the counting as scrutineers. I did it once. It’s absolutely fascinating seeing the system and rules. All (lower house) votes are physical slips of paper. Officials sort them into piles of 50 based on their first preference, in a big warehouse. Scrutineers watch them do it. We are allowed to contest their reading and sorting of a vote, but not physically touch anything.
I’m sorry to hear you can’t see your own democracy in action. I have more trust in our election process seeing it up close, in person.
Congrats, you just broke privacy. An abusive husband can now check the vote of his wife, so she can be forced to vote in a way she doesn't want to.
This enables coercion of voters. It must be impossible to attribute any vote to any specific person.
This implies there is a record establishing a relationship between person A and vote X.
The fact most people won't bother to check it in practice is irrelevant. It must be impossible, because otherwise people are going to die.
In the end, you always must trust humans.
How? Who you voted for is confidential. If not, show me where I can find your votes in the last election.
Naive solutions have naive problems.
2) How does cryptography helps to verify that teachers vote without pressure and not in principal's office under supervision? Or that they are not forced to give their mobile phones and ID cards to a principal for "inspection"? And the same for employees in large companies, government employees, military, police, doctors etc.
3) How does cryptography helps to verify people are not voting for a payment?
I am surprised that when someone says "cryptography" programmers become so blind that cannot see even the elephant in the room. It feels like everyone is brainwashed by propaganda.
> At any later time you can check with an independent device and look at the transaction finding out that it was altered with and retract your vote / change it.
Easy for a non-programmer.
> these details can be verified at a later date.
After election results are officially confirmed, and cannot be changed.
Can you? I am not familiar with any electronic voting system because they are not allowed where I vote. Does any system give the voter access to their vote later to check that it was registered correctly?
Not even sure whether that would be a desired functionality. Free elections are secret for a reason. If you can check whether you voted correctly others can, too. Even if that functionality were protected by the private key again, it might be misused. There are governments/comompanies where they'd say: Show me how you voted or you are in prison/fired.
There is no problem that electronic voting solves that paper ballots and scanners do not, and the latter are not only more secure but are seen to be more secure. Trust is essential in a voting system and only paper ballots provide the necessary level of trust.
There is a specific problem with mail-in voting and disabled voters, for example elderly people who can't go to the polls and can't get an electronic ballot marker. 25 US states deliver ballots electronically and 15 allow electronic voting for this specific case [1].
[1] https://www.ncsl.org/elections-and-campaigns/electronic-ball...
In France for example, voting happens on a specific day with transparent ballot boxes, with the counting happening in the polling station (you may stay for the whole day in your polling station if you want to oversee the whole process). Yes this is problematic for voters in foreign countries, because they need to go to the embassy to vote, but the voting protocols chose transparency over practicality.
IIRC, deployed military get a polling station in their military base. A voter may also designate someone in the same polling station as theirs to vote in their place.
This seems to make a pretty dramatic change to the election protocol, no?
Consider example A': You vote for candidate A, but later realize that you hate candidate A. You repudiate your recorded vote for candidate A.
What should happen?
2) How do you avoid the cloud derived encryption keys?
I'll quote Bruce Schneier [1]:
If you think cryptography can solve your problem, *you don’t understand your problem* and you don’t understand cryptography.
0: I already do anything related to any interaction with a computer system for them (including payments, social security, medical, travel, etc.)1: He dug into the origins of this here: https://www.schneier.com/blog/archives/2026/05/laurie-anders...
In the US, there was a lot of discussion that the Biden win over Trump in 2020 is a result of the younger family members quarantined on Covid with their parents and mail-voting for them. I don't believe that's what's happened, but this discussion could not have taken place at all in a world where mail-voting is not an option.
Paper voting is 100x more verifiable than electronic.
Election integrity is about finding all the attacks that can reasonably be expected, and detecting or -even better- preventing them. But it's a tougher problem than this one-sentence summary makes it sound.
Only a selected few orgs and groups are allowed to audit and in a very controlled environment because they also rely on security through obscurity. The source code is not available to the citizens.
If by any chance I'm wrong and someone can point me a source code repo, please enlighten me.
https://international.tse.jus.br/en/electronic-ballot-box/pr...
Officially, it's because of total horseshit reasons.
They said it was unconstitutional because it would "compromise the secrecy of the vote". It most certainly wouldn't: the paper would be deposited on a sealed ballot box that obscures the voting order, and the voter wouldn't be given a copy.
They also said it was unconstitutional because it couldn't be implemented in a timely manner. I barely have words to express how dumb that is.
https://conjur.com.br/2020-set-16/supremo-confirma-liminar-i...
The discussion is all about politics because these "official" reasons are obviously stupid and don't fly. We're trying to infer the real reasons why they resist the auditable system.
2022 elections exposed the supreme court judges as unabashedly partidarian and more than willing to violate the constitution to favor the left wing candidate Lula. There's also the fact that Lula never won an election back when Brazil used paper ballots, but dominated the country for nearly 20 years after the introduction of the voting machines.
More than enough to start raising some serious doubts about these so called "authorities".
You just need to find the right balance.
In my country we still rely on a paper process - which is very hard to tamper with but also has a bunch of problems - recently we needed to repeat local state elections because of such problems including shortages of ballot papers, unusually long queues to vote, ballots being delivered to the wrong locations, and in some cases voters being turned away. Many of these problems go away with digital voting - but then you have other issues.
I don’t think a perfect solution can exist
E.g., a counter can put a bit of pencil lead under a fingernail and mark overvotes on ballots they don't like, thus causing them to be adjudicated or not counted.
Not even a remote access to a demo ballot machine.
Our congress has determined that a paper trail must be implemented but the judges aren't having it.
https://news.ycombinator.com/item?id=36543423
Source code is a red herring too. If there's no reproducible builds that cryptographically establish source-executable correspondence, showing us the source code would prove nothing and only serve to embarrass us. Supply chain attacks could compromise it without any source code vulnerability. What they need to do is publish the signed executables that ran on election day as well as every executable used to construct those artifacts. Our AIs will make short work of the binaries.
In any case, the prevailing theory is that the mesários are partidarian and simply impersonate people who didn't show up to vote in order to boost their candidate's numbers. Very low tech, can be fixed with surveillance: have people from all parties everywhere observing everything. It boggles my mind that this isn't being done already.
That means it doesn't matter one bit how correct you are if the regular Joe does believe you tricked. Adding computers into the mix always makes this worse. And again, this is not something you can fix with clever solutions and cryptography (that admittedly fascinates me nonetheless), the problem is that people can't see electricity generally and I something at the scale of a computer, even if you could it would be utterly meaningless.
This is why the paper ballot system is so glorious in its stupid inefficiency, because it spreads the trust in a way any adult who has mastered object permanence can verify for themselves. Invite the conflicting parties to monitor and have them begrudgingly admit their defeat in the face of the simple, inefficient but agreeable process.
This is why I as a cryptography fan, programmer and hardware guy think electronic voting is not up to the task for high stakes elections.
What is the goal? Having fancy crypto or people being confident about elections?
If spreading the trust is the goal what makes you say "inefficient". It is orders of magnitude better then any crypto system.
The costliest item is counting by hand, so... don't. Use ballot scanning and counting machines and then implement a timely partial manual audit to demonstrate that the BMDs and BSCDs functioned correctly.
One very good way is to get their followers into the actual collecting and counting process with independent observers in a way that they can't just cheat, but in a way that they can also perceive whether the other side cheats.
And you do that through all the levels of the election process. That is incredibly inefficient compared to everybody pressing a button on an app in their phone, but it gives you something that the phone app cannot: the loser party will know to a certain degree that their loss was legitimate (if the process was carried out correctly).
While with the phone app, who knows? Not even an expert that wrote the code of the app could guarantee that everything went without interference. And even if there wasn't any interference and we can mathematically guarantee it: the problem is that people need to believe it. And that means trusting experts, which may or may not be biased.
Meanwhile with the paper ballot the system is simple enough for most followers of each party to intuitively grasp whether something fishy happened. They just need to make sure every vote is counted and none discarded.
Automating any of the process is (imho) harmful to above.
While I’m a proponent of the paper process let’s not pretend it immediately means you can be confident about the election
With some abstract math and computers? Any real or imaginary issues are incomprehensible to most of the voters and concerns can be easily shooed away.
There’s also the bear mechanism. In the forest, you don’t have to run faster than a bear, you need to run faster, than the person you are with. Let’s say there’s an issue with id-cards or electronic signatures in general. The attackers could wait several years and attack voting risking, that all electronic votes are annulled as their attacks are uncovered. Or they could just wreak complete havoc on the entire society right now. The electronic signatures are so ubiquitous here you can literally do anything. Sign a document as the President, take out loans on behalf of everyone, get everyone divorced (or married), take all their money etc. why would you wait?
I'm sure this is overly naive, but what am I missing?
I mean that's too abstract and philosophical of a problem when talking about voting machines/software: there are much more prevalent and concrete risks including but not limited to APT-grade breach/espionage if your country is important enough, and the various other issues (some in your comment itself).
I'd like to see a system that allow us to vote on issues directly.
Money for war? War with Iran? Support Israel? etc.