- Are the MPC parties configured correctly? Your client checks that every party signed, which policy they enforce, and that the policy and their keys are in the public log.
- Is the GPU genuine, and is it encrypting? Your client checks the GPU’s own evidence, up to NVIDIA’s root, and its signed firmware measurements against NVIDIA’s reference values.
- Does the GPU run the expected engine and model? The parties’ policy pins the engine, and your session’s keys are bound to the model’s weights.
blackthorn verify shows every check.
1
The parties authenticate the GPU
They run the GPU’s SPDM handshake in MPC, accept only the GPU whose identity certificate their policy pins, and take its signed firmware measurements.
2
The parties admit the engine
They admit the engine’s code into the GPU’s protected memory only as their policy pins it, then give it the key it derives session keys from.
3
Your client checks the engine's key
For each session, every party signs the engine’s public key, and your client checks those signatures against the parties’ identities, which are built into the CLI.
1. The parties authenticate the GPU
When the host’s driver brings up a GPU in Confidential Computing mode, the GPU starts an SPDM handshake. SPDM, the DMTF’s Security Protocol and Data Model, is the standard NVIDIA uses to authenticate the GPU and set up its encrypted channels. Normally the driver is the other side of the handshake. In Blackthorn the MPC parties are, and the driver only relays messages:- The GPU sends its certificate chain. Each party’s policy pins this one GPU’s identity certificate, which NVIDIA issued, and the party refuses any other device.
- The GPU signs the key exchange with the key its certificate names, which ties the session to that GPU.
- The parties’ half of the key exchange is computed in MPC: the ephemeral key, the shared secret, the key schedule and the
FINISHmessage. No party, and not the host, ever holds the session’s secret. - The GPU’s encrypted channels are keyed from that secret, so their keys exist only as shares across the parties, except the one key below that the host gets for the public weights.
The GPU’s measurements
Once the session is up, the parties ask the GPU for its firmware measurements inside the encrypted session, as NVIDIA’s own driver asks for them. The GPU signs them with its attestation key, over a nonce that is this session’s own key-exchange random, so they belong to this session and no other. The host only carries the sealed request and the sealed answer: it can withhold the answer, which leaves the measurements missing, but it can’t forge them. Your client checks the GPU’s signature over the measurements and compares them with NVIDIA’s reference values (RIMs) for that driver and VBIOS. The CLI fetches the reference values from NVIDIA’s RIM service. From then on, on the channels this session set up, the GPU accepts a command only with a signature the parties compute together, and a write into its protected memory only if the parties encrypted it. The host gets one key, the one for uploading the public weights, and the parties confine what it is used for to copies into the weights’ region.2. The parties admit the engine
The engine is the code that runs the model and handles your encryption inside the GPU. The host loads it, but every write into protected memory goes through the parties, and their policy pins the engine’s image and launch descriptors by SHA-256 digest. Once every pinned part of the engine is in place, and not before, the parties inject the application key into the engine. They derive it in MPC from the SPDM session and seal it so that only the GPU can open it. The engine derives a separate key for each client session from it. A host that starts its own SPDM session with the GPU and loads code of its own never receives this key, so its code can’t answer as the engine. The policy is published. The host serves its text at/v1/attestation/policy, and each party signs the policy’s SHA-256 in its receipt, so your client can check that the policy it reads is the one the parties enforce. The policy pins the GPU’s identity certificate and every write that admits the engine.
The public log
Every policy the hosted API runs, with the parties’ public keys, the hosts and the models of that release, goes into a public log before the API serves it: github.com/arcium-hq/blackthorn-transparency. The log’s own workflow signs each release into Sigstore’s transparency log, Rekor, where no one, Arcium included, can remove or rewrite an entry. Your client checks that the policy the parties sign for is in the log, that the entry was signed by the log’s workflow and accepted by Rekor, and that it names the parties that signed and, for a chat, its model. A policy or a party key changed without a new entry fails the check, and one changed with a new entry is there for anyone to see. The log doesn’t make a policy a good one: it makes every policy public. The CLI makes this check from 0.8.0.3. Your client checks the engine’s key
- Your client makes a fresh X25519 key pair and a random nonce, and sends the public key and the nonce to the engine.
- The engine derives its key for this session from the application key, your public key and the nonce, and answers with its public key.
- Your client asks the parties which key the engine should have answered with. The parties compute it in MPC from their shares of the application key, open only the public key, and each signs it with its Ed25519 identity.
- Your client accepts the engine only if the key it got is that key and every party in its roster signed it. Both sides then derive an AES-256-GCM key for each direction, and the conversation starts.
- The model. When it starts, the engine hashes the model’s weights inside the GPU, and every session’s keys include that digest, so the digest your client sees is the one the engine computed: a host that changed it would leave your client with keys the engine doesn’t have.
blackthorn statusnames the published model the digest belongs to, or says it doesn’t know it. - The handshake count. The engine counts its handshakes since it started, includes the count in each session’s keys and returns it to your client. The parties give the engine its key only once per GPU session, so the count can’t be reset. A host that replays your handshake gets a new session with new keys, never yours again.
blackthorn chat and in blackthorn serve, and refuses to send anything to an engine whose key the parties didn’t sign.
The roster
The roster is the list of the parties’ public identity keys. The CLI has the roster of Arcium’s hosted API,bt-api.arcium.com, built in, so it never takes the roster from the host it is checking. For any other host, pass the parties’ identities.json with --roster, or set BLACKTHORN_ROSTER. That file has to come from the party operators, not from the GPU host.
Session receipts
The parties sign a fresh receipt for the GPU session serving the host whenever your client asks. Each party signs, together with a random challenge from your client and the time:- the SPDM session’s final transcript hash,
- the SHA-384 of the GPU’s certificate chain,
- both sides’ nonces and ephemeral keys from the handshake,
- the SHA-256 of the policy it enforces,
- and the engine key that challenge would get.
Check it yourself
blackthorn verify asks for a fresh receipt and checks it, with the GPU’s evidence, without an API token:
--save FILE also keeps the attestation, and blackthorn verify --file FILE checks a saved one again later, offline. --json prints the report as JSON. --no-rims skips fetching NVIDIA’s reference values.
blackthorn status makes the same checks with your token, and opens a session to check its model too:
What attestation covers
It shows that:- the GPU is a genuine NVIDIA GPU, whose certificate chain leads to NVIDIA’s root, and the session the parties hold is the one it signed, which your client checks itself;
- the GPU’s driver and VBIOS firmware are the ones NVIDIA published: the GPU signed its measurements for this session, and they match NVIDIA’s reference values;
- the engine your client talks to holds the application key the parties injected after the pinned engine was in place;
- the parties enforce the published policy, and it is in the public log with their keys;
- which model’s weights your session’s keys are bound to, and that they are bound to that handshake alone;
- every party in your roster agreed.