Get the Monday email →
Loading player…

Lessons learned shipping proof of personhood on Taiwan's citizen digital certificate

DevconSun, Nov 8, 2026, 12:00 AM

Transcript

Hi everyone. This is Mulvan from technical foundations team in Ethereum Foundation. So, this is PTT. In Taiwan, it is one of the largest online forums since 1995. It is non-profit, open-source, and fully run by volunteers.

And therefore, people in Taiwan love to discuss political stuff on it. But recent years, we found that like before election, there's many bot armies or like troll farms flooding to this forum. So, therefore, the the forum would like to like verify whether if you are a valid citizen in Taiwan. There are currently two approach to solve this, but both of them does not seem pretty good. The first one is actually uh the forum can collect users' phone number or ID, but in that way, the forum will have users' personal information, and that is a really big risk.

And nobody is paid to handle it in there. And the second way is to just for the wait for the government to like upgrade to a new digital identity system to support privacy preserving feature, but that takes several years. And both of them is not so good, so we can either wait or trying to do something. So, the lesson learned here to achieve privacy, you actually don't need to rebuild your identity system. You can actually add a privacy layer on top of what you have already.

So, this is the Taiwan citizen digital certificate, which is issued since 2003, and currently it has more than 11 million users with this card. So, we try to integrate Open AC on top of this card, so that every time you're trying to prove, you will generate two zero-knowledge proof. One to show that uh this card is valid and issued by government and it's not yet revoked. The second one prove that you actually holds a private key of this physical card. And thus, a foreign can only learn whether if you are a valid citizen or not.

And we also check the revocation roots on Ethereum. And in terms of feasibility, I think the answer is yes. So, on a more like old legacy PKI system with using RSA and X.509 certificate, you can see that it runs 5 seconds on an iPhone, 6 seconds on a Samsung, and approximately 20 seconds on a laptop. Um however, you can actually upgrade to a newer credential format, which runs about like 2.

5 seconds on a mid-range Android phone and can even run on a very low-end Android phone with only 4 GB of memory. So, during the integration, we faced like three challenges. The first one is memory. So, actually in our first POC, the peak memory when doing proof generation peaks like 2 GB due to the size of the circuits and it's on RSA. But, so we tried to split it down to two smaller one, but we had a check to check the its link properly.

So, it's like designed for a wide range of phones, not only for newest one. The second is about revocation. So, normally if you want to check whether if a card is valid, is revoked or not, you have to ask the server. But then, the server will learn like what credentials you are checking. And which leaks some privacy.

So, the way to fix it is that we always pull the revocation list and build a revocation tree, check it all locally on user's device, so that the privacy is actually the whole flow, not just the ZK part. And the third is actually Ethereum. We tried to build like on-chain verifier, but in real production the cost matter. So, more manageable way is to put the source of trust on chain. So, we add revocation root on chain and also the trusted issue set.

But, last not least, I think the most hardest part is the coordination in between people and organizations. So, originally, we want to release it before the election, so it can be used. But, we also want to try avoid some like sensitive friction like on the politics side. So, the whole timeline got pushed back a little bit. But, I think that's the the real part and it's also a very important step forward to push the privacy preserving tech.

And so, some takeaway, if you are a policy maker or work in the public sector, I think it's like very important to encourage a pilot like this on your existing ID system. And in a long time, if you got a chance to migrate to a newer system, like try to pivot to a one that is friendly to privacy preserving tech. And for builders, if you are building, our SDK for mobile and web is already and you can reuse the roots on Ethereum mainnet. So, thank you so much for your talk. I want to shout out to the team of EV, Nico, and all of the contributors to the forum.

Thank you.

Well, that's great. Very interesting and yeah, incredible contributions that you have been giving us. Couple of questions here from the audience. Okay, this runs quite fast, but UX may not be still ideal.

Yeah. Um, actually, we have run like better test with like 20 users. And since this DK test is quite new to them, so on the device that's run more slowly like laptop, we can actually have a really nice like education to have them know like, "Okay, while you are doing this, waiting for this, we'll let you know this will actually not leak your ID number, not leaking your profile picture, not leaking your phone number." And while people the users waiting for this and this is like uh well prepared. And also like in open AC we have some way to engineer in this to optimize this performance to make it I like acceptable that you can see in the mid-range injury phones like about 2 seconds.

So in general it's not a long wait time and the feedback we receive right now is all like oh great.

Nice. To conclude, what other organizations could benefit from these lessons in addition to these non-profit?

Um I think this try is though it's a small step and it is not like for government usage, but we want to show that show to a government or a policy maker that this tech is actually ready and we can apply it in real life use case already. Though the small the scale is small. So for any other organizations are doing like non-profit, but you also need some check but you don't want to like know learn anything about the user, you can try try this kind of technology. Especially on the forum or some use case on like alcohol purchase alcohol purchasing. Yeah, would be interesting.

That would be great. The end goal is to get governments to get crypto build and adopt blockchain as their basic infrastructure.

You have the right take.

Thank you.

Automatic transcript — names and jargon may be misspelled.