Binary Confidential Attestation Protocol v1 (BCAP1) is a provider-neutral challenge, evidence, verification, policy, and authorization contract for confidential workloads.
The relying party owns freshness and authorization. A carrier such as Atlas MessageBox delivers opaque authenticated messages but does not verify evidence or cache a trust verdict. Provider evidence authenticates the complete BCAP1 transcript digest: subject, audience, operation context, policy, security epoch, fresh nonce, and expiry.
This repository owns:
spec/— versioned JSON Schemas and the normative contract snapshot;vectors/— immutable cross-language known-answer and rejection vectors;typescript/— browser-safe@binary/attestationportable core;rust/core/— provider-neutralbinary-attestation-core;rust/providers/dstack/—binary-attestation-dstack, the dstack 0.5.xdstack-attest-v0TDX/DCAP provider, the frozen-v0GetKeysubject-key relation and a BRC-100 identity policy (optional in-TEEproducer);- later provider/runtime packages for dstack 0.6+, DCAP, and NVIDIA evidence.
binary-attestation-dstack's policy artifact (DstackPolicyArtifactV1,
media type application/vnd.binary.dstack-policy+json;version=1) pins boot
tuples in allowedBootMeasurements: mrtd, rtmr0, rtmr1, rtmr2 (48-byte
lowercase hex, required) and xfam, tdAttributes (8-byte lowercase hex,
optional). A tuple admits a quote only if every field it carries equals the
authenticated value; a tuple without the two TD fields constrains the registers
alone, so older policy JSON keeps parsing and verifying.
It does not own Atlas Relay behavior, MPC ceremonies, provider-native host runtimes in browser packages, or capability/key release policy.
Prerequisites: current stable Rust, Node.js 22+, and pnpm 10+.
pnpm install --frozen-lockfile
bash scripts/baseline.shThe first delivery gate is Atlas issue
#605:
A0 schemas/vectors followed by the hardware-free A1 state and policy core.