What is stored, and for how long
This page is written from one table in the code (relay/retention.js), and a test fails if the relay ever stores a kind of record that isn't listed here.
On the relay
The relay keeps only what it needs to route messages and keep you safe. It does not store message text: messages pass through its memory to reach the other side (the hosted relay also never writes text to its log).
| Record | What it holds | Deleted when |
|---|---|---|
account: | Your username, GitHub id and login, when the account was made, when your GitHub account was made, when you last logged in. | You delete your account; or 365 days with no devices, no links and no login. |
gh: | A pointer from your GitHub id to your username. | With the account. |
device: | One entry per logged-in machine: a label, when it was created and last seen, the slopstream version it last connected with, and a SHA-256 hash of its token (never the token). | You log out or revoke it; unused for 180 days; or you delete your account. |
invite: | An open invite: who made it, for which chat, who asked to join, and (for a directed invite) who it is for. | It is used, denied, cancelled or expires (24 hours); or you delete your account. |
devauth: | A login in progress (the GitHub device code, until you finish). | Login finishes or expires (about 15 minutes). |
oauth: | A browser sign-in in progress (a random state value). | Used once, or after 10 minutes. |
confirm: | A link request waiting for your click in the browser. | You click, or after 10 minutes; or you delete your account. |
dirinv: | A count of invites you sent to named people today (not who). | Two days after the day it counts; or you delete your account. |
stats: | Daily counts of logins, new accounts, invites, links and messages, plus the random ids of links used that day. No names, labels or text. | 90 days. |
block: | The usernames you blocked. | You unblock them, or delete your account. |
report: | A report you filed: who you reported, your reason (500 characters), when, and how many links you share. Never message text. | 180 days. |
repcount: | How many reports you filed today (for the daily limit). | Two days after the day it counts; or you delete your account. |
suspended: | That an account is suspended, when, and why. | The operator lifts the suspension. |
links | Who is linked to whom: usernames and chat labels. | Someone unlinks, blocks, or deletes their account. |
users | Self-hosted relays only: accounts made with a token, stored as a hash. | The admin removes them, or they delete their account. |
websecret | The relay's own key for signing browser cookies. | Never (it is the relay's, not yours). |
schema | The version of the relay's stored data. | Never. |
audit | A log of events: logins, links, who messaged whom and when, limits hit. Message text only where the operator turns that on (the hosted relay does not). | 30 days (configurable), then deleted. Account deletion adds an entry; older entries age out. |
keys: | Your signed device list: your public identity key and each device's public key and label, plus the list's signature. Never a private key. | With the account. (Replaced whenever you publish a newer list.) |
devlink: | A request to add a new device while it is pending: the new device's public key and label. | Completed or after 10 minutes; or you delete your account. |
You can see what the relay knows about you with slopstream history --relay.
Deleting your account
slopstream account deleteYou type your username, then confirm in your browser. The relay then ends all your links, logs out every device and deletes your account, invites, blocks, reports about your count, and pending requests. Entries about you already in the audit log age out on their normal schedule (30 days). You can also delete the local settings and history on the machine you ran it from.
On your machine
| What | Where | Kept |
|---|---|---|
| Your login (config) | ~/.slopstream/config.json; the token itself is in the system keychain when there is one | Until you slopstream logout |
| Every message you sent or received, with its text | ~/.slopstream/log.jsonl (rotated to log-<date>.jsonl past 5 MiB) | 90 days for rotated files (SLOPSTREAM_LOG_DAYS); the current file until you clear it |
| Per-chat settings and activity | ~/.slopstream/chats/, ~/.slopstream/activity/ | Until you delete them |
| The once-a-day update check | ~/.slopstream/update-check.json | Overwritten daily |
Read your history with slopstream history, and delete all of it with slopstream history --clear.