The Future of Digital Identity
ETHCC 7 · 11 Jul 2024 · 20:41
dcbuilder.eth makes the case for decentralized, self-sovereign digital identity. He lists problems with today's internet identity: siloed, non-interoperable data, data breaches, privacy invasion, KYC that does not scale and centralized custody. He then presents cryptographic tools that could help, including zero-knowledge proofs, fully homomorphic encryption and multi-party computation, and explains how intents, which let a user declare a goal and have a solver fulfil it, could simplify identity applications. He also covers provable inference with zero-knowledge machine learning, which he says still needs custom hardware.
Speakers
Topics
From ETHCC 7, hosted by Ethereum France.
Transcript
Hello? Alright. So hello everyone. I'm DC Builder from the World Queen Foundation. And today I'll be talking about the future of digital identity. So as all of you might have experienced uh in your day-to-day lives, when you use any form of internet service, you experience the pains of the current internet, right? We have to give away give away all of our data for free, and services like Google, Amazon, Facebook, et cetera, monetize our data in order to provide us services at either a discounted cost or for free. And this is a big problem if we want to build the future of the internet with the cyberpunk values of the crypto space.
It with uh they're not interoperable, right? So if I let's say that I have five million subscribers on YouTube, just one example. I I don't have them, but I wish I did. Um but I cannot use those subscribers on, let's say Twitter, right? I cannot export their email addresses, or I cannot even message them. And if I get deplatformed from YouTube, I'm not no longer able to talk to them. All of these sort of pieces of data are siloed and not interoperable. The platforms do not work together, and I'm basically at the mercy of whomever is providing the service and the person who owns my data. And I usually I'm signing like terms of service that I barely know how they work, right?
Because they're very lengthy and I'm not a lawyer to be able to understand them very well. Um also there are big security vulnerability, right? I can like those service servers can always get exploited. We've heard of things like Cambridge Analytica, uh, where massive amounts of data, or maybe like the ledger marketing hack in 2020. For example, my personal email address was leaked, and I got a lot of spam, like sent directly to my ad like to my physical address where I lived. And for other people, it was like more scary with threats and other things. Um it is also very privacy invasive, right? Like we're giving away our data and it's hosted on some server on USD and somewhere in Boston, right? Or maybe in Europe is like in the Facebook servers in like Sweden or something.
Also, uh for digital identity, KYC doesn't scale, right? Like we've already seen things like the, I think it was like one of the exchanges, um, KYC checks uh was passed by a generative AI model that just generated a fake passport or fake uh identity document. It's centralized, um, right? Like it's just if these servers go down, we lose our access to our data. We've also seen these things happen. Like I think Google Cloud or one of these clouds deleted like an important file for some of the companies. Thankfully, that company like backed it up in a different cloud provider, but hence again, like we run to the same issues. And we lack the user sovereignty that we used to in crypto, right?
Like we own our private keys, we own our our money, right? Not your private keys, not your money. Uh but when it comes to digital identity, we're very much willing to give it away to other people. So right now there's no such concept of like my private key, my data. It's just my data is not really my data, it's always custodied by the centralized user providers or centralized service providers. So over the last few years, thanks to the advent of even like the crypto space and the blockchain space, cryptography has received lots of funding, and lots of researchers have been really excited by what cryptography and modern cryptography primitives have been allowing for us to do and build things with it. Some of them, I'm sure you've heard of most of these, are these main four categories, right?
So you have zero knowledge cryptography, which allows you to make proofs about computation, right? So I can prove that some computation happened correctly. For example, in the case of rollups, I can prove that the EVM executed some transactions correctly, and therefore I don't have to re-execute all of those transactions on all of the nodes of the network, but we can just verify zero knowledge proofs around. Another one is uh full humor for encryption or FHE. Uh full homophobic encryption allows you to do computation on private data. So essentially allows you to encrypt data, perform computations on the encrypted version of the data, and then decrypt the result. And it's as if we had performed the computation on the original input, which is pretty much nothing short of magic.
Uh another one is multi-party computation. So multi-party computation or MPC is a um like distributed systems and cryptography technique that allows you to compute uh any given program across multiple participants, so multiple computers on a network, uh, without revealing the intermediate values or inputs between the nodes, right? So I'm able to do computations on private data without revealing the information, but we know that the result was computed correctly as long as a specific threshold of the network computed or like followed the protocol correctly. And the last one is trusted execution environments or TEs.
So this is a piece of hardware or a chip that can be embedded on any computer that essentially attests to some computation running correctly. Let's say that I have a simple program like OnePlus One, and the computer will execute that and it will also sign that two is the result of that operation, and then I can consume that signature anywhere else. And as long as the hardware device itself wasn't compromised or somehow reverse engineered and people changed the way it worked, then we have a really good guarantee that this is actually the result and that the computer computed it correctly. So with these four like broad, um broad uh technologies, um, people have been experimenting over the c last couple years and trying to play around with it and see sort of like what sort of mechanism they're able to build that might be leverageable within digital identity, within general blockchains, within like just any sort of realm of application development.
Um so I have quite a few uh names here. Um don't worry, like all of those will be described in detail in the article uh that I link at the very end through our QR code. Uh but to mention them briefly, all of these mechanisms essentially allow you to do like one of a few things. It allows you to get a sort of proof of provenance. I can prove where the data that I'm consuming comes from. So you can think of, for example, the blockchain, right? Like if my data is on Ethereum, the way that I prove the data is on Ethereum is that I usually have to run an archive node, and I can prove that this data was included in some Merkle root. Uh and I can do a Merkle proof for that Merkle route using the ETH underscore get proof endpoint on, let's say a geth node, for example.
Um, but thankfully, with modern cryptography, we can do things like storage proofs. So I can just do a ZK proof of that. That like, okay, like my balance on my address is over one ETH, and I can anyone can verify that proof, and as long as they are a correct verifier when it comes to zero knowledge cryptography, they can verify that it happened correctly. So now this sort of notion where I can make a proof about data living on someplace extends to more than just the chain. It extends it extends to things like the internet with things like TLS. There's protocols like TLS notary or other variations of it, or for example, signed APIs that allows us to verify data from the internet. I can now, for example, prove that I don't know, my Twitter followers is over some threshold, or that I own some specific Gmail account, or any sorts of things that touches the internet.
There's projects like ZK email that allow you to make proofs about your email contents. Like, let's say I've received an email from my colleague and he sent a specific message, and I can prove to anyone that I've actually received that email. For example, I work at WorldCoin, so we are building proof personhood, right? Like with the ORP and World ID, and many and many more mechanisms, some of which are listed here. If you want to read upon more and like go and dive deep, like there's more and more time for that in by reading the article later later on. So many people have asked me over the last couple months, uh, ever since I wrote this article in December of last year, um, how do you put all these building blocks together? Right?
Like, I, as an application developer, for me is really hard to reason about cryptography. It's really hard to reason about like where should I get the data from, and uh right now the tooling is in its infancy. So, what should I sort of like think of these tools as and how should I compose them? So, this is sort of like what I mean by by the pipeline. So over the last few months I've been thinking about this for for quite a bit. Um the the most important um for me, like will always be data. When it comes to digital identity, your identity is represented as bits. Like anything, any piece of information can be represented as zeros and ones on the internet or anywhere else.
And you need to some you need to have some notion of sort of like where that where that data comes from. Like if it's your, let's say like a biometric passport that was issued by, I don't know, like the European Union, you can uh extract the signature from the chip, and you can make uh a proof about the data that is on your passport without revealing anything. You can make a proof that you're over 18, for example. Right? So that's like the notion of data and data provenance proofs, and it's a core building core building block of digital identity. Without that data, you kind of really create an identity profile that's self-sovereign. Um another one is uh general programmable predicates and provable predicates uh to be precise.
Uh so what that means, um, maybe many people maybe know it uh behind the name of attestations. Um you've seen things like maybe Ethereum attestation service or intuition and a bunch of other projects that are looking into these things. Essentially, I can now take my data and those provenance proofs and make statements about them. I can prove to you that I'm a unique human verified by world ID, and I'm over 18, and I'm a citizen of the European Union, and you can make these statements and compose them together as long as you have the necessary data to do that to do so. Um also like in order to make this uh consumable by the, let's say by the blockchain, if like if you want to prove to someone or like to adapt that you want to do something, usually you have to do lots of cryptography, and then you need to verify all these proofs together.
So there's other tools like proof proof aggregators and proof marketplaces that allow you to delegate uh these sort of work uh so that you, as the user, you just have to sign one transaction uh and sort of like you see like what sort of things you're disclosing, or you can maybe selectively disclose what you want. Many of you maybe have also heard of intents over the last couple months. Umtense is just this notion where I, as the user, I don't have to like say like go to Uniswap, uh connect my wallet, um, select which asset I wanna swap and how much of it, and then just click send. Um I can, for example, say that, hey, if ETH hits $3,000, just sell it.
Um, and some solver um would, for example, just fill that order for me, right? I just sign transaction once, and the intent, I signify the intent that I wanna do, and some other third party just solves it for me. When it comes to digital identity and building applications around it, I doubt that most of you would wanna like go to all of your different data sort of vaults that are custody on your own phone or anywhere else, and try and make all of these statements together to sort of prove to someone that you're, for example, a credit worthy person in an under-collateralized lending protocol. Um, so that's sort of what intents are for.
It's a declarative design paradigm that allows you to program applications in a way where the user doesn't have to think about it. Think Uber, right? I just wanna go from place A to B. I don't care which car, I don't know, whatever, like just figure it out for me, and I'll and I'll sign, I'll pay, and I'll I'll sort of reward the person who solves this for me through some form of fee. Um of the optional ones and interesting ones that I've seen also come up is the notion of proofable by provable inference. Um for example, I I think all of you have used probably ChatGPT or Claude or Perplexity or any of these modern uh LLMs. Inference, when it comes to machine learning, is able to perform some like heuristic or is able to give you some results to some really hard problem, usually.
So sometimes, for example, like finding this solution, like this intent solution for a problem, might not be even computable by a person, and sometimes you might wanna have a computer do it for you, and the computer try and calculate like what is the best sort of thing you should do at this point in time. Um, if you want to make sure that this computer is not tricking you, or that whomever is providing the service is not tricking you, they can provide a computational proof of that thing, uh, of that program that is solving your your intent. And that one can be achieved through things like zero-nous machine learning, where there's some form of machine learning agent that finds the best route for you or solves something for you, and you can prove that they've actually solved uh the set of constraints that you gave it.
So this hopefully will lead to a better future, right? A future where digital identity is decentralized, just the same way we're used to using Bitcoin or Ethereum or rollups. Um it's also a future that should be self-sovereign. I, as the user, I should castrate my own data, and I should never disclose my data unless I really want to. And also, it should be just a subset of data. Um, all the applications that we should be building in the future, be that like the next video streaming application, right sharing platform, any any application that solves any problem, it should not have to come at the expense of our personal personal information and privacy. If we truly care about privacy, I think we should sort of try and build towards this future, especially people in this room, because all of you have the technical capabilities to do so.
Um and also maybe if you have friends, you should tell them about like how much of their privacy is disclosing, because I think like the average person is just so used to disclosing everything about themselves and not thinking about it twice, to the point where we forgot it, forgot where we came in the first place. If you watch videos from like the 1970s, people were aware of privacy and they really like were really careful about what they're doing. And um also there is this dichotomy where in this modern day and age, it's really hard to sort of compartmentalize like privacy because everything you do is locked at every second because you use a computer. Before, if you said something out loud on the open, no one recorded it.
There was no way of recording that information, so people thought they were in private. But nowadays you say something in front of your phone, and that is locked forever. And you don't really cannot really do anything about it because otherwise you're subhuman, right? Like you cannot use a phone, you cannot use a computer. All of these technologies that we've developed over the last 50 years are suddenly sort of at odds with our own uh needs and values and benefits. It needs to be something that is privacy preserving, right? Like you can use the modern cryptography I described, like zero knowledge cryptography, F H E T E some PC, to build solutions that um enable us to make it so. Uh it needs to be scalable, right?
One of the problems of like why cryptography is not widely adopted is because it's not performant compared to let's say just the web2 service that doesn't use anything else, maybe besides an encryption scheme for let's say TLS sending packets on the internet in an encrypted way. Um in order to make it scalable so that it can be used by billions of people, you need to improve the state of the art of cryptography and the engineering and the tooling that will run on this. We've already come a really far way, um long way when it comes to like building, for example, roll-ups or scalability solutions and all sorts of things when it comes to money, but we also need to think about how to build digital identity that scales as well. Another thing is uh interoperability and composability.
I should be able to compose my digital identity or my digital identity profile and move it across platforms. I should not have to recreate my friend network from Facebook to let's say Farcaster to Twitter or whatever, or X. Um doesn't matter. Like we should own our own sort of social network, our own friends, or um like our own sort of any form of digital identity profile that we've ever created, because that's valuable information and it can help us grow faster. And if we build intrapolable systems that don't have vendor lock-in, it will be a great unlock for value when it comes to building applications at large. Another thing is incentive alignment, right?
We've seen that all these economies are built on attention. They they sort of sell our data and they provide us with services that are usually addictive, right? They sell us some video that is within our interest. Like if I like working out, I'm gonna see videos of someone bench pressing all the day, all day. And so this gets us hooked, and therefore the incentives are misaligned. The platforms optimize for our attention, and that can ruin ruin us in various different ways. And so if we're building decentralized open solutions around digital identity, the incentives should be transparent, meaning that the applications should not try and capture our attention and get the most amount of money from us, but they should just build with transparent incentives to so that we see where money is going, how is it flowing, how we interacting with the application, so that we make sure that all of these applications are aligned with our values.
And last um last but not least, we need to build something that is open source and community built. Um, all of the applications that we use day to day, most of them that actually have billions of users are all closed source, link living on private servers that we have really no access to. Um the data should be closed source, right? Like we I don't want to see other people's data, that makes sense. But when it comes to like the actual platform, we have no way of actually changing it or tweaking it so that it serves uh for a better purpose. Um so I think that's uh most of my talk. Usually I give this in a very short manner.
I really like to keep it open for questions and answers in the end. Um so on Twitter or next uh and Telegram, this is my handle at DC Build3R. And this is the QR code that I mentioned early on for the full full-length article. Feel free to read it if you're if you're interested in trying to build a better future for Dutch identity. And feel free to ask me any questions offline if if you don't want to ask it right now. Thank you very much for listening. Do we have any questions?
Hi. Thanks for the insightful talk. I just was wondering, you had mentioned uh provable inference using ZKML. So I was wondering what are the costs associated if you want to implement such a uh application. Uh the question is what are the costs? Yeah, what are the additional costs if you want to have this uh Yeah, that's a great question. Um if you want to build something that is economically sustainable, the cost needs to be less than the value offered. That's like a given. Um because otherwise nobody will use your application at the expense of that.
Um so right now, zero knowledge cryptography is gotten like 1,000 X better than it was like a few years ago, and it keeps keeps getting better over time. But still, we're very far from let's say proving a any form of like 10 billion parameter plus model, uh, and you need to have like gigantic servers with lots of RAM, lots of GPUs, et cetera. This is gonna be like a really like iterative effort where you have custom hardware, et cetera. But like so the TLDR is like right now, you can improve small models that are simple enough, like random forests or decision trees or other things uh that are very small in a very cheap way. But if you want to build something that is actually useful and where provable inference is part of it, uh I think that we're gonna have to do lots of improvements when it comes to custom hardware.
Like AI only became useful after 12 years since 2012 since CNN's came out, where people started building ASICs and TPUs and all these other things. Without those, like it wouldn't become feasible. We need to build more hardware that is like ZK and maybe ZKML even customized. So maybe in like five years or so we're gonna have more. But yeah, to answer your question, it's still 2BD. Uh just a follow-up, is there anything alternate in your attention that can be used right now? Yes. Uh so there is three main companies that are building in the ZKML domain. Um there are Ezekiel, Modulus, and Giza. Uh just disclosure, I have equity in both uh modulus and Giza.
Um uh Ezekiel is like the most production ready when it comes to like a developer tool that anybody can use. Um that one is pretty cool. Giza also, they're using the Cairo VM from Starknet. Uh, ZQ is using Halo 2. And modulus is building like a custom proving system that is really hard to optimize for machine learning. Okay, thank you. You're welcome. Any other questions if there's time? I don't see a timer, so I'm not sure. Cool. Thank you very much. See you guys.
Related talks
- Privacy and identity at scale
- Client-side proving and the future of World - dcbuilder.eth
- Privacy by Design: ZK, MPC, TEE – San Francisco 2025
- Inside the Orb: Privacy in World's Hardware
- Navigating Privacy & Scaling Explorations | Panel | ETHDam 2024
- Who Vouches for You When Your Issuer Is Gone?
- ZKV presents ... Privacy in Cosmos Live!
- ZKPassport’s new Private FaceMatch
- The future of digital identity