Voting Privacy
Devcon·Sun, Nov 15, 2026, 12:00 AM
Transcript
[music]
Thank you for this warm introduction. And yeah, if you are curious, my advisor does write crypto thrillers. The most recent one called The Oracle. Would recommend you all checking it out. But I'm going to talk about voting privacy on an online elections cuz as you all may already know, elections are a very important topic.
Many huge decisions that impact how the world goes are decided through elections. And elections benefit from having a lot of people. And the more people that participate in them, the better and stronger the democratic system is. However, no, most of the elections happening nowadays are in person. And you could imagine why why has everything been digitized but elections?
Isn't it easier to vote from your sofa than actually having to go in person somewhere? The reason for that is that elections are very delicate. And once you start moving into online elections, bribery and attacks on governance become much more feasible. So today I'm going to be talking about what is voting privacy in the first place. Why do we need voting privacy?
And how do we build a private voting system? And the main reason I care about that is because Hogwarts is hosting online elections this year. And we want to make sure that Voldemort and Dumbledore have a fair election and make sure that no one's trying to coerce the election. We may already know who's the one that may attempt that. Uh because Hermione wants to of course vote for Dumbledore.
However, if the voting happened to be public, any malicious actor such as Beatrix may be able to see that Hermione was voting for Dumbledore and just Expelliarmus her. We don't want that to be happening and you may imagine this to be problematic in a real setting where if the voting is public, you could bribery just becomes more feasible, easier, and wide-scale deployable. So, that's why you obviously find a more straightforward solution, which is let's just um encrypt the ballot. If you encrypt the ballot, now Beatrix cannot see what Hermione voted, and she cannot check whether she voted for Dumbledore or Voldemort. However, Beatrix may still require a proof from Hermione on how she voted, and you all may as cryptonerds here already know those proofs are easy to do using ZK proofs or using keys.
So, now Beatrix can require a receipt from Hermione proving that a specific ciphertext comes from a specific vote choice. And now, um Hermione has to vote for Voldemort, or else it can get in problems, or else it won't get the bribe. That's why receipt-free uh protocols came to be. Those are protocols that are strong and resilient against these kind of attacks. No matter how Hermione votes, there will be no way for Hermione to actually build a receipt that's able to prove how she voted to a third party.
These proposals that came out back in the '90s, long time ago, did not account for interaction between the malicious party and Hermione before the or during the election phase. It just took into account not being able to create a receipt after. So, still Beatrix could force the ciphertext to have a specific um pattern that's recognizable that ensures that Hermione is voting for Voldemort, no matter what Hermione is able to prove afterwards. The kind of golden standard for security was proposed by my advisor in 2005, back long time ago, which is called coercion resistance. I mean, in that case, what it says is no matter what Hermione does and the third party does does, they should never be able to reveal what Hermione voted.
Uh so, yeah, that's that's a really important while DAOs are still not private. I think one of the main reasons they are not private is because privacy is really hard to achieve. We've gone through multiple iterations of how people have attempted to achieve privacy in online elections in the past, and each of them has their own intricacies. However, I think uh privacy is really important. If you don't have a private system, bribery becomes a major issue.
Uh bribery is super easy, and bribery is only feasible if I can tell what the person voted. I'm only give you I'm going to give you $100 if you vote for Voldemort if I'm able to verify that you voted for Voldemort. Otherwise, it makes no sense for me to give you $100 cuz I want that you could have voted for Dumbledore, and then you'll get that $100 anyway. Uh so, in some way, what I'm trying to tell here is that the more privacy you have in a system, the stronger and more resilient it is to bribery attacks. Uh so, how have people achieved coercion resistance, the golden standard to privacy in the past?
Well, there's been two main approaches. The first one being deniable re-voting, the second one being fake credential schemes, which was actually the first one being proposed uh in the initial paper in 2005. Let's go through each of them, and we'll kind of see why they are not ideal in the blockchain setting where DAOs usually take place. Deniable re-voting basically achieves coercion resistance but letting by letting people vote multiple times. If you let someone vote multiple times, and you only count the last casted ballot as the valid one, you could have Beatrix be monitoring how Hermione is voting, but if Hermione is later able to vote anonymously at a later stage in the election, then the vote for Dumbledore is going to be counted.
The important property we want here is for that vote to be deniable. That's it should be indistinguishable from um any other vote by any other person so that Beatrix cannot tell whether she re-voted or not. However, those schemes rely on a pretty strong assumption. That is that at the end of the election, the adversary just walks away. The adversary turns off their computer [snorts] or their monitoring system like shuts uh his eyes off and is not monitoring what the uh Hermione is doing.
That seems pretty unreasonable. What's forcing the adversary to do that? Or what's forcing the adversary to not just be at the end of the election and casting the last vote maliciously? Um So, that's why fake credentials are also the alternative, where now we have a registration phase prior to the election happening. This registration phase gives uh Hermione a key.
And this key is indistinguishable from a random number in whatever space the key is generated in. And now when voting happens, Hermione can vote using that key, but if Beatrix asks for a malicious vote to be casted, then she can generate a fake key that's in no way distinguishable from the real key and can vote with that one that won't be counted. This alternative approach to the re-voting scheme also has its flaws. Specifically, you are as making the assumption that there's no way for Hermione to prove to Beatrix what the real key is. If registration happened to be online, I could use ZK-TLS or any other TE-based approach to prove that a specific key was minted when registering to the election.
So, you require this really strong assumption that in uh security research we call an untappable channel. An untappable channel pretty much is only achievable in-person registration. That's very unreasonable. Specifically, where would you register for a DAO election? There's really no physical office for a DAO.
Everything is online. And you may imagine a million other cases where online elections would want to take place, where you would not want people to actually have to come in person to register in the first place. So, yeah, we've saw the two main approaches, but none of them seem to be built on assumptions that are reasonable in this day and age uh during a remote election. So, what do we do? Well, that's where our research comes in.
This is research uh done by me and my folks at at Cornell, along with uh some industry. You all may know Raphael um ex uh CTO of Tally. I think now they shifted from voting uh to another AI um like to the AI industry. And then there's Party the from the Arbitrum Foundation that has helped us with this project. And uh what we are contributing or what we are pointing out is that untappable channels in this fake key, which are these really strong assumption on registration, are sufficient but not necessary conditions for key fake credentials.
We are proposing a skill that uh uh protocol that does not require such strong assumption. Let's see how this works. What do fake credentials require uh from a more granular level? Well, fake credentials build on top of the pillar assumption that the adversary cannot distinguish whether a voter registered a credential or didn't. If the adversaries has no way to verify that, and the voter has no way to prove that to the adversary, then there's no way to know whether the key is real or is fake because a registration happened prior to that.
So, let's go and step-by-step and build up a course coercion resistant registration process. Because once we have a strong registration process, the whole voting protocol will just flow seamlessly. First point here is that if you are registering against a central authority, then the start and end date of registration will be fixed. So, if you try to make a rule like only the first registration counts or the last registration counts, you'll have similar problems to the re-voting scheme, where now the adversary will try to race to be the first one to register, the last one to register, and you will be coerced uh multiple times. So, we want to remove that central authority.
What do we replace it with? A bulletin board, aka a blockchain. Now, instead of having this fixed registration, the blockchain has existed since 2010. Uh so, and there's no start date to when registration can happen. Uh what's the other building block?
Well, now the registration needs to be hidden amongst other transactions so that the adversary cannot tell whether a specific user registered prior to the coercion or not. That is, you want to make sure that these registrations that's happening maliciously are indistinguishable from regular blockchain transactions. That way, even if Beatrix is able to coerce Hermione to register a specific key, she cannot tell whether the millions of transactions that happened in the last day, week, month are potential registrations by Hermione. And Hermione especially has no way to prove that she did not register, too. So, you could have Bob registering their key, but you could also have Hermione registering her key, and since she did register prior to the coercion, that key is going to be the real one as opposed to the one that's being registered during coercion.
So, what Beatrix going to see is this, just this registration, but she's going to miss everything else that's happening prior to that, and she [snorts] will have no idea whether she holds the real or fake key. Um I'm going to skip that. So, now what we have we build what we call Cast Iron, which is our proposal for a strong coercion-resistant voting protocol, where after this strong registration, Hermione can just vote with her real key, and if Beatrix happens to be coerced uh coerce uh Hermione, she can just generate a fake key and vote with that one. So, yeah, congrats, we just solved privacy. Y'all Danny told us it was really hard to solve privacy, but it seems like it just took 13 minutes for that to be solved.
But, wait a minute, cuz we just heard that now Hogwarts wants to held token-weighted elections. So far, we have made this strong assumption that the votes or result do not leak any information. However, imagine that now the votes are how much money you're contributing to Hogwarts every year, and you could have Hermione have a 1.1 weight, and everyone else have one, two, four, and seven. This is a small election.
And they all start going to this uh election, which happens to be coercion-resistant. They're using Cast Iron, this super strong coercion-resistant voting scheme. They each of them vote. The results get posted. Can y'all guess what Hermione voted?
Yeah, it's pretty easy. There's really only one option where you could have Dumbledore have 6.1 votes. In fact, if you start thinking a bit, you can de-anonymize every single voter here. For example, the blue one could have only voted for Voldemort, cuz Dumbledore has only 6.
1 votes, which is less than the blue one's amount of votes. So, uh Beatrix can come in and even though the election was coercion resistance, it can punish Hermione for having voted for the opposite choice. So, why does this keep on happening? Why haven't we solved privacy? These researchers have proven some privacy strong privacy guarantees on top of the election system.
Well, generally privacy in the past has been studied relative to the release of the results. It makes a lot of sense when you have one vote per voter, the results are not leaking any information at all. Um one every voter has plausible deniability. But once votes start being token weighted, the precision of those ballots leak a lot of information about how each individual voter voted. So, we asked the question, what happens when we add the result into the equation?
How much leakage? How much can we de-anonymize? And this is the paper where we study this. It's called the privacy, and the result is that actually a lot. Um that's a plot where we are doing a heuristic attack on DAOs.
We know DAOs are public, but we are simulating a case where we don't look at the ballot at the individual ballots, we just look at the results and the voting weights which are public, and we try to tell how each individual voter voted. Well, here you can see that small DAOs that have less than 45 voters, we were able to tell how each individual person voted. It's crazy.
[gasps]
In larger DAOs, we could tell many times how large whales voted. You can see sometimes 80% of the voting weight was de-anonymized. And in some cases, like the one up there, you could even leak 50% of the ballots and almost 100% of the voting weight uh because of how badly distributed the voting weight was. So, this is not a concern in these like small dummy test cases that I made with five voters. It's a concern with the real DAOs.
And if DAOs were to start applying strong privacy protections, they should take into account the leakage that comes from releasing the result. So, how can we enforce privacy in this token weighted setting? Well, this problem has been already encountered in the past in database anonymization and the result or the technique that's been used is you all may already know it as differential privacy. You just add some noise to the tally. That can however be problematic in voting.
Imagine I add some noise to the tally and I flip the result. That's you don't want that to happen. However, all the differential privacy guarantees that you get are on top of noise that's not bounded. Um one of the main contributions of our paper is to study how much does leakage or privacy change once you start bounding the noise so that it doesn't flip the result. On the other side when it comes to DAOs, we were working very closely with two DAO practitioners and they brought up many concerns when it came to making sure we were building something that people would care about.
And one of the things Paddy mentioned is that people in DAOs care a lot about transparency. Maybe they want the individual ballots to be private, but if you start adding a lot of noise, the result tally will not represent how the voters actually voted. So, we want to make sure that we can get some meaningful privacy while still adding as little noise as possible. So, the question is if we add 5% of the noise, how much like leakage do we get from those examples that I showed before? So, the the result is actually pretty good.
Small DAOs go all the way down. That means that you're getting not only less individual ballots leaked, but also less general token leakage. Also happens with larger DAOs. It's still not perfect. If I hold like 40% of the voting power and they add 5% noise, that's not going to help hide my vote that much.
It's just going to change a bit, but my vote is so influential in the election that just the result will leak what I voted with a strong probability. Uh however, those are just heuristic attacks that just us playing with the numbers and seeing how much we can de-anonymize. It's not a theoretical guarantee of privacy and you can imagine in the future um AI can come up with better attacks and de-anonymize um more data. So, that's where we why we come up with B privacy. Privacy B privacy is a new notion of privacy for token-weighted voting.
Um yeah, yeah. I'm not going to get too deep into that, but we show that in order to achieve uh strong B pri- B privacy, you don't only need to add noise, but you also need to add it noise in uh you also need to have a distribution of ballots that's not very skewed towards whales. If you have a lot of whales, the privacy of the election is really not meaningful cuz there's a lot of privacy that can keep on happening. And in fact, you can see here that usually when you start adding a tally perturbation, which is noise that's bounded to 10% uh plus making sure that the release of the results is actually correct, uh only dials that have strong um evenly weight distribution actually get any meaningful benefit when it comes to privacy and dials that are more skewed towards whales do not. So, yeah.
In general, what I'm trying to get across here is that strong privacy in dials or general token-weighted voting is really hard and we have to treat it very carefully cuz it can impact the elections strongly. So, thank you very much. You can see all my research here. I also work in AI security and you can uh follow me on LinkedIn if you want to reach out and learn more about all that. Thank you very much.
Great talk, Danny. Now for some hard questions. Audience, please do your bidding, vote privately or not so privately on the questions that you want to be answered first. And they currently have zero votes, so we'll just go with whatever the algorithm from Meerkat, great app, is putting us up on top. If a DAO could adopt one change from your research in 2027, what should it be?
And how much transparency should a DAO give up in exchange?
Uh yeah, I feel I feel one of the main things we want to bring up with the research is not not that privacy should be applied everywhere. Of course, every DAO and every election needs to have its own properties, and you may want some elections to have more privacy than others. Um so, I think the main point we are trying to get across is that you want to at least have the option as a DAO to be able to turn a toggle on that ensures that that election is going to be private. So, what I would love to see is uh of course, Cast Iron to be implemented, and also this kind of modularity approach to election privacy be applied. There's, as we have seen today, many levels of privacy.
Each of them gives you stronger or weaker guarantees, and each of them requires the voters to do more or less work. So, you want the DAOs to have the option to choose which level they want as opposed to just forcing one to theirs. The problem now is that everything's public, and they don't even have the the option in the first place.
Nice. Perhaps as a segue to the remark you've just um mentioned regarding everything being public, can I highlight this question that yeah, came from the bottom, but had zero votes still, which is about the fact that Snapshot and off-chain, we also on-chain, but mostly off-chain, um voting as shielded voting by Shutter Network, so a form of private voting, and a bunch of DAOs have used it, but why haven't we seen on-chain private voting take off?
Yeah, no, that's a great question. I mean, the fact that people are adopting uh a voting seems to be a clear indication that private code voting should be the next step. Um think private voting is really hard and they want to be like make sure that it's implemented uh correctly. I know also DAO the DAO industry is now struggling with funding, so I can imagine they haven't implemented it not because they don't want to because they don't have not had the time or the funding to do so. Um but we have definitely heard interest from both the DAOs and the platforms that uh implement the like the all the voting infrastructure to uh achieve DAO like to implement some option for DAOs to vote privately in the future.
So, I think it's mostly not been this interest, but that as I mentioned today this is hard and there's not one settled solution yet that can be easily adopted by the industry.
Yeah, that's why Tally shut down in March. But we took over operation at ScopeLift, so Tally's still nice and alive just called Cactus, but yeah, it'd be cool to talk about private voting there. And we just got another question here from the audience about bringing this to real world. So, will normal elections in countries online will they be online private and secure? Is this viable with current tech or is still research mode?
Uh I mean most um elections in countries are not private. I know Switzerland does implement some not the national elections, but some more low stake elections online and Estonia is one of the first countries that does online elections. They do achieve privacy. They do require in-person registration. So, they're working on a different setting that the one we are considering.
Um that's of course extremely viable extremely sound solution. We advocate for that if possible cuz it simplifies a lot the way people vote, but we also want to provide a way for people to be able to vote online without having to register in person. So, I think our our research is just yet another piece of the puzzle. It's not the complete solution that everyone should adopt when it comes to voting privacy.
Nice. Potentially last question depending on your answer. Private voting prevents bribery and corruption, but can also enable it. How do we mitigate this trade-off?
Yeah, I know. That's a great question. I feel um accountability is a big thing in DAOs. You want to make sure that if someone uh is uh voting for a malicious outcome or is trying to hijack a specific DAO when making a proposal and then um buying votes, you want to hold them accountable. However, if the private voting is strong enough, um there's no way to verify how people voted, but there's also no way for the bribers to verify how people voted, making bribery super expensive and not even feasible if well implemented.
So, uh I guess yeah, you're right. You're all right. It It is true that you gain some benefits from transparency, but privacy should also be a stop to bribery in the first place, so people should be more secure that bribery is not happening there.
Very well. Voting is important. Blockchain is basically a Trojan horse for young people to get interested in the boring topic of governance, which is the plumbing of coordination in the real world, but also the online world. And we are moving increasingly more to the online world, and I hope your research helps us improve that and get wider adoption of modern, more efficient, and equally private voting systems. Thank you very much.
A warm round of applause.
[music]
Automatic transcript — names and jargon may be misspelled.