v0.9.4 · Android · iOS · Linux
Two devices. One socket. Nothing in between.
Knock opens a single encrypted connection between you and one other person. Keys are generated on your device, held in memory, and zeroed when you close the app. There is no account to create and no server holding a copy.
AGPL-3.0 · reproducible builds · no analytics SDK
What each app keeps on its servers
Most messengers are server applications with a client attached. Knock is a client with nothing behind it. Here is the difference, stated plainly.
| Data | Knock | Signal | Telegram | |
|---|---|---|---|---|
| Account required | None | Phone number | Phone number | Phone number |
| Message stored on provider's server | Never | Until delivered | Until delivered | Until deleted |
| Contact graph on provider's server | None | Encrypted hashes | Contact list | Contact list |
| Provider can see who you talk to | No provider | Metadata only | Metadata only | Metadata only |
| Works on a LAN with no internet | Yes | No | No | No |
| Client source code | Open | Open | Closed | Partly open |
How a message moves
Four steps. Each one discards the material the previous step produced, so there is nothing left to hand over afterward.
-
01
Discover
Both peers publish a signed address record to a Kademlia DHT. Records expire after twenty minutes and are re-signed. There is no directory server to seize because there is no directory server.
-
02
Handshake
X25519 exchange over the direct socket. Both sides derive the same session key independently. The key itself never crosses the wire, so recording the handshake gets an observer nothing.
-
03
Send
The payload is sealed with XChaCha20-Poly1305 and a fresh nonce. The ratchet throws away the previous key the moment the message is sealed, which means a stolen key opens exactly one message.
-
04
Erase
Closing the session zeroes key material in memory. Nothing is written to disk and there is no history to sync, so a later device unlock finds an empty space where the conversation used to be.
What the wire carries
Two ways a Knock connection can be routed. In both, the payload is unreadable to anything that forwards it.
UDP 192.0.2.14:51820 → 198.51.100.7:51820 frame length 412 B cipher XChaCha20-Poly1305 header none sender none recipient none timestamp none body 9f 3a 11 c9 0d 7e 42 b8 a1 55 2e 70 cb 08 f3 6d ... 396 B ciphertext
RELAY relay.yourdomain.net:8443 relay sees your IP, peer's public key relay stores nothing, 0 B written retention none logs off by default payload sealed, unreadable
When both peers have a usable route, Knock talks to them directly. The only thing a network observer learns is that two IP addresses exchanged a fixed-size burst of noise.
If both peers sit behind symmetric NAT, point Knock at a relay you run yourself. It forwards sealed packets and cannot open them. It still learns your IP address, which is exactly why we don't operate one for you. You own the box, you own the log.
What Knock doesn't do
A privacy tool that only lists its strengths is a marketing page. These are the boundaries, in the order people usually hit them.
It doesn't hide that you are online from your network operator
It doesn't survive a compromised device
It doesn't keep history
It doesn't do group chats
Install
Builds are reproducible. Verify the checksum before you run anything. Signing keys rotate every six months and the old ones stay published.
| Platform | Package | Size | SHA-256 |
|---|---|---|---|
| Android 10+ | knock-0.9.4-arm64.apk | 24.1 MB | 4f2a91c9…7e0b |
| iOS 15+ | TestFlight build 941 | — | managed by Apple |
| Linux x86_64 | knock_0.9.4_amd64.deb | 8.7 MB | b31d0e77…c4a2 |
| Source | git.knock.chat/knock · tag v0.9.4 | — | signed, AGPL-3.0 |