What a host can read

What a host can read

A host stores your content as ciphertext. How much of the content it can read depends on the tier. What it can read around the content is the same at every tier.

A host is any server you push to: a relay you run with loot serve, or a forge. A repo member without a grant sees what a relay sees of your content and history, but not the host's records of grants and requests. Sealed objects and envelopes explains the encryption itself.

Content, by tier

TierRelayForge
InternalReads it. Its key rides in every sync bundle, so peers pulling from the relay get readable files.Cannot. It drops those keys when it receives a push, and your other machines get theirs through grants to your own key.
PublishedReads it.Reads it. This is the one tier it can.
RestrictedCannot. The key reaches a host only inside a grant sealed to one recipient's public key.Cannot.
EmbargoedCannot, before or after the reveal. It holds each recipient's sealed grant until the reveal time.Cannot.

The trust matrix adds the other readers: your own disk, an anonymous visitor and the git mirror.

Around the content, at every tier

WhatWhat a host sees
PathsEvery path in every change, in full, Restricted and Embargoed paths included. If a filename is itself the secret, sealing the file does not hide it.
MessagesEvery change message, in the clear.
Graph shapeEach change's id, version id, parents, earlier versions and recorded moves, and its whole tree: every path with its object's address. An unchanged file keeps its address, so the host sees which paths each change touched.
Authors and signaturesEach change's author public key and signature, and every attestation: sign-offs, landmarks and notes, with their signers' keys. A note's text is in the clear, which is why loot refuses to write one on a change with a Restricted or Embargoed path.
SizesEach object's ciphertext length. Restricted and Embargoed content is never compressed, so its size is the plaintext size plus a fixed 16 bytes. Internal content is compressed before it is sealed, when that makes it smaller.
TiersEach object's tier, whether it is published, and an embargo's reveal time. The names on a restricted= list are stripped from each object and tree entry before they leave your machine.
GrantsFor each grant it holds: the issuer's public key, the recipient's public key, the object it opens, its reveal time and its expiry. Mailboxes are addressed by public key, never by name.
TimingEach change's authored time, and when each push, pull and grant deposit arrives. Pushes, grant deposits and grant collection are always signed, so the host knows which key made them. Other reads are signed on a forge and on a relay with an allowlist.
.lootattributesAn ordinary file, Internal by default, so a relay and every member read each rule, holder names included. A forge cannot. You can restrict the file itself to hide them, but then writers without its key stop receiving the policy.
TicketsA ticket is a directory, tickets/<id>/, or tickets/<group>/<id>/ for a restricted group, so its id, its group name and how many comments, label changes, resolutions and attachments it has are all paths. Whether a sealed ticket is closed shows too. Give groups opaque names if the names are sensitive.

On a forge, an anonymous visitor sees none of this, apart from the paths of Published files, unless the repo is marked metadata-public, which is off by default and which its owner sets with loot repo metadata public. Even then, a visitor never sees who holds a Restricted key.

What the shape does not give away

  • Keys. A sealed object never carries one, so storing or forwarding it cannot leak one.
  • Equal content. An object's address is the hash of its ciphertext, sealed under a fresh key, and no digest of plaintext is stored in an object or sent to a host. Two identical files sealed separately get unrelated addresses.

Pick paths and messages as if the host can read them, because it can. A burn destroys an object's bytes but leaves the change graph, path names included.