Local-First Conference Talk: We Need to Solve Key Management!
Today I gave a talk at the Local-First Conference in Berlin on a problem I’ve been thinking about for years: we need to solve key management. My pitch is simple:
We need a standard protocol and encryption layer for the internet that lets any OS or browser manage and recover keys with any guardian the user chooses. If that existed today, end-to-end encryption would be easy for most services and apps, users would truly own their private keys, and we could take back our identity and data privacy on the internet.
Here are the slides. The rest of this post walks through the problem, the design, and where I think this could go.
View the slides full screen or open them in Google Slides.
The problem: lose your key, lose everything
I got into local-first about six years ago while building Angelfish. The same problem came up again and again: an end-to-end encrypted app is miserable to use the moment someone loses their private key. Lose the key and you lose your login and all of your data. Nobody wants to tell a user that.
For years nobody solved this in a way that works for normal, non-technical people. The options we have today all fall short:
- Password-derived keys: forget the password and your data is gone, and weak passwords make weak keys.
- Seed phrases: fine for crypto enthusiasts, but most people won’t safely store 24 random words for decades.
- Biometric key derivation: you can’t change your fingerprint or face if it’s compromised, and biometrics change over a lifetime.
- Social recovery: a good idea, but limited when it relies only on friends and family, who may not be around or able to help when you need them.
Any real solution has to work for everyone, and it has to work from cradle to grave.
Why it matters now
This is about much more than one app. Our digital identities are moving to Decentralised Identifiers (DIDs) and Verifiable Credentials (VCs), which use private keys to sign and verify who we are. With them we could use the internet privately and unlock many new use cases, like one-click human verification on Twitter instead of paying $8/month to “prove” you’re not a bot.
In a world of AI, cryptography is the only real defence against someone faking or spoofing our identity online. If I sign my posts, content, messages and calls with my private key, anyone can verify they came from me and only me. A deepfake can’t produce that signature.
But none of this works if ordinary people can’t keep their keys safe and get them back when they lose a device. Key management is the missing piece.
How I got here
I first presented this idea at the Internet Identity Workshop in November 2025, after several years of thinking about the problem.
I started with what seemed like the hardest question. If you lose your key and go to an institution, like your bank, to help you recover it, how do you prove who you are? I went deep on AI, biometrics and every other identification technique I could find. Along the way I met someone from the UN refugee agency and learned how they identify people, and help them rebuild their lives, when they cross borders with no papers at all.
That led to the realisation that shaped the whole design: the protocol needs to decouple identification from recovery. How a guardian decides it’s really you is a different problem from how keys are safely split, stored and returned. Identification methods vary by country, by institution and by situation, and they keep improving. Recovery is something we can standardise today.
The key insight: trust is already built into society
The extreme “Bitcoin” philosophy of trusting no one doesn’t reflect the world we actually live in. We trust banks with our money. We trust supermarkets to sell us safe food. We trust airlines to fly us safely. Society already runs on trusted institutions, backed by regulation and the law.
So let’s build key recovery around the trust we already have, instead of pretending it doesn’t exist.
The design: CoralKM
CoralKM is a user-friendly protocol for decentralised key recovery. It asks what would happen if:
- Any trusted entity (a bank, a government agency, a company, a friend or family member) could become a guardian for your keys.
- It worked across any wallet or ecosystem as fundamental internet infrastructure.
- It worked from cradle to grave.
- The APIs were available to any developer today.
What the protocol does
The protocol focuses on the core process and nothing more:
- Choosing guardians. Your wallet splits a recovery key into shards and gives one to each guardian you choose. Guardians don’t know who the other guardians are.
- Maintaining them over time. The wallet automates guardian management and regular health checks, so your recovery set stays healthy for decades without you having to think about it.
- Recovery. To recover, you prove who you are to enough guardians to reach the threshold, and each one releases its shard, encrypted for your new device. A release delay gives you time to cancel any recovery you didn’t start.
What it leaves to guardians
How each guardian identifies you is up to them, and to the legal systems they already operate in. That means the protocol isn’t limited to what’s possible today. Guardians can innovate and offer the best identification technology as it becomes viable, and users get to choose.
Rating guardians
I imagine a world where guardians are rated by the strength of the identification they offer:
- A Gold guardian could be your bank. It might offer in-person verification, or a letter sent to your home address with a QR code encrypted for your recovery device.
- A Silver guardian could be a company like Google, offering online verification such as facial recognition over your webcam or SMS and email recovery.
- A friend could verify you in person by scanning a QR code.
Users choose the guardians that give them the security they want. Wallets can guide them towards best practices, like choosing at least one Gold guardian, or at least one guardian in another country or jurisdiction. The ratings themselves could come from a central rating agency that audits guardians on behalf of users.
When everything else fails
In extreme cases, say someone disappears and reappears years later, we don’t need to invent anything new. We can use the court process we already have. A court can establish who the person is, and guardians release their shards on that basis, so the user can still recover.
From cradle to grave
A wallet designed to last a lifetime has to handle the start and the end of that life too:
- Minors. Children under 18 need custody arrangements, so a parent or guardian can help manage their keys until they come of age.
- Inheritance. In a world of Verifiable Credentials, a government can issue a signed digital death certificate. A guardian can use it to automatically start recovering the keys and wallet to a named next of kin. A time delay makes sure that if the user is still alive, they can reject the request and block their digital assets from being handed over.
Starting small: bootstrapping the network
A protocol like this only works when it’s widely adopted, and building a guardian network will take years. So CoralKM is designed to start small and grow:
- Day one: lower-value keys. You start with one or two guardians plus friends and family. The wallet only secures keys like app logins. Losing one, or having it compromised, would suck, but it only affects those apps and the data in them. No money, crypto or legal IDs. My original idea for Angelfish was exactly this: Angelfish would be one guardian and a spouse or friend the other. Not secure enough for high-value keys, but good enough for an app login.
- As the network grows: digital IDs. Once users can choose more guardians, across jurisdictions and with stronger identification methods, the wallet can hold digital IDs for travel, work, opening bank accounts and more.
- Once it matures: crypto and high-value assets. When a user has a minimum number and level of guardians, the same wallet can secure crypto.
The wallet unlocks higher-value keys as the network matures, rather than asking anyone to bet everything on day one.
I can also imagine a new kind of business whose only job is protecting your keys. For a small annual subscription, these companies would offer the most advanced identification methods during recovery, and be based in countries that respect data sovereignty and privacy, like Ireland or Switzerland.
The vision: end-to-end encryption for everyone
If this were adopted as a standard, every OS, browser and wallet could manage and recover keys with any guardian the user chooses. Developers wouldn’t have to build their own fragile recovery systems, or give up on end-to-end encryption because users lose their keys. Every app on the internet could offer end-to-end encryption, and every user could keep their own private keys without fear of losing them.
That’s how we take back our identity and data privacy on the internet.
There’s a working prototype on GitHub: CoralStackCom/CoralKM. If you’re working on this problem too, I’d love to hear from you.