Go
cd ratify-protocolgo run ./demos/goThe 60-second test: install the SDK in your language of choice, run the conformance suite, see the 59 canonical fixtures pass. If they pass on your machine, you’ve proven byte-for-byte interop with every other Ratify implementation.
# Install as a module in your project
# Or clone and run the full conformance suitegit clone https://github.com/identities-ai/ratify-protocolcd ratify-protocolgo test ./...# → ok github.com/identities-ai/ratify-protocol 0.5sOr run the conformance suite yourself:
git clone https://github.com/identities-ai/ratify-protocolcd ratify-protocol/sdks/typescriptnpm installnpm test# → 101 passed (59 conformance fixtures + cross-SDK vectors + levers + providers)pip install ratify-protocol==1.0.0a10Or run the conformance suite yourself:
git clone https://github.com/identities-ai/ratify-protocolcd ratify-protocol/sdks/pythonpip install -e '.[dev]'pytest -q# → 102 passed (59 conformance fixtures + 43 unit tests)Or run the conformance suite yourself:
git clone https://github.com/identities-ai/ratify-protocolcd ratify-protocol/sdks/rustcargo test# → test result: ok. 1 passed (loads all 59 fixtures)Download the pre-built library for your platform from the
GitHub Releases page
— no Rust toolchain required. The ratify.h header is also committed at
sdks/c/include/ratify.h.
Or build from source (requires Rust 1.70+):
git clone https://github.com/identities-ai/ratify-protocolcd ratify-protocol/sdks/ccargo build --release# → target/release/libratify_c.a + libratify_c.so + include/ratify.hRun the conformance suite:
cargo test --test conformance# → 59/59 conformance fixtures passcargo test --test apicargo test --test advanced# → 58 ABI unit tests pass across api + advancedEvery Ratify SDK ships a test that loads testvectors/v1/*.json — 59 fixtures generated
deterministically by the Go reference implementation — and verifies each one. The fixtures cover:
If all 59 pass in your SDK, your SDK produces and verifies the same bytes as every other Ratify SDK on the planet. That is the interoperability contract.
The conformance suite proves the bytes are correct. The demos prove the protocol does what it claims. Each runs nine scenarios — five positive (authorized → verified), four negative (tampered / out-of-scope / expired / revoked) — and prints what happened and why.
Go
cd ratify-protocolgo run ./demos/goPython
cd sdks/python && pip install -e . && cd ../..python demos/python/demo.pyTypeScript
cd sdks/typescript && npm install && npm run build && cd ../..cd demos/typescript && npm install && npm run demoRust
cargo run --manifest-path demos/rust/Cargo.tomlC / C++
cd ratify-protocol/sdks/ccargo build --releasecc examples/verify_bundle.c -I include \ -L target/release -lratify_c -lpthread -ldl \ -o verify_bundle && ./verify_bundleThe narrative demos are a single repository directory
for Go, TypeScript, Python, and Rust. The C/C++ path uses the ABI example in sdks/c/examples/.
Reading one demo and watching it run is the fastest way to understand what the protocol does.
libratify_c.a for RTOS and embedded Linux targets.