skirl

Privacy

Skirl sends nothing to anyone except the push services that deliver your notifications, and those cannot read them. There is no telemetry, no usage count, no update check and no account with anyone. Everything else stays on your server, and this page lists what that is and how long it is kept.

What leaves the server#

Notifications#

Each phone and browser that has notifications on gets them through its maker's push service: Google's for Chrome, Edge and Android, Mozilla's for Firefox, Apple's for Safari, iPhones and iPads. The browser chooses the service when notifications are turned on; Skirl sends only to the push services of Google, Mozilla, Apple and Microsoft, and refuses any other address.

Skirl sends one push per device:

  • when a message arrives in a topic in the inbox of the person the device belongs to (and who may still read it), unless that person muted the topic, the message is below their Notify me from priority, or it comes in their quiet hours below the priority they let through (then nothing is sent at all: Delivery and the delivery log);
  • when someone presses Send a test for that device.

What is inside a push is encrypted for that one device, and only the device can read it: the title (or the topic's name), the text (shortened to fit 4 KB), its emoji, the topic, the priority, a link to the message on your server, the address of an attached picture on your server, up to two buttons, your unread count, and a one-time code with which the device confirms it arrived. A button that calls an address (an http action) goes by an id only: its address, headers and body stay on your server, and the device reads them from there when the button is pressed.

What the device sends back to your server, and nowhere else: the one-time code when the notification arrives, with the build of Skirl's code on the device; and when a step of that code fails, the step, the error's name and a short message from the browser (at most 200 characters), with the same code. Never the message's title, text or topic.

What the push service sees: the internet address of your server, the public address it signs each push with (such as https://notify.example.com), the device's push address, when, how large the push is, how long to keep trying (until the message expires, at most 3 days) and how urgent it is (priority 4 and 5 high, 3 normal, 2 low, 1 very low).

A message sent with Cache: no is never stored and sends no push: it reaches only the connections open at that moment.

The push check in Diagnostics#

The check that the push services answer (on the Push card of Admin → Diagnostics) opens a secure connection to fcm.googleapis.com, updates.push.services.mozilla.com and web.push.apple.com on port 443 and closes it again, without sending a request or any data: it only proves the server can reach them. The checks run by themselves shortly after Skirl starts, every 30 minutes and after the public address or the proxy settings change; those runs try only the push services your devices use. Run checks again tries all three. Diagnostics explains the check.

Finding these services' addresses uses the server's own DNS, like any other program on it.

Nothing else#

  • No telemetry, statistics, crash reports or update checks: Skirl never contacts its makers or anyone else on its own.
  • Skirl never fetches what a message points to: a publisher's icon, a linked file, the address a message opens, a button's address. Readers' browsers may, as below.
  • No e-mail and no phone calls: Skirl has neither (Error messages).
  • Nothing goes to ntfy.sh. ntfy servers can pass each message on to ntfy.sh for ntfy's iPhone app; Skirl does not (ntfy's apps and tools).
  • Senders reach Skirl; Skirl never calls them back. Its only answer is the answer to their request.
  • The Docker companion, a separate program, talks only to Docker on its own machine and to your Skirl: Docker containers.

What your browser loads from other sites#

  • The app itself: nothing. Its scripts, fonts and icons come from your server, and the page's own rules forbid loading anything from elsewhere.
  • Notifications: when you turn them on, your browser signs up with its own push service. That is between the browser and its maker.
  • Pictures from other sites: off unless an admin turns on Load images from other sites (Admin → Settings → Pictures from other sites). Then readers' browsers load publishers' icons and linked pictures from the sites they name, over HTTPS, and those sites see each reader's address and when they looked: Admin settings. Off, they are links.
  • Links and buttons: another site opens only when you click a message's link, a link in its text or a button that opens an address. Pressing a button that calls an address makes your browser send that request, as the publisher wrote it, without your cookies: Message features.
  • Help: links to Skirl's documentation, and open an issue on GitHub on Connect a system, open GitHub when you click them.

What Skirl stores#

The data directory#

Everything is in one folder, the data directory: /data in the container, /var/lib/skirl with the systemd unit, and otherwise ./data in the folder Skirl was started in, unless you give another one (The data directory):

What Holds
skirl.db, with skirl.db-wal and skirl.db-shm beside it while Skirl runs The database: everything below
attachments The files sent with messages, each named by a random id
backups Copies of the database taken before an upgrade changed it; the newest three are kept (Upgrading)
skirl.lock Empty: says a Skirl is using the folder

When Skirl creates the folder, it makes it readable only by the user it runs as. The database holds the password hashes and the server's push keys, so treat the folder and its backups as secret: Backup and restore.

In the database#

What What is kept How long
People User name, name shown, role, whether they may create topics, when they were added, disabled and last signed in, and the password as an Argon2id hash (never the password) Until deleted in Admin → People
Sessions (signed-in browsers) A hash of the session code (the code itself is only in the browser's cookie), the browser's user agent and address, when it started and was last used 30 days after it was last used; signing out, a password change, Sign out everywhere, disabling or deleting the person end it at once
Tokens A hash of the token (the token itself is shown once, when it is made), its name and last four characters, its limits, when it was made, last used (to the minute), expires and was revoked Revoked and expired ones stay listed until their owner is deleted
Topics and access Each topic's name, settings, who made it, and who may read or send Until the topic is deleted
Messages Everything the sender sent (title, text, tags, priority, links, icon address, buttons with their headers and body, the file's details), when, and the internet address it came from (never shown in the app). Search uses an index of the title, text and tags The topic's Keep messages (days), 30 unless changed; removed within 10 minutes after, and at once when the message is deleted or its topic is
Files The file, its name, type and size, and who sent it Keep files for (7 days unless an admin changed it), never longer than the message; removed within 10 minutes after. Deleting a person keeps the files they sent until then (Deleting a person)
Your inbox Which topics you subscribe to, what you read, mute and Notify me from priority per topic, your quiet hours Until you change them, or the person is deleted
Devices Each device's name, the browser's user agent, platform (such as "Safari on iOS"), whether it is installed, the Skirl address it was set up at, its push address and keys, its state, and when it was set up, last seen, last sent to and last confirmed a push; the build of Skirl's code on it, and the last step of that code that failed, with the error's name, its short message and when Until removed in Settings → Devices, or the person is deleted
Delivery records For each message and device: what happened (received, sent, queued, skipped, failed), why, the attempts and times, a hash of the one-time receipt code, and a step of Skirl's code on the device that failed, with the error's name, its short message and when With the message; for test notifications, 7 days
Browsers seen For each person, each browser's platform, whether it was installed and whether notifications were on, and when: for Diagnostics' list of who is not receiving Until the person is deleted
Listen for a real message At most five bodies a sender sent while the topic was listening, 64 KB each, with their content type only: no headers, no address Until a template is made from them or they are forgotten, at most 24 hours
Templates, settings Your templates, the admin settings, the server's push key pair (made at the first start), the last Diagnostics result Until changed

Anyone who has a file's link can download it without signing in until the file expires: the link's 32 random characters are its only protection. Everything else needs a session, a password or a token.

In your browser#

The session cookie (__Host-skirl_session over HTTPS, skirl_session over plain HTTP), which scripts on the page cannot read and which lasts 30 days. The app's own files, so it opens quickly and offline. Your theme and the banners you dismissed. Where notifications are on, what the browser needs to renew them. Messages are not kept in the browser: the app asks the server each time.

What the server logs#

Skirl writes its log to standard error, as text or JSON (--log-format): in Docker that is the container's log, with systemd the journal. How long it is kept is up to them; Skirl writes no log files.

  • Every request: one line with the method, the path (never the part after ?, which can hold a password or a token), the status, the size, the time it took, and the address of the connection. Behind a proxy that is the proxy's address, not the visitor's. A path can hold a topic's name, a user name or a message's id. A file's link is cut short to the first 6 characters of the file's id and "…", such as /file/k3xq7d…, because the whole link is all anyone needs to download the file; so is a file named in a warning, such as one that could not be removed.
  • Changes: who added, changed, disabled or deleted a person, made, renamed, rotated or revoked a token (by its number, owner and name), made, changed or deleted a topic or gave access to it, changed a setting (the public address and the trusted proxies included), saved or deleted a template, cancelled a scheduled message.
  • The server's own work: starting (address, data directory, version) and stopping, how many expired messages and files it removed, warnings such as a push service refusing a push (with its status, the device's number, the push service's name and your server's public address).

Never in the log: passwords, tokens (only their number), session cookies, the setup token, receipt codes, a file's whole link, the title or text of a message, and the webhook bodies Listen for a real message keeps.

This page on GitHub