by himata4113 · 1mo ago · 0 comments
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.
There have also been earlier implementations like this one: https://github.com/benadida/helios (corresponding paper https://www.usenix.org/legacy/event/sec08/tech/full_papers/a...), although it still lacked coercion resistance. But it already uses zero knowledge proofs, which is at the core of anonymous yet verifiable systems.
In terms of working democracy and social governance, we can kill a big flock of birds with a single shot if the public can understand cryptography. Think about it: we live in an age where everything is digital and has a microprocessor inside. Even money is digital. But the "public" can't parse simple logical statements, and they vote for the funniest clown in the race (for a definition of funny). The best this schism can possibly end is if we vote in a Luddite Empire that squashes technology. All other scenarios are far scarier.
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.
- confirms (paper goes down the box) and exits the booth
or
- cancels (paper is burned) and votes again
Without a print out
Besides, that of course is entirely optional.
It's not something we can do today but something that *could* be chosen to add to such a system.
I can't claim to be a crypto expert.
But hiding a transaction and it's value among other transactions is perfect for voting.
As I understand it Monero uses ring signatures to make it so it's not possible to know which individual of a group initiated a transaction, and it's zero knowledge proof system means it can be verified that a particular transaction is valid despite this.
To my layman mind that seems to be good enough, every vote can be verified by any party as valid (no double spending or double voting took place).
You can never narrow down who made a particular vote beyond a large pool of people.
You can't tell where any transaction went (you don't know who was voted for).
At the same time with my private key I can see my vote.
The only thing needed for voting is the e-passport style gates.
Certainly it won't just get a case of use monero, they would need to design the system for voting.
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.
Consulates in some places are 3 people in a rented office 1000 km away from where you live. One thing that digital voting could solve is the scale and distance.
>I don't think it's necessary to bend over backwards for civilians who choose to be overseas
Big committment to democracy and rule of law, I see
You also have issues of deanonymization if you only get a couple of ballots in via one method. In Maryland, for example, they're supposed to encourage at least 100 random people to use the accessible ballot marker per precinct for this reason.
It's not reasonable to tell people "too bad," fly back to the US as much as 3 times per year. They pay taxes and are subject to US law even though they're overseas, so they get to vote.
Ballot management becomes error prone. My county alone has 25 ballots due to the different combinations of state house, senate, Federal house, municipalities, and _all_ the special districts. (4 members to the board of directors of the Anytown West Memorial District, a.k.a. cemetery, because they had a property tax assessment when they built the thing in 1950)
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?
Or is this a knee-jerk America Bad?
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.
A paper trail is not a guarantee of electoral integrity. There is always a rough spot when your ideal election system meets the messy real world.