Expand description
Vouch Protocol canonical core.
One byte-exact Rust implementation of the protocol primitives (JCS
canonicalization, Ed25519 and ML-DSA proofs, did:key/multikey, Data Integrity
eddsa-jcs-2022, credentials, delegation, revocation), shared by every language
SDK through WASM and UniFFI/C-FFI so that no primitive is re-derived per
language. Behavior MUST match the TypeScript reference SDK byte-for-byte and
pass the shared interop vectors in test-vectors/.
Re-exports§
Modules§
- attenuation
- v1.7 capability attenuation: the non-expansion rule over the six delegation dimensions, verifier cost budgets, and chain-cascade revocation (Specification 9.3 to 9.6).
- authority_
state - Authority Freshness: authority state as a first-class input to trust freshness.
- credentials
- Vouch Credential build and verify.
- data_
integrity - Data Integrity proofs, cryptosuite
eddsa-jcs-2022. - delegation
- Delegation links and time-bound chain validation.
- did_web
- did:web identifiers and trusted-root shorthand, parsed strictly and the same
way as the Python reference (
vouch.did_web.parse_did_webandvouch.trusted_roots.normalize_root). - error
- Error type for the Vouch core.
- hybrid
- Post-quantum credentials as a Data Integrity proof set.
- jcs
- JSON Canonicalization Scheme (JCS) per RFC 8785.
- keys
- Ed25519 key generation, signing, verification, and did:key encoding.
- mldsa_
check - Check that an ML-DSA-44 private key belongs to a public key (FIPS 204).
- multikey
- Multikey encoding for verification methods.
- pq
- Post-quantum ML-DSA-44 (FIPS 204) keygen, sign, and verify.
- reasoning
- Reasoned Action Proofs and event-triggered intent recheck.
- recovery
- Root-identity recovery by Shamir secret sharing.
- recovery_
json - JSON facade for
crate::recovery(Shamir root-identity recovery). - robotics
- Robotics primitives (Phase 5), one byte-exact implementation in the core.
- robotics_
dtn - Disconnected-edge / DTN trust primitives (PAD-106 to PAD-124), one byte-exact
implementation in the core so the disconnected-edge surface verifies across every
language wrapper, mirroring the Python
vouch.roboticsdisconnected-edge modules. - robotics_
json - JSON facades for the robotics primitives.
- root_
of_ trust - Root of Trust for Machine Identity (Vouch Protocol).
- status_
list - BitstringStatusList revocation/suspension checks.
- threshold
- FROST(Ed25519, SHA-512) threshold signing (RFC 9591).
- threshold_
json - JSON facade for
crate::threshold(FROST threshold signing). - time
- One strict grammar for every protocol time.