INDUSTRY TERM

in-toto

Also: in-toto attestation, in-toto statement, DSSE

in-toto is an open framework for securing the integrity of software supply chains. Its attestation format binds a typed claim to the exact artifacts it is about, each identified by its digest, and carries it signed in a DSSE envelope.

UPDATED

in-toto began as a way to check that each step of a software supply chain was carried out as planned, by the party meant to do it. It joined the Cloud Native Computing Foundation in 2019 and graduated in February 2025. Most people now meet it through its attestation format, which SLSA provenance and many signing tools build on.

The layers of an attestation

An in-toto attestation is built in layers, each with one job:

Layer What it does
Envelope Carries the statement and its signatures; DSSE is the recommended format
Statement Names the subjects, each with a digest, and the type of the predicate
Predicate The claim itself: metadata about the subjects, in the schema its type defines
Bundle Groups several attestations together

A version 1 statement looks like this:

{
  "_type": "https://in-toto.io/Statement/v1",
  "subject": [{ "name": "app-installer.exe", "digest": { "sha256": "…" } }],
  "predicateType": "https://slsa.dev/provenance/v1",
  "predicate": { }
}

Every subject must carry a digest, so a statement is about exact bytes, not a file name. The predicateType is a URI, and whoever defines it publishes what the predicate means.

How DSSE signs it

DSSE, the Dead Simple Signing Envelope, signs the payload type together with the payload’s exact bytes. It joins them into one pre-authentication encoding (DSSEv1, then the type’s length, the type, the body’s length and the body) and signs that. Signing the type stops a statement being passed off as another kind of document, and signing the bytes as they are avoids canonicalising JSON. For in-toto the payload type is application/vnd.in-toto+json. The key id in an envelope is only a hint; the verifier decides which key to trust.

The original in-toto specification has two kinds of signed file. A layout is the plan: the steps a supply chain must follow and who may carry out each one. A link records that a step was carried out, with the files it used and the files it made. The attestation framework generalised the link: instead of one fixed record of a command run, a statement can carry any predicate, and each kind of claim gets its own predicate type.

in-toto in Attestree

  • Every statement Attestree signs is an in-toto Statement v1 in a DSSE envelope, payload type application/vnd.in-toto+json, signed with ECDSA P-256 over SHA-256 by your deployment’s own catalog-attest key. Where the signing keys live says where that key is kept.
  • For an installer, the subject is the installer’s SHA-256 and the predicate is a detonation attestation: what the installer did in a sandbox. An export, such as a catalog evidence bundle or an inventory export, signs one statement whose subjects are the files inside it.
  • Each predicate type has its own page, and the URI in a statement is that page’s address. They are listed under specifications on the trust page.
  • Checked offline. wep-bundle-verify attestation checks a statement against a key you supply and never trusts a certificate inside the envelope; checking it offline has the command.
  • Not a Sigstore bundle. Statements are not submitted to Rekor, Sigstore’s transparency log. Platform 26.11.1800 removed the setting that could submit them.

SOURCES