Human Keys with Protected Self Custody and ZL Identity - Shady El Damaty (Holonym Foundation)
ETHMilan 2024 · 23 Oct 2024 · 12:55
Shady El Damaty, co-founder of Holonym Foundation, presents Human Keys and protected self-custody for consumer onboarding. The talk reviews the security and cost problems of wallet-as-a-service logins, then shows how two-party computation lets a social login key share and a decentralised network share jointly sign transactions. It covers the Mishti network on EigenLayer, programmable recovery conditions, and Holonym's zero-knowledge identity protocol for client-side proofs and compliant onboarding.
Speakers
Topics
From ETHMilan 2024, hosted by ETH Milan.
Transcript
thank you bonjo hi everybody uh thanks for having me today good morning to the brave audience members that are fighting over their appall hangovers to be here with us today so kudos to you my name is Shadi alar I'm a co-founder of hollam foundation and I've been working on something really exciting that I can't wait to share with you today it's called silk silk is uh it's how we're thinking about the current hottest narrative in web 3 today which is consumer onboarding building consumer apps that take crypto to mainstream audiences Without Really shoving into their faces uh acronyms seed phrases clunky ux and scams
constantly bombarding users and this is really difficult to do right if you're trying to build a really consumer-friendly wallet you need to think carefully about the human that's behind the technology you need to make it human friendly so so we've built a a very secure embeddable wallet that's geared primarily for solving any sort of onboarding challenges or R without sacrificing security and preserving ux all along the way so thankfully you can see this example iframe here this is a completely wh labeled um white labelable wallets you can customize it with any
type of social off that you'll need to cre to generate the wallet so it's this it's very similar to taking a Social account that might already exist and in a way vampire attacking that and turning that into a wallet um and this is powered by a bunch of uh I I'll get into exactly what's happening under the hood and why this is really exciting and different than anything that's come before so the thing that we see across the field in web 3 I think like um a lot of you guys all have wallets right and I'm sure you've interacted with daps where you didn't even know you were creating a wallet and that's what wallets as a service really have done in the last year and a half for the web 3
Industry they've made it as easy as logging into an openc account with a Google account with uh uh a Social account Etc now it's really interesting seeing where the industry has come right if you go back to about five years ago and you type in sign in with Google into the open Zeppelin forums you'll see a a post from one of the founders of uh one of the founding Engineers of uh nosis where they're talking about something really cool that they invented they're like hey guys what if what if we could sign into ethereum into an ethereum wallet what if we could sign into that with Google what if we could authenticate and load our wallet with a Google account and this was really cool
they were doing everything on chain they're using a commit reveal scheme they were putting the JWT on chain and there was problems with that of course and that was the first step really towards account abstraction that was back in 2018 um now the open Zeppelin form uh responses were very supportive like yeah man this is really cool we love to see where this goes but if you looked at the cross poost on Reddit people were dragging that through uh uh dragging it through the comments why would you ever why would you ever give your your private key to Google why would you make your wallet as secure as your Google account I don't know if anyone's everever lost a Google account before or been locked out because you weren't inactive for some time that happens so what's the point right what's the point of doing that and
so while wallets as a service really have made us kind of be ready immediately for this web 3 consumer moment that we're all anticipating unfortunately there's two really big problems with them one uh they're not secure they're sacrificing security not only on behalf of external parties um they're not secure against fishing attack cross- site scripting clickjacking uh third party interference like through Google and they're not secure against the user themselves losing uh their account uh and they're also paid why would you ever give a company right a web 2 company a brick and mor company I mean sure they could be decentralized but they're brick and
mortar somewhere uh the ability to determine whether you can access your self- custodial wallet or not why would you ever do that doesn't make any sense so these what these these are going to be great for like traditional web 2 type plays but if we're going to see a really web 3 uh move forward we need to look at different technology so silk addresses all of that it's decentralized using something called two-party compute now if you haven't heard about two-party compute before you will stop start hearing about it a ton um so two-party compute really kind of simply stated it allows two decentralized networks that might be operating with two say like rotating key shares be able to collaborate and sign
messages on those key key shares within a threshold Network these are both two threshold networks so this is really cool it means that you can have say one network like Bitcoin and another Network like ethereum and then they can come together and sign a message so that for example you could natively move assets on bitcoin and then withdraw loan on ethereum this is huge and for a long time this two-party compute in specifically two- party ecdsa signatures were considered impossible they were considered something that's computationally intractable and that would never scale but this was solved in the past year and a half by a brilliant cryptography team out of Israel you'll be hearing a little bit about them too they're called par so what's really
interesting about this is if you just rewind the tape a little bit before everybody put their eggs into the account abstraction and the embeddable wallet as a service protocols and say let's build this this is how we're going to get there and think like wait okay so you're telling telling me I don't need to sacrifice security you're telling me I can still have social logins but I can keep those social logins and hold them accountable from hijacking my account um yeah so my slides aren't going to really help you guys out here let me just find a good one uh so just keep up let's see here okay here we go this will yeah we raise a lot of money okay so you just
keep that one up but um yeah so what's interesting here what you can do actually is you can now have uh one key share that you derive save from a Social account then you can have another key share that you store in a decentralized network that will only sign transactions if you authorize it this is what we call protected self- custody so the user in effect has always has control over their wallet and even if a single um say the Social account login doesn't work uh say for example the network is compromised transactions can't be signed on behalf of the user and this allows you to do all sorts of really cool stuff
like you can program ZK proofs of identity into this flow so that if you ever need to say for example recover your $10 million wallet say you're running uh say your wer which is a crypto Exchange in India and say for example uh a malicious actor has uh installed malware on your institutional uh devices that you're using for for for for managing the funds of clients uh and say that that hacker has now locked you out of your account you're unable to access them uh they you know they've scooped your your your C phrase up maybe even compromise the whole the whole machine and the whole wallet well what
you could do with silk is you can actually put programmable conditions to prevent condition that prevents situations like that from ever happening so the way that would work you could require additional forms of authentication everything from say like a UB key like why weren't they using a UB key to begin with you could add an additional signer just like you would with a smart account wallet on chain um you could also have more intelligent AI risk monitoring on top of that to make sure that no weird sketchy large transactions are suddenly moving hundreds of millions of dollars out of the exchanges accounts uh so 2pc is really powerful and when you combine that with uh wallet architecture and NPC networks what you end up with is the next Evolution for this whole was situation that we got ourselves into uh
and that's wallets as a as a protocol not as a service and that's what silk runs on so under the hood actually um we have so here's silk over here we have um uh one uh decentralized Network that's one of the parties that's performing the two-party computation that's called mishy Network it's uh an actively validated service on igen layer so in effect what it's doing is Mishi is taking any personal attributes on behalf of the user uh say like you know human attributes like uh uh what they know what they are what they have you know it could be passwords security questions it could be Biometrics and it computes
something called the oblivious pseudo random function the oprf and it does this in a threshold network uh of nodes that are secured by ethereum reaking so when we really drill down to the bottom of it how this key derivation is working it's actually key derivation that's using collusion resistance based off of e ethereum Economic Security so this is a wallet that's secured basically with ethereum reaking uh and this allows you to do a lot of really cool stuff so you can actually put the viewing uh you can put the key any key actually in mishy network and it forms this KMS that you can have programmable conditions for uh combining the shares and re addding them you can have extra signers Etc um you can you know encrypt data to some public
key and put the private key for decrypting uh within the network and so this really is super interesting when it comes to thinking about identity so if you're kind of catching on to how I'm approaching this how we're approaching this at hollam Foundation we're thinking through this as um how should I say um it's not just about the key on its own it's about the ID as well it's about the identity attributes that uh come along with the human that's going to be interacting with the technology techology that allow us to actually achieve this sort of very intuitive seamless user experience and so uh the other as the other product here that we have Under the foundation's
Umbrella is a product called zeron um xery is a zero knowledge identity protocol that allows us to prove client side um facts about a person and their identity whether they have a driver's license whether they have legal personhood whether they're the ones who set up that account when they say uh open up their business for example and create the wallet so when you combine all of these things together you have a full stack infrastructure for onboarding you can uh developers I wish I could show you some of the code um developers can integrate this in under 20 minutes it's literally just a block of code and this includes build time this includes you know running it up on local hosts pushing it to GitHub getting in production it's really easy to integrate and you can have a completely wh labeled
customizable uux that gives your users the ability to set their own custom security policies or you could set them for them you can on board users with conditions like kyc AML and this is all done in ZK right so we're using decentralized networks and ZK proofs to perform client side proving so the the the user actually proves on their own device that they have certain attributes like that an NFC passport for example and that they're not on a sanctions list and you can gate that you can gate access to your defi protocol you can geofence it and so this is how we really get web 3 out to the masses um is we need to build more humanfriendly user experiences not just consumer friendly we need to be thinking about the humans that are behind the technology and uh yeah I could go on for
hours about this but the last message I really want to deliver here is we are just coming out of beta our igen layer or our AVS and IG layer will be launching on Main Nets in about uh three weeks now and we're rewarding early developers who integrate um with points so we have a developer points program every user you onboard uh every unique user you onboard developers will get all the points for that user and it's a first come for serve so if somebody else on boards that user uh their points still go to the original developer and yeah so if you want to check us out uh we're hm. h l n ym. ID that's us on the internet uh zerox holim on Twitter my name is shad the alati I'm one of the
co-founders and happy to take any questions thank you
Related talks
- Human Keys for Digital Human Rights
- Crypto Apps and Decentralized Social
- Tiago Sada - The Worldcoin Story
- ZK Email: Fast Proofs and Production-Ready Account Recovery
- Identity Isn't Something a Single Company Can Solve
- Human Centered Identity: We are more than keys by Jonny Howle (Devcon4)
- The Builder's Dilemma
- Encode x Worldcoin Educate Series: Introduction to Worldcoin
- Identity Solutions for Web3
