Keep your data private
inseam cannot read your data at rest. Your network’s index is encrypted with keys that only your devices and your browsers hold. This page explains what that means, what you do once, and the one case where inseam can read a host: when you give inseam the key.
What inseam can and cannot see
Section titled “What inseam can and cannot see”Every host in a network is sealed: its search index (the text, titles, paths and vectors of what it holds) is stored encrypted. The pad’s own files are stored encrypted too. inseam stores the encrypted bytes and cannot open them.
To index or to search, the work needs the key. Your devices and browsers lend it for that work only:
| what inseam can see | |
|---|---|
| your index, stored | nothing: it is encrypted, and inseam has no key |
| a copy of the storage or of our databases | nothing readable |
| while your device indexes | the text of what it indexes, in memory, while the device is connected |
| while you or your agent search | the query and the results, in memory, for that request only |
| always | host names and kinds, sizes, item counts, and when things happen |
| for each search | how long it took, how much it read, and which hosts it searched, for 90 days. Never the query or the results. You see the same numbers on your network’s Performance page |
A key that your device or request lends is never written to storage or to a log. When the work ends, it is gone.
Next: today the indexing and the search run on inseam’s servers with a lent key. Next, your devices will build the index and search it themselves, so that no plaintext passes through inseam at all. Your stored data will not change for that.
Seal your network
Section titled “Seal your network”A new network asks you to seal it before you add a host. It takes a minute:
- Open your network in the web app. The first page asks you to seal it. Later, the Privacy page has Seal this network.
- inseam makes your network key in your browser and shows a recovery key once. It starts with
inseam-recovery-. - Save the recovery key somewhere safe: a password manager, or on paper. inseam cannot recover it for you.
- Confirm that you saved it. This browser now holds the key.
From the CLI, on a device that you own:
inseam keys initIt prints the recovery key once. Save it.
If you lose every device, every browser and the recovery key, inseam cannot open your index. Nothing is lost from your folders and accounts: your devices index them again from the start.
Give the key to your devices and browsers
Section titled “Give the key to your devices and browsers”A device you connect asks for the key. Give it from a device or browser that already has it:
- In the web app: open Nodes. A device that waits for the key says so. Select Give this device the key. The Overview also tells you when a device waits for the key.
- From the CLI, on a device that has the key:
inseam keys sharegives it to each of your devices that waits for it. - With the recovery key, on the new device:
inseam keys recover inseam-recovery-…
A browser opens the key in one of three ways:
- This browser is remembered. It opens the key when you open the app.
- A passkey. If your passkey and browser support it, unlock with the passkey, with nothing to type.
- The recovery key. Type or paste it. Then you can choose to remember this browser.
Lock on the Privacy page forgets the key in this browser. On the same page, under Your keys, you add a passkey or remember this browser, and you see each passkey and browser that holds the key.
See who can read what
Section titled “See who can read what”The Privacy page shows what inseam can see in your network: which hosts are sealed, which hosts inseam holds the key of, which hosts are not sealed, and which devices hold the network key.
To check what a device holds:
inseam keys statusAgents
Section titled “Agents”Not available yet. Today an agent’s token, and an API token, does not carry the keys of sealed hosts. An agent
cannot search or read a sealed host: its search answer lists the host with searched: false and the reason
sealed. Hosts that are not sealed work as usual.
When this is turned on, the consent page will give the agent the keys of the hosts you let it read, and always the key of its own folder on the pad. The keys will travel inside the agent’s token, and inseam will keep only an encrypted copy that it cannot open without the token. Revoking the agent deletes that copy. An agent that you connected before a host existed will need to connect again to read that host.
Hosts that inseam’s cloud node runs
Section titled “Hosts that inseam’s cloud node runs”Some hosts are produced by inseam’s cloud node, not by one of your devices: the pad, and cloud accounts that you connect. The cloud node holds no key. A sealed cloud host is indexed when a key holder lends the key: when you or an agent writes to it or reads from it.
To keep a cloud host indexed at all times, you can grant inseam’s cloud node the key for that host. Open the host and, under Who holds the key, select Grant inseam’s cloud node this key. Only the network’s owner can. Know what this means:
- inseam operates the cloud node. With the key, inseam can read this host’s index: its text, titles and paths.
- The host then shows inseam holds the key, and each use of the key is in your network’s activity.
- You can withdraw the grant. Withdrawing makes inseam forget its copy. It cannot undo what a compromised server may have kept.
A grant is for one host only. It never opens your other hosts.
Steward it yourself instead
Section titled “Steward it yourself instead”The alternative to a grant is to run the steward yourself. A steward is the node that produces a host’s index. Any machine that runs inseam can be one: your laptop, a home server, or a VPS that you rent.
curl -fsSL https://inseam.io/install.sh | shinseam enrol --name "my server" --no-openinseam keys recover inseam-recovery-… # or give it the key from the web appinseam host add /srv/filesinseam runThe key stays on your machines, and the server keeps your hosts indexed while your laptop is closed. Today a self-run steward indexes folders. Cloud connections that run on your own server are not available yet.
Hosts made before sealing
Section titled “Hosts made before sealing”A network made before sealing existed keeps working. Its hosts show Not sealed: inseam can read this host. Seal the network from its Privacy page; hosts you add after that are sealed. Converting a host that already has an index is not available yet: to seal it now, remove the host and add it again after you seal the network. Its folder is indexed again from the start.