Confido is alpha software intended for development and staging. Its API is not
stable, and production use is not supported. Package versions follow
Semantic Versioning; the 0.y.z series
denotes initial development, with explicit -alpha.N prereleases.
Confido verifies attestation evidence and provides client SDKs for collecting it.
The portable verifier accepts bytes, locally selected policy, an independent
expected nonce and explicit evaluation time. It returns an evidence_only
result. Native clients can additionally authenticate the live HTTPS peer;
application identity, policy selection and admission remain with the caller.
The supported azure-snp-vtpm-ima/1 profile checks an AMD-signed report from
an Azure confidential VM, links it to a virtual TPM quote, and compares the
measured boot and kernel-module state with caller-approved reference values.
The security model explains the trust chain, roles,
terminology, and limits for reviewers new to TEE attestation. The wire-v1
certificate/IMA binding is specified by the shared Evidence protocol.
flowchart BT
V[Portable verifier] --> C[Native client library]
C --> CLI[CLI]
C --> P[Python SDK]
V --> W[WASM and JavaScript SDK]
W --> E[Browser extension]
| Directory | Responsibility |
|---|---|
| Evidence | Shared Git source pinned by the Cargo manifests and lockfiles |
| Evidence protocol | Wire v1 structures and binding transcript |
| Evidence core | Shared SNP/HCL/quote parsing and collected-snapshot consistency checks |
verifier/ |
Portable synchronous verifier, policy and reference appraisal; Rust crate confido |
client/ |
Rust confido-client: collection, appraisal and peer authentication |
cli/ |
Command adapter and RPM packaging |
bindings/python/ |
One confido-client wheel / confido_client import for offline and live work |
bindings/wasm/ |
One browser SDK: WASM verifier with JavaScript offline and live APIs |
extension/ |
Local WASM worker, policy import, archive replay, permitted live retrieval |
The native client library can authenticate the observed HTTPS peer against the
certificate in a verified live result. Its Python wheel embeds the verifier;
there is no separate verifier distribution. The browser SDK uses browser TLS
and cannot authenticate the connection against the attested certificate.
Build and acceptance helpers are indexed in scripts/.
JAN Attestor owns native collection
and the challenge-bound /tee-report endpoint. Callers select the HTTPS origin
and verifier policy locally; Attestor does not choose trust anchors.
Rust 1.98.0 and Cargo locks are pinned. Cargo fetches both Evidence crates
directly from the public Teraveri Git repository at commit
900d420b0928c4693e1143aa33a33ab670147e3c; no sibling checkout is
needed. Each Confido package has its own lockfile and pins that same source.
The verifier uses ring and a bounded X.509 profile; its runtime requires neither
OpenSSL nor TPM2-TSS. ring compiles portable C with clang for WASM. The native
client uses rustls and x509-parser for its peer check; OpenSSL is used only in
native test fixtures. Attestor has its own collection dependencies.
cargo test --locked --manifest-path verifier/Cargo.toml
cargo build --locked --manifest-path cli/Cargo.toml
python3.15 -m venv .venv
. .venv/bin/activate
python -m pip install 'maturin==1.15.0' jsonschema 'httpx==0.28.1'
make -C bindings/python install PYTHON=python
python -m unittest discover -s verifier/tests -v
python -m unittest discover -s bindings/python/tests -v
python -m unittest discover -s tests -vThe Evidence repository runs its own workspace tests in CI; Confido's locked builds test the imported crates through their consumers.
Native test fixtures compile vendored OpenSSL. Attestor documents its separate
TPM2-TSS build prerequisites.
The Python SDK wheel workflow uses CPython 3.15.2 (.python-version) on Linux
x86_64 and macOS arm64/x86_64. Each artifact still needs its own CI and
consumer acceptance before publication.
import confido_client
result = confido_client.verify(
report=report_bytes,
amd_chain=ask_plus_ark_pem,
vcek=vcek_der,
reference=exact_reference_bytes,
policy=local_verifier_policy_bytes,
expected_nonce=caller_nonce_32_bytes,
evaluation_time=caller_unix_seconds,
)inspect_requirements(report_bytes) returns untrusted chip/TCB selectors for
caller-owned KDS retrieval. It never fetches anything. Invalid policy/context or
outer size limits raise ValueError; evidence rejection is a structured result.
The Rust API has the same inputs via VerificationInput and VerificationContext.
The browser SDK accepts Uint8Array inputs and returns JavaScript objects.
Use confido_client.appraise(origin, policy) for native collection, followed by
attempt.authenticate_peer() when the application requires the attested peer.
See the Python guide for the session contract.
After building the CLI, run these commands from the repository root:
cd cli/target/debug
./confido-cli collect ../../../../confidential-ai-example/profiles/match.json /private/new-archive.json
./confido-cli appraise ../../../../confidential-ai-example/profiles/match.json /private/new-run.json
./confido-cli verify ../../../../confidential-ai-example/profiles/verifier-match.json archive.json EXPECTED_NONCE_BASE64 UNIX_SECONDS
./confido-cli replay ../../../../confidential-ai-example/profiles/verifier-match.json archive.json UNIX_SECONDS
./confido-cli migrate-archive old-v1.json new-v2.json UNIX_SECONDSappraise collects and verifies evidence only. replay deliberately uses a
historical archived nonce; neither command grants live application access.
The paths above are GENXT demo policies owned by confidential-ai-example;
Confido consumes caller-supplied policy bytes and does not own their trust pins.
Those default application profiles target the original Milan demo. For the
current Genoa test VM, use the explicit stage policies in the
local acceptance checklist.
Archives are created exclusively with mode 0600. Raw report/reference bytes are
preserved in schema v2. CLI accepts legacy archives through its caller-side adapter.
See extension build and install. Verification runs entirely inside its packaged WASM worker, with no native helper or remote verifier. Live retrieval uses only origins explicitly supplied at build time, plus AMD KDS and GitHub. Without an origin list, the extension supports local replay only. Local replay does not need host permissions. Safari packaging requires macOS/Xcode and is not certified by Linux browser tests.
A matched challenge does not itself establish freshness. The caller owns nonce creation, deadlines and reuse prevention. A certificate-bound quote does not prove that certificate belongs to the observed TLS connection. TLS session binding and relay resistance are unsupported. Native callers must authenticate their actual peer separately before credentials or prompts.
The enrolled reference covers boot aggregate/kernel modules, not applications, models, GPU state or external inference. The TCB floor and launch measurement are operator enrollments, not vulnerability-free certification. Revocation/advisory updates are not fetched by the verifier. AMD chain validation supports this fixed profile, not general-purpose PKIX path discovery.
See the documentation index, schema catalog and third-party notices.
Confido began as GENXT's attested TLS prototype. The licensing issue records its move to open development and the plan for JAN DIGITRUST to develop the verifier for contribution upstream. Project-authored material is licensed under Apache-2.0; third-party material retains its original terms.
Related work on formal security analysis and programmatic trust management is underway through the GA4GH GIF TRE Open Suite.