
Every account on a network like ours comes down to a key, and somebody has to keep it. Whoever keeps it can move the account, sign as its owner, or lose it. Release 0.6.0 (12 November 2026) lets each person on an OpenFederation server choose who that is, from three options. The problem is much older than our project, so this article starts with how others have answered it.
The two ends
The first answer is the one most of the web uses: the service keeps the key. You have an email and a password, and when you forget the password you get a link. Your bank works this way, and so does a Mastodon server, a crypto exchange, and the default Bluesky account. It's called custodial, and it is very hard to lock yourself out. The price is that the service can do anything you can do, including things you didn't ask for.
The second answer is the opposite: only you keep the key, usually as 12 or 24 words written on paper. Bitcoin wallets and MetaMask work this way. So does Nostr, where the key is the identity and the base protocol has no way to replace one that leaked. Nobody can act as you, and nobody can help you either. People lose their words all the time (house moves, dead phones, a notebook that got thrown away).
Most people shouldn't be at either end, and a lot of work in the last 10 years went into the space between them.
What others built in between
- Several keys instead of one. A multisig wallet such as Safe needs, say, 2 of 3 keys to sign, so losing one key is survivable and stealing one is useless.
- Social recovery. Argent made it popular and Vitalik Buterin argued for it in a 2021 essay: you use one key every day, and a group of guardians you chose can together replace it if you lose it.
- Splitting the backup. Shamir's secret sharing cuts a secret into pieces so that any 2 of 3 (or 3 of 5) rebuild it and fewer reveal nothing. Trezor offers it for the paper backup. Ledger Recover, from 2023, gives the pieces to three companies after an ID check, and the backlash that year was mostly from users who hadn't known the device could hand its secret out at all.
- Splitting the key itself between your device and a provider, so that neither has all of it. This is what wallets built into apps mostly do.
- Passkeys. The key lives in your phone's secure chip and Face ID opens it. They're very good for daily use, but most of them are synced by Apple or Google, so the custodian has changed rather than gone away.
The idea closest to ours comes from the AT Protocol, which Bluesky and OpenFederation both use. An identity there (a did:plc) lists its keys in order of priority. Any key on the list can sign a change, and a key higher on the list can cancel a change made by a lower one, if it acts within 72 hours. Think of a shared company account where a junior partner can make a transfer and the senior partner has 3 days to reverse it. The protocol's own advice to careful users is to add a key of their own above the server's, but that isn't part of an ordinary sign-up.
Why we needed more than one answer
Two projects run on the same OpenFederation code. Grvty is for sports clubs, where a member who loses a key must not lose their account, and the club's server being able to restore it is a feature. Open Newsrooms is for journalists, where the server being able to act for a reporter is the threat itself. We didn't want two codebases, so custody became a setting. Each server decides which modes it offers and which one it offers first, and each person picks one at sign-up and can change it later.
The three modes
All three use the priority list described above. The difference is only whose keys are on it.
- Custodial. Only the server's key is listed. There are no words to write down and nothing to lose, and the server can change the identity. This is what every account was before 0.6.0.
- Assisted. Your key is first and the server's is second. You control the identity. If you lose your 12 words, the server checks who you are and signs a new key in for you, and it emails you every time it signs a change to your identity. For 72 hours your old words can cancel that change, so a recovery started by somebody else fails while you still have them.
- Self. Only your key is listed. The server can't move, change or recover the identity, and neither can anybody who breaks into it. Lose the words and the identity can never change again.
Logging in is separate in every mode. You still have a password, and a reset link still works, but it gives back the login and nothing else. Somebody who steals your email can sign in and post through the server. They can't move the identity or sign as you, and with your words you can move to another server and cut them off.
Changing modes works in every direction, with one rule we care about: a password alone never changes a mode. Moving towards yourself needs proof that you hold the new keys. Moving towards the server needs a signature from your own key, so a stolen password can't hand the identity over.
Recovery without asking the server
Self mode with no way back is too harsh for most people, so there is an optional second key, listed just below yours, that the server never sees. You can keep it as a second set of 12 words in a safe. Or you can split it among people you trust, and one of them can be your newsroom (2 of 3: you, the newsroom, a colleague). The newsroom alone can't recover the account, even when it also runs the server.
It's social recovery and Shamir again, with two differences from the wallet versions. The shares are made on your device and handed over on paper or as a QR code, so the server can't say who holds them. And the 72-hour rule still applies: your original words can cancel a recovery, so the people holding shares can't quietly take the identity while you're still around. That only works if you notice in time, and since the server never sees this key it can't email you about it.
For daily use, typing 12 words is a pain, so the words are stored on the device encrypted with a passkey, and Face ID or Touch ID opens them. Where a browser or security key can't do that, you keep typing the words. We decided against a PIN or any other weaker secret as a fallback.
The key that signs your posts
There is one more key, and it's the one people forget. The priority list controls the identity. A different key signs every post and record, and in the AT Protocol the server normally holds it, in every mode. So even in self mode a hostile operator could write a record in your name. They couldn't move your account, but they could put words in your mouth.
We have two answers. Since 0.6.0 a record can carry a second signature made with your own key, which the server can't produce, so apps can show "signed by the person" and a forgery can be proven. The stronger answer is device signing: the signing key lives on your device, the identity names it publicly, and anything the server signs is rejected everywhere. The server can still refuse your posts, but it can't forge them. The cost: nothing can be written to your account while your device is offline.
Where it stands
- As of writing (November 2026), custody modes are in release 0.6.0. The recovery key, the split among people, the dashboard screens and device signing were released after that, and run on our own servers today.
- Device signing is switched on from the dashboard and covers profile changes, contacts, forum posts, RSVPs and votes. A few things stop working while it's on: claiming an outside key, and seeing activity from communities on other servers in your timeline. If the device is lost, a new one takes over with the 12 words or the recovery key, and the original words can cancel that for 72 hours.
- No mode protects against stolen words. Whoever has them holds the top key.
- The 72-hour cancel depends on somebody noticing. In assisted mode that's an email from the server reaching you.
- An account in assisted or self mode can leave a server without its help, and another OpenFederation server can take it in on the 12 words alone, also when the old server is gone (#382). That was released after 0.6.0 as well. Pictures and files have to be downloaded before leaving, because no other server has them.
None of the pieces here is our invention. The priority list and the 72 hours come from the AT Protocol, the split from Shamir in 1979, the guardians from the wallet world. Our part was putting them behind one setting. The full reasoning, with every decision and its threat model, is in ADR-003. If you see a hole in it, an issue on GitHub is the best place to tell us.
Originally published at OpenFederation