How It Works
A vault belongs to one licence and one environment. It holds sealed objects, a cleartext index of them, and a log of every change. Octet runs the vault inside the service your app already uploads proofs to, so sealing needs no change to your app.
From upload to sealed object
flowchart LR
A[Your app] -->|uploads a proof| CF[Cloudflare]
CF --> B[Octet upload service]
B -->|queued in the same transaction| C[Sealer]
C -->|sealed to your recipient key| D[(Sealed objects)]
C --> E[(Index)]
C --> F[Log]
F -->|each checkpoint| G[RFC 3161 timestamp<br/>and OpenTimestamps]
- Your app uploads a proof as it does today, through Cloudflare to Octet's upload service. When the vault seals that source, the upload service queues the proof for sealing in the same database transaction that stores it.
- The sealer builds an evidence bundle: the signed proof exactly as uploaded, its upload envelope, the time Octet issued the proof's upload challenge, and the attestation material a later verifier needs (see Verification).
- The sealer pads the bundle to a fixed size class, the smallest being 16 KiB, so an object's size reveals little about its content.
- The sealer encrypts the bundle with HPKE (RFC 9180) to your active recipient key, using X-Wing, a hybrid of X25519 and ML-KEM-768. ML-KEM-768 is a post-quantum algorithm, so someone who records a sealed object now and builds a quantum computer later still can't open it.
- The vault stores the sealed object write-once, adds a row to the index, appends an
object_writtenevent to the log, and signs a write receipt for it. - Once a minute, while the log grows, the vault signs a checkpoint of the log. Each checkpoint gets an RFC 3161 timestamp from DigiCert within minutes, and an OpenTimestamps proof that reaches a Bitcoin block within hours.
Only proofs uploaded after sealing was turned on are sealed. A proof uploaded earlier stays in Octet's 24-hour upload buffer and is never archived.
The vault seals every proof your app uploads. With uploads on, the Octet SDK uploads each proof it makes, including the proofs it makes in the background while your app runs. The number of objects in your vault therefore follows how often your app makes proofs.
What gets sealed
| Source | What it is |
|---|---|
INGEST |
Each proof your app's devices upload, and each iOS device's App Attest enrolment |
ENGINE |
Each proof the Octet policy engine submits for a decision, and the engine's decision records. Octet adds this source only if your decisions run through the engine. |
Octet sets the sources when it turns on sealing for your vault.
iOS enrolments. Most iOS proofs carry only an assertion from a key that Apple attested once, when the device enrolled with Octet. To verify such a proof years later, the vault archives that enrolment as an object of its own, and links each later proof from the device to it. A device's enrolment is archived only if the device enrols while your vault seals INGEST.
An enrolment object is listed beside your proofs, with the source INGEST. The TYPE column of list tells them apart: an enrolment is ENROLMENT, and a proof is PROOF_EVIDENCE. open prints the same type, and list --json has it as payload_type.
What the index holds
The index is what Octet can read about your objects. It lets you list and find them without opening any.
| Field | Meaning |
|---|---|
object_id |
The object's ID |
source, payload_type |
Where the object came from and what it holds |
kid |
The recipient key it is sealed to |
size_bucket |
Its size class |
received_at, sealed_at |
When the vault received and sealed it |
retention_until, held, worm |
Its lifecycle. See Retention and Deletion. |
decision_ref |
The decision the proof belongs to, as Octet recorded it when it issued the upload challenge. Octet leaves it out of your vault's index if you ask. |
The index never holds the region a proof claims, and it holds no device identifier for a proof. An iOS app's enrolment record keeps a hash of the device's fingerprint, which links the device's later proofs to its enrolment.
A proof's object ID is derived from the proof, so that Octet's policy engine can name the object before it is sealed. Someone who holds a proof and can read your vault's index can therefore find its archived copy. Only your vault's readers and Octet see the index. The public log holds only salted hashes of events, so object IDs never appear there.
What Octet can and can't see
| Octet can see | Octet can't see |
|---|---|
| That an object exists, its ID, size class, type and source, when it was received, and its retention and hold state | The proof inside a sealed object |
The decision_ref of the decision a proof belongs to, unless you ask Octet to leave it out of the index |
Your private keys. Octet only ever receives public keys. |
| Every event in your vault's log | The region a proof claims. A device identifier, except the fingerprint hash an iOS enrolment keeps. |
What Octet holds, and for how long
Octet seals proofs inside its upload service, so for a short time Octet can read each proof, as it can every proof uploaded to it:
- The upload buffer keeps each proof for 24 hours. Each stored proof is encrypted under a key for the hour in which it expires.
- That hourly key is destroyed about an hour after the hour ends, 25 to 26 hours after upload. Every copy of the proof in Octet's databases, backups included, becomes unreadable with it.
- A proof still waiting to be sealed when its 24 hours end is deleted with the rest of the buffer and is never sealed. Nothing keeps its hourly key longer. Octet is alerted when a seal waits longer than 15 minutes.
From then on, Octet holds only the sealed object, and only your recipient key opens it. Octet signs and stores the object, but never receives, derives or holds a recipient private key.
Where the data lives
Your vault's stored data stays in Google Cloud in Belgium and London:
- Sealed objects are kept in both regions.
- The index and the log are stored in Belgium, with backups in London. Every log event is also written to write-once storage in both regions, so the log can be rebuilt if the database is lost.
The timestamp services, DigiCert and the OpenTimestamps calendars, receive only a 32-byte hash of each checkpoint, never your data.
Cloudflare
Your app's proof uploads and every request to the vault API pass through Cloudflare's network, which may handle them in locations outside the UK and the EEA. Cloudflare is a sub-processor for this traffic. It terminates TLS and routes each request to Octet's service in Google Cloud, so it handles these in transit:
- each proof your app uploads, as the upload service receives it, before Octet seals it
- your vault tokens, and the index rows and log events that the vault API returns
- the sealed objects you download
- the IP address of each request
Octet seals each proof inside its own service in Google Cloud, before it stores the proof in your vault. After sealing, the proof travels only as a sealed object, which is ciphertext, so Cloudflare never handles an opened vault object. Cloudflare caches only the responses of the public routes that take no credential, and never a request that carries a token.