How it works

How Koilee protects your data

Koilee encrypts everything with the Signal Protocol. It also hides who sent each message and what kind of message it is, and it can hide where and when you connect.

Koilee is alpha software and hasn't been independently audited yet.

Who sees what

What each party can see

Taken from Koilee's threat model.

Your circle

The people you share with

Can see

  • Where you arewhile you share
  • Your name and bird
  • Chats, photos and stories
  • Places and arrivalsfor that circle

Can't see

  • Your IP address

The server

Ours, or yours

Can see

  • Your IP address, and when you connectTor hides it
  • How many share a circleas random IDs

Can't see

  • Where you are
  • Names, chats or places

Your ISP or Wi-Fi

Anyone on your network

Can see

  • That you use Koilee, and whenTor bridges hide it

Can't see

  • Where you are
  • Anything you send

The map host

OpenFreeMap, or your server's

Can see

  • The area you look atnothing with offline maps
  • Your IP addressTor hides it

Can't see

  • Who you are, or your circle

On Koilee's servers we're the operator, so the server card shows what we could see. If you run your own server, only you can see it.

“Your server sees who connects, from which IP, when and how often, but never where you are or who you are.” From Koilee's threat model
The path of an update

How a location update travels

  1. Your phone

    Pads it to a fixed size, encrypts it with your circle's sender key, and seals it with no sender.

  2. The wire

    A Noise channel inside TLS, in fixed-size frames, through Tor if you choose.

  3. The server

    Holds it in a queue with a random ID until every member has read it, at most 14 days.

  4. Their phone

    Opens it and checks it against the circle's signed rules.

Encryption

The same encryption as Signal

The cryptographic code is kept small and separate from the rest of the app.

Signal Protocol

PQXDH and the Double Ratchet: quantum-resistant setup and forward secrecy. Prekeys rotate weekly.

Sender keys

New keys on every join, leave or hide, and weekly anyway.

Signed circle rules

Members, admins and places are admin-signed. The server can't add anyone.

Verify each other

Safety numbers and QR codes; each key shows how you know it's theirs.

Rules kept by receivers

Timers and limits are enforced by the receiving phone, so a modified app can't skip them.

Session repair

A session that falls out of step is restarted automatically.

Who runs a server

Servers can state their operator and country. Koilee's own are signed by an offline key.

Anonymous tokens

Bought looks, Koilee Plus and the map on Koilee's servers use blind signatures. No server learns who paid.

Metadata

Protecting metadata

Even without message contents, records of who talked to whom, when and how much can reveal a lot. Koilee keeps those records to a minimum.

Sealed and padded

No sender; every location update is 685 bytes, every direct message 3,122.

Rotating IDs

Random mailbox and queue IDs, renewed weekly.

Anonymous posting

A send token, not an account. Separate IDs for posting and reading.

Tor built in

Arti, a circuit per connection, bridges and onion servers. No direct fallback.

Private routing

Connections to friends' servers go through yours, so they never see your IP.

Steady sending

One post per circle every 1 to 15 minutes, real or cover.

Separate timing

Over Tor, each circle fetches and posts on its own random clock.

App-link invites

With Tor on, invites skip the browser, so no web page sees your address.

model trained on server data

Where does Mai go after uni?

Input 1,284 sealed messages 685 bytes each sender: none places: none · names: none

Unknown. None of the data it was given contains a location, name or place.

What a Koilee server holds, whoever runs it.
On your phone

Processing on your phone

Computed locally

Arrivals, visits, statuses, steps, crash detection, shared rides and the scratch map.

Addresses without lookups

From map tiles already on the phone and a built-in town list.

Encrypted storage

AES-256-GCM-SIV per row, key in the Android Keystore. Nothing before first unlock.

Locked down

App lock, screenshot blocking, overlay blocking, blank notifications.

Photos and clips

In-app camera only, location stripped, clips played from memory.

Encrypted backups

Argon2id and a recovery key; optional daily backups to a folder you pick.

No Google inside

No Google code in the GitHub and F-Droid builds; even emoji are bundled. Push via UnifiedPush.

No secret mode

A notification while sharing; new members always announced.

The server

What the server stores

The server is written in Rust. It stores encrypted messages under random IDs and deletes them soon after delivery.

Little to keep

Chat media a day, voice notes a week, stories 25 hours. Deleted data is overwritten.

Sign-up without identity

An invite, a code, or a memory-hard puzzle that works over Tor. No phone check.

Move any time

Use several servers, or move a circle with members' consent.

Koilee's own servers

Coming with the Google Play release. Each server runs on its own, so a problem with one doesn't reach the others.

Self-host

Your own server in about ten minutes.

It's free and has every feature, with up to 256 people in a circle.

  • A small VPS or Raspberry Pi; 512 MB of RAM is plenty.
  • Caddy for HTTPS, or Tailscale or Cloudflare Tunnel.
  • Read-only containers with no extra privileges.
  • Optional weather and push helpers.
~/koilee/deploy
# get the bundle and set your domain
$ git clone https://github.com/koilee-org/koilee.git
$ cd koilee/deploy && cp .env.example .env
# KOILEE_DOMAIN=koilee.yourfamily.org

# start it
$ docker compose up -d
$ curl https://koilee.yourfamily.org/healthz
ok

# a code for your own first phone
$ docker compose exec koilee koilee-server admin code create
K7QF-2MXD-9RTA
Reproducible builds

Verify a release

Every release can be rebuilt from its source and compared with what you installed, file by file.

~/koilee
# the source of the release you have
$ git clone https://github.com/koilee-org/koilee.git
$ cd koilee && git checkout v0.1.0

# build it yourself, in a pinned container
$ scripts/release.sh --clean

# compare every file, and the signer (KOILEE_CERT: the key shown here)
$ scripts/verify-release.sh koilee-0.1.0.apk \
    dist/koilee-0.1.0-unsigned.apk "$KOILEE_CERT"
OK: … files identical in both APKs
OK: signed by the expected certificate

The signing key

One key, kept offline. Check it in AppVerifier or apksigner.

7E:7F:95:79:0C:75:3A:DA:0C:A6:DC:EC:9A:E5:B4:E1:84:97:C9:73:D0:2D:55:ED:CB:31:7A:B9:03:7C:FC:6E
SHA-256 signing certificate

The server too

Server builds are reproducible as well. A running server reports its hash at /attest.

Not yet independently audited.

Limits

What Koilee can't hide.

Your IP addressVisible to the server without Tor.
TimingWithout steady sending, timing can link a circle and show movement.
Active nowTies your circles together, even over Tor. Off at Safer and Safest.
Invite links in a browserShow the server your address. Scan or paste into Koilee instead.
The map hostSees the area you view, unless you use offline maps.
That you use KoileeVisible to your ISP, unless you use Tor bridges.
Share linksOpen in a web page the server sends. A dishonest server could read that link's location.
WeatherIf you turn it on, the weather service sees roughly where you are and your IP address.
Your circleCan screenshot what you share.
A compromised phoneSees what you see.