DocsPrivacy and security
Is Knit secure?
Knit is built for a network where strangers' phones carry your messages, so it protects you in layers. Direct and group chats are end-to-end encrypted and forward-secret. Every message is signed, so nobody can fake or change one. Links between phones are encrypted, and so is the database on your phone. The Nearby room is the one place that's open, by design.
Checked against Knit 2.13.0
On Knit there's no server in the middle to trust. Messages hop from phone to phone, and any phone along the way could belong to anyone. Knit plans for four kinds of people: someone carrying your message, someone pretending to be you or a friend, someone listening to the radio, and someone holding your phone.
The phones that carry your messages can't read them
Your direct and group messages are sealed on your phone before they leave it, with keys that only the people in the conversation hold. That covers the text, photos, voice notes and files, and also reactions, delivery ticks and read receipts. A phone carrying your message holds a copy it can't open. It can't even tell a photo from a voice note.
The keys don't stay the same, either. Knit changes them as a conversation goes on and deletes the ones it's finished with. That's forward secrecy: someone who records your messages as they pass can't open them later, even if they get hold of a phone's keys afterwards.
- Keys change by block of messages: when the other person replies, after 200 messages, or after 24 hours.
- A phone holds on to a finished key for a while longer, normally two days, in case a late copy of a message still needs it. That recent stretch is the part a copied key could still open.
Nobody can fake or change a message
Your Knit identity is a key your phone makes for itself. There's no phone number, email address or account behind it. Every message you send carries a signature from that key, Nearby room posts included.
Phones check the signature before they do anything else with a message, and throw away any that fails. Nobody can post under your identity, and a phone passing your message along can't change a word of it without the message being dropped.
Making sure it's really them
Anyone can pick any name, so a name alone proves nothing. That's what safety numbers are for.
- Open the person's profile and find the Encryption section, which shows a safety number.
- With them in front of you, scan each other's code, or compare the numbers and tap Mark as verified.
- If you added them from a link and can't meet, compare the number over a call instead.
A match means the keys on your phone really are theirs, so nobody is sitting in the middle. Your safety number stays the same while the message keys change, so a verified contact stays verified.
People you haven't added land in Message requests, not your chat list. Knit doesn't download their pictures or files until you tap Accept.
Encrypted links between phones
When two phones running Knit 2.12.0 or later link over Bluetooth or Wi-Fi Aware, they first agree on a fresh key for that link alone, and everything after travels encrypted. A radio nearby that isn't part of the link can't read anything that passes between them, not even who a message is from or for.
Each phone also proves who it is as the link opens, by signing the link's fresh keys with its identity key. On an encrypted link, that means a device in range of both phones can't pose as either one or quietly sit between them.
To check, open Diagnostics: it lists who your phone reaches and whether each link is encrypted.
On your phone
Knit keeps your messages, contacts and keys in an encrypted database. Its key is locked by a hardware-backed key in Android's keystore, which never leaves the phone and isn't included in cloud backups, so the files are unreadable if they're copied off the phone. If the keystore is slow to answer, Knit waits and tells you, rather than deciding your keys are gone.
A backup from Settings › Backup and restore is one encrypted file, locked with a recovery key that Knit shows you once and doesn't keep. Without that key nobody can open it, Knit's developer included. If the same backup ends up running on two phones, each one says so and offers Sign out here.
Beyond the radio mesh
Everything above is Knit's phone-to-phone mesh, which needs no internet and no server. Internet relays and direct links to contacts are off until you turn them on, and pairing a LoRa radio is up to you. Each one comes with its own trade-offs, like a relay seeing your IP address. The What's encrypted page in these docs and the privacy policy spell those out.
Keeping yourself safe
- Verify the people you talk to most, in person if you can.
- Keep Knit up to date, and ask your contacts to do the same, so your links stay encrypted.
- Use a screen lock on your phone.
- Keep anything private out of the Nearby room.
- Store your backup's recovery key somewhere safe, like a password manager.
What to expect
- Anyone in range can read the Nearby room, and phones carry its posts for 6 hours.
- A phone that carries a message can see its outside: who it's from and for, when it was sent and how big it is, and for a group its member list, name and photo. Your profile's name, status and picture go out openly to the phones around you. Encrypted links hide all of this from a radio listening in, not from the phones that carry it.
- Your phone's Bluetooth signal sends a code that changes regularly, so a stranger scanning nearby can't follow it from place to place. Your contacts can still tell it's you. On a phone whose Bluetooth can't send a changing code, the signal keeps a fixed Knit ID.
- Someone watching the radios can see that your phone sent something, and when, without being able to read it.
- A link to a phone on a version of Knit before 2.12.0 isn't encrypted, though the direct and group messages inside it are still sealed.
- Someone who can unlock your phone and open Knit can read what's in it, as with any messenger.
Common questions
Can the phones passing my messages along read them?
Not your direct or group messages. Those are sealed on your phone, and only the people in the conversation hold the keys. A carrying phone sees who a message is from and for, and when, but not what it says. The Nearby room is the exception: it's open to everyone in range.
Can someone pretend to be my friend?
They can copy a name, but not the key behind it, and a message signed with the wrong key is thrown away. Comparing safety numbers with your friend, or scanning each other's code, proves the key on your phone is really theirs.
Can someone listening to Bluetooth read my messages?
Not your direct or group messages, ever. Between two phones on Knit 2.12.0 or later, the whole link is encrypted too, so a listener can't see who's writing to whom. They can still tell that a phone nearby is sending, and your contacts can tell it's yours.
Can Knit's developer read my messages?
No. The mesh runs without a server, your direct and group messages are sealed on your phone, and only the phones in the conversation hold the keys.
Read next
Something here unclear, wrong, or missing? Tell us and we'll fix the page.
← All docs