vouch-protocol 3.2.0__tar.gz → 4.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vouch_protocol-4.0.0/PKG-INFO +1236 -0
- vouch_protocol-4.0.0/README.md +922 -0
- vouch_protocol-4.0.0/pyproject.toml +298 -0
- vouch_protocol-4.0.0/tests/test_accountability.py +515 -0
- vouch_protocol-4.0.0/tests/test_agent_enroll.py +311 -0
- vouch_protocol-4.0.0/tests/test_amnesia_attestation.py +42 -0
- vouch_protocol-4.0.0/tests/test_ati_core.py +122 -0
- vouch_protocol-4.0.0/tests/test_attribution.py +168 -0
- vouch_protocol-4.0.0/tests/test_audio_bridge.py +387 -0
- vouch_protocol-4.0.0/tests/test_audit_trail.py +314 -0
- vouch_protocol-4.0.0/tests/test_auditor.py +198 -0
- vouch_protocol-4.0.0/tests/test_authority_state.py +487 -0
- vouch_protocol-4.0.0/tests/test_authority_state_vectors.py +101 -0
- vouch_protocol-4.0.0/tests/test_autosign.py +474 -0
- vouch_protocol-4.0.0/tests/test_behavioral_attestation.py +253 -0
- vouch_protocol-4.0.0/tests/test_bridge.py +266 -0
- vouch_protocol-4.0.0/tests/test_budget.py +303 -0
- vouch_protocol-4.0.0/tests/test_c2pa_formats.py +161 -0
- vouch_protocol-4.0.0/tests/test_cache.py +234 -0
- vouch_protocol-4.0.0/tests/test_canary.py +211 -0
- vouch_protocol-4.0.0/tests/test_caveats.py +315 -0
- vouch_protocol-4.0.0/tests/test_cli_did_webvh.py +328 -0
- vouch_protocol-4.0.0/tests/test_cli_first_run_journey.py +572 -0
- vouch_protocol-4.0.0/tests/test_cli_init.py +88 -0
- vouch_protocol-4.0.0/tests/test_cli_init_did_key.py +792 -0
- vouch_protocol-4.0.0/tests/test_cli_verify.py +239 -0
- vouch_protocol-4.0.0/tests/test_cli_without_server_extra.py +38 -0
- vouch_protocol-4.0.0/tests/test_conformance.py +99 -0
- vouch_protocol-4.0.0/tests/test_context_v1.py +299 -0
- vouch_protocol-4.0.0/tests/test_data_integrity.py +259 -0
- vouch_protocol-4.0.0/tests/test_delegate_parent.py +104 -0
- vouch_protocol-4.0.0/tests/test_delegation_attenuation.py +51 -0
- vouch_protocol-4.0.0/tests/test_delegation_chain_vectors.py +77 -0
- vouch_protocol-4.0.0/tests/test_delegation_hardening.py +858 -0
- vouch_protocol-4.0.0/tests/test_delegation_size_guard.py +138 -0
- vouch_protocol-4.0.0/tests/test_delegation_verify.py +594 -0
- vouch_protocol-4.0.0/tests/test_deliberation.py +179 -0
- vouch_protocol-4.0.0/tests/test_did_key_mismatch.py +185 -0
- vouch_protocol-4.0.0/tests/test_did_web_key_type.py +35 -0
- vouch_protocol-4.0.0/tests/test_did_webvh.py +2270 -0
- vouch_protocol-4.0.0/tests/test_did_webvh_vectors.py +143 -0
- vouch_protocol-4.0.0/tests/test_did_webvh_verifier.py +728 -0
- vouch_protocol-4.0.0/tests/test_disconnected_edge.py +247 -0
- vouch_protocol-4.0.0/tests/test_dtn_pads.py +576 -0
- vouch_protocol-4.0.0/tests/test_dx_sugar.py +490 -0
- vouch_protocol-4.0.0/tests/test_ed25519_check.py +98 -0
- vouch_protocol-4.0.0/tests/test_ed25519_strict_vector.py +82 -0
- vouch_protocol-4.0.0/tests/test_examples_robotics.py +397 -0
- vouch_protocol-4.0.0/tests/test_examples_runner.py +104 -0
- vouch_protocol-4.0.0/tests/test_fastapi_credential_gate.py +120 -0
- vouch_protocol-4.0.0/tests/test_fence.py +948 -0
- vouch_protocol-4.0.0/tests/test_fetch_hostile_documents.py +222 -0
- vouch_protocol-4.0.0/tests/test_first_run_doc_snippets.py +120 -0
- vouch_protocol-4.0.0/tests/test_first_run_fixes.py +359 -0
- vouch_protocol-4.0.0/tests/test_flat_delegation.py +798 -0
- vouch_protocol-4.0.0/tests/test_flat_delegation_vectors.py +138 -0
- vouch_protocol-4.0.0/tests/test_fleet.py +346 -0
- vouch_protocol-4.0.0/tests/test_git_commit_binding.py +382 -0
- vouch_protocol-4.0.0/tests/test_git_workflow.py +294 -0
- vouch_protocol-4.0.0/tests/test_grade.py +66 -0
- vouch_protocol-4.0.0/tests/test_grade_evidence.py +327 -0
- vouch_protocol-4.0.0/tests/test_grant_chain_rules.py +1145 -0
- vouch_protocol-4.0.0/tests/test_guard_agent_call.py +560 -0
- vouch_protocol-4.0.0/tests/test_guard_engine.py +926 -0
- vouch_protocol-4.0.0/tests/test_guard_function.py +234 -0
- vouch_protocol-4.0.0/tests/test_guard_http.py +497 -0
- vouch_protocol-4.0.0/tests/test_guard_mcp.py +890 -0
- vouch_protocol-4.0.0/tests/test_guard_policy.py +231 -0
- vouch_protocol-4.0.0/tests/test_halos_evidence.py +161 -0
- vouch_protocol-4.0.0/tests/test_hardware_seam.py +203 -0
- vouch_protocol-4.0.0/tests/test_heartbeat.py +406 -0
- vouch_protocol-4.0.0/tests/test_heartbeat_hardening.py +209 -0
- vouch_protocol-4.0.0/tests/test_http_resource_vector.py +23 -0
- vouch_protocol-4.0.0/tests/test_hybrid.py +715 -0
- vouch_protocol-4.0.0/tests/test_hybrid_interop.py +66 -0
- vouch_protocol-4.0.0/tests/test_identity_file_reader.py +575 -0
- vouch_protocol-4.0.0/tests/test_integration_a2a_smoke.py +91 -0
- vouch_protocol-4.0.0/tests/test_integration_crewai_smoke.py +33 -0
- vouch_protocol-4.0.0/tests/test_integration_goose_smoke.py +68 -0
- vouch_protocol-4.0.0/tests/test_integration_langchain_smoke.py +53 -0
- vouch_protocol-4.0.0/tests/test_integration_langgraph_smoke.py +64 -0
- vouch_protocol-4.0.0/tests/test_integration_mcp_smoke.py +195 -0
- vouch_protocol-4.0.0/tests/test_integration_mcp_tools.py +750 -0
- vouch_protocol-4.0.0/tests/test_integration_mlflow_smoke.py +104 -0
- vouch_protocol-4.0.0/tests/test_integration_openai_smoke.py +109 -0
- vouch_protocol-4.0.0/tests/test_integration_safetensors_smoke.py +118 -0
- vouch_protocol-4.0.0/tests/test_intent_recheck.py +292 -0
- vouch_protocol-4.0.0/tests/test_intent_recheck_vector.py +54 -0
- vouch_protocol-4.0.0/tests/test_issuance_vector.py +48 -0
- vouch_protocol-4.0.0/tests/test_jcs.py +111 -0
- vouch_protocol-4.0.0/tests/test_jcs_interop.py +68 -0
- vouch_protocol-4.0.0/tests/test_key_source.py +229 -0
- vouch_protocol-4.0.0/tests/test_keyfile.py +303 -0
- vouch_protocol-4.0.0/tests/test_keys_post_quantum.py +1351 -0
- vouch_protocol-4.0.0/tests/test_keys_ts_interop.py +101 -0
- vouch_protocol-4.0.0/tests/test_kms.py +723 -0
- vouch_protocol-4.0.0/tests/test_liveness_conformance.py +361 -0
- vouch_protocol-4.0.0/tests/test_mcp_check_trust.py +123 -0
- vouch_protocol-4.0.0/tests/test_mcp_first_run.py +167 -0
- vouch_protocol-4.0.0/tests/test_mcp_server_shield.py +175 -0
- vouch_protocol-4.0.0/tests/test_mcp_server_status_tools.py +350 -0
- vouch_protocol-4.0.0/tests/test_mcp_server_tool_limits.py +788 -0
- vouch_protocol-4.0.0/tests/test_media_api_client_verify.py +113 -0
- vouch_protocol-4.0.0/tests/test_media_audio_signer.py +168 -0
- vouch_protocol-4.0.0/tests/test_media_badge.py +226 -0
- vouch_protocol-4.0.0/tests/test_media_c2pa_signer_binding.py +932 -0
- vouch_protocol-4.0.0/tests/test_media_manifest_binding.py +716 -0
- vouch_protocol-4.0.0/tests/test_media_native.py +381 -0
- vouch_protocol-4.0.0/tests/test_merkle.py +182 -0
- vouch_protocol-4.0.0/tests/test_mint_conformance_key.py +91 -0
- vouch_protocol-4.0.0/tests/test_mint_delegation.py +171 -0
- vouch_protocol-4.0.0/tests/test_mldsa_check.py +102 -0
- vouch_protocol-4.0.0/tests/test_multikey.py +151 -0
- vouch_protocol-4.0.0/tests/test_nesting_and_precision.py +187 -0
- vouch_protocol-4.0.0/tests/test_nonce.py +126 -0
- vouch_protocol-4.0.0/tests/test_nonce_replay_store.py +392 -0
- vouch_protocol-4.0.0/tests/test_onboard.py +570 -0
- vouch_protocol-4.0.0/tests/test_onboard_sidecar_e2e.py +192 -0
- vouch_protocol-4.0.0/tests/test_orbital_accumulator.py +194 -0
- vouch_protocol-4.0.0/tests/test_pacing.py +2092 -0
- vouch_protocol-4.0.0/tests/test_pacing_hardening.py +1486 -0
- vouch_protocol-4.0.0/tests/test_package_layout.py +230 -0
- vouch_protocol-4.0.0/tests/test_policy_file.py +881 -0
- vouch_protocol-4.0.0/tests/test_policy_limits.py +139 -0
- vouch_protocol-4.0.0/tests/test_policy_rules.py +394 -0
- vouch_protocol-4.0.0/tests/test_policy_rules_load_vectors.py +54 -0
- vouch_protocol-4.0.0/tests/test_policy_rules_vectors.py +90 -0
- vouch_protocol-4.0.0/tests/test_pq_verify.py +158 -0
- vouch_protocol-4.0.0/tests/test_proof_of_integration.py +163 -0
- vouch_protocol-4.0.0/tests/test_proof_set_vector.py +68 -0
- vouch_protocol-4.0.0/tests/test_provenance.py +169 -0
- vouch_protocol-4.0.0/tests/test_quorum.py +285 -0
- vouch_protocol-4.0.0/tests/test_reasoning.py +279 -0
- vouch_protocol-4.0.0/tests/test_reasoning_escrow_binding.py +201 -0
- vouch_protocol-4.0.0/tests/test_receipts.py +122 -0
- vouch_protocol-4.0.0/tests/test_recovery.py +366 -0
- vouch_protocol-4.0.0/tests/test_reissue_badges.py +67 -0
- vouch_protocol-4.0.0/tests/test_release40_fresh_install_cli.py +176 -0
- vouch_protocol-4.0.0/tests/test_release40_lifetimes.py +104 -0
- vouch_protocol-4.0.0/tests/test_release40_lineage_at_creation.py +99 -0
- vouch_protocol-4.0.0/tests/test_release40_media_chain_text.py +91 -0
- vouch_protocol-4.0.0/tests/test_release40_media_min_version_cli.py +69 -0
- vouch_protocol-4.0.0/tests/test_release40_trust_policy.py +38 -0
- vouch_protocol-4.0.0/tests/test_remint_root_grants.py +701 -0
- vouch_protocol-4.0.0/tests/test_replay_key_vector.py +28 -0
- vouch_protocol-4.0.0/tests/test_reputation.py +177 -0
- vouch_protocol-4.0.0/tests/test_reputation_aggregate.py +105 -0
- vouch_protocol-4.0.0/tests/test_reputation_disputes.py +93 -0
- vouch_protocol-4.0.0/tests/test_reputation_ledger.py +105 -0
- vouch_protocol-4.0.0/tests/test_reputation_policy.py +175 -0
- vouch_protocol-4.0.0/tests/test_reputation_portability.py +106 -0
- vouch_protocol-4.0.0/tests/test_revocation.py +125 -0
- vouch_protocol-4.0.0/tests/test_revocation_fail_closed.py +383 -0
- vouch_protocol-4.0.0/tests/test_revocation_registry.py +546 -0
- vouch_protocol-4.0.0/tests/test_robot_access.py +196 -0
- vouch_protocol-4.0.0/tests/test_robot_conformance.py +306 -0
- vouch_protocol-4.0.0/tests/test_robot_consent.py +200 -0
- vouch_protocol-4.0.0/tests/test_robot_custody.py +172 -0
- vouch_protocol-4.0.0/tests/test_robot_embodiment.py +197 -0
- vouch_protocol-4.0.0/tests/test_robot_fusion.py +125 -0
- vouch_protocol-4.0.0/tests/test_robot_handover.py +126 -0
- vouch_protocol-4.0.0/tests/test_robot_handshake_blackbox_passport.py +185 -0
- vouch_protocol-4.0.0/tests/test_robot_identity.py +78 -0
- vouch_protocol-4.0.0/tests/test_robot_issuer_binding.py +921 -0
- vouch_protocol-4.0.0/tests/test_robot_lease_quorum.py +285 -0
- vouch_protocol-4.0.0/tests/test_robot_lifecycle.py +166 -0
- vouch_protocol-4.0.0/tests/test_robot_liveness_revocation.py +369 -0
- vouch_protocol-4.0.0/tests/test_robot_odd.py +142 -0
- vouch_protocol-4.0.0/tests/test_robot_perception.py +158 -0
- vouch_protocol-4.0.0/tests/test_robot_physical_limits.py +709 -0
- vouch_protocol-4.0.0/tests/test_robot_pq.py +189 -0
- vouch_protocol-4.0.0/tests/test_robot_provenance_capability.py +158 -0
- vouch_protocol-4.0.0/tests/test_robot_root_identity.py +181 -0
- vouch_protocol-4.0.0/tests/test_robot_round2_hardening.py +633 -0
- vouch_protocol-4.0.0/tests/test_robot_safety_record.py +161 -0
- vouch_protocol-4.0.0/tests/test_robot_swarm.py +107 -0
- vouch_protocol-4.0.0/tests/test_robot_teleop.py +183 -0
- vouch_protocol-4.0.0/tests/test_robot_wear.py +126 -0
- vouch_protocol-4.0.0/tests/test_root_delegation_scripts.py +80 -0
- vouch_protocol-4.0.0/tests/test_root_of_trust.py +403 -0
- vouch_protocol-4.0.0/tests/test_root_of_trust_vectors.py +70 -0
- vouch_protocol-4.0.0/tests/test_ros2_action_gate.py +471 -0
- vouch_protocol-4.0.0/tests/test_scan.py +264 -0
- vouch_protocol-4.0.0/tests/test_secure_key_custody.py +182 -0
- vouch_protocol-4.0.0/tests/test_security_hardening.py +65 -0
- vouch_protocol-4.0.0/tests/test_sidecar_desktop.py +60 -0
- vouch_protocol-4.0.0/tests/test_sidecar_grant.py +183 -0
- vouch_protocol-4.0.0/tests/test_sidecar_launcher.py +88 -0
- vouch_protocol-4.0.0/tests/test_signer_vc.py +355 -0
- vouch_protocol-4.0.0/tests/test_ssrf_ranges.py +17 -0
- vouch_protocol-4.0.0/tests/test_status_list.py +723 -0
- vouch_protocol-4.0.0/tests/test_status_list_strict.py +649 -0
- vouch_protocol-4.0.0/tests/test_strict_time_leftovers.py +89 -0
- vouch_protocol-4.0.0/tests/test_threshold.py +168 -0
- vouch_protocol-4.0.0/tests/test_threshold_loader.py +132 -0
- vouch_protocol-4.0.0/tests/test_tool_registry.py +105 -0
- vouch_protocol-4.0.0/tests/test_transparency.py +224 -0
- vouch_protocol-4.0.0/tests/test_transport.py +247 -0
- vouch_protocol-4.0.0/tests/test_transport_http_rendezvous.py +219 -0
- vouch_protocol-4.0.0/tests/test_transport_rendezvous.py +157 -0
- vouch_protocol-4.0.0/tests/test_transport_udna_sdk.py +140 -0
- vouch_protocol-4.0.0/tests/test_trifecta.py +80 -0
- vouch_protocol-4.0.0/tests/test_trust_entropy.py +232 -0
- vouch_protocol-4.0.0/tests/test_trusted_roots.py +207 -0
- vouch_protocol-4.0.0/tests/test_validator_cli.py +1720 -0
- vouch_protocol-4.0.0/tests/test_validator_server.py +532 -0
- vouch_protocol-4.0.0/tests/test_vc.py +101 -0
- vouch_protocol-4.0.0/tests/test_vector_runners.py +135 -0
- vouch_protocol-4.0.0/tests/test_verifier_hardening.py +1086 -0
- vouch_protocol-4.0.0/tests/test_verifier_round2.py +692 -0
- vouch_protocol-4.0.0/tests/test_verifier_round3.py +161 -0
- vouch_protocol-4.0.0/tests/test_verifier_vc.py +369 -0
- vouch_protocol-4.0.0/tests/test_verify_chain_order.py +158 -0
- vouch_protocol-4.0.0/tests/test_verify_decision_vector.py +24 -0
- vouch_protocol-4.0.0/tests/test_verify_policy.py +115 -0
- vouch_protocol-4.0.0/tests/test_verify_without_key.py +218 -0
- vouch_protocol-4.0.0/tests/test_wave2_h1m1.py +1132 -0
- vouch_protocol-4.0.0/tests/test_wave2_liveness_authority.py +234 -0
- vouch_protocol-4.0.0/tests/test_wave2_liveness_canary.py +224 -0
- vouch_protocol-4.0.0/tests/test_wave2_liveness_heartbeat.py +372 -0
- vouch_protocol-4.0.0/tests/test_wave2_liveness_server.py +386 -0
- vouch_protocol-4.0.0/tests/test_wave2_liveness_voucher.py +264 -0
- vouch_protocol-4.0.0/tests/test_wave2_r2_accountability.py +801 -0
- vouch_protocol-4.0.0/tests/test_wave2_r2_liveness_datadir.py +237 -0
- vouch_protocol-4.0.0/tests/test_wave2_r2_liveness_quorum.py +233 -0
- vouch_protocol-4.0.0/tests/test_wave2_r2_liveness_sessions.py +531 -0
- vouch_protocol-4.0.0/tests/test_wave2_r2_liveness_voucher.py +328 -0
- vouch_protocol-4.0.0/tests/test_wave2_r3_accountability.py +936 -0
- vouch_protocol-4.0.0/tests/test_wave2_r3_liveness.py +732 -0
- vouch_protocol-4.0.0/tests/test_wave2_r4_accountability.py +1001 -0
- vouch_protocol-4.0.0/tests/test_wave2_r4_liveness.py +818 -0
- vouch_protocol-4.0.0/tests/test_wave2_r5_accountability.py +742 -0
- vouch_protocol-4.0.0/tests/test_wave2_r5_liveness.py +870 -0
- vouch_protocol-4.0.0/tests/test_wave2_r6_lineage_fixes.py +761 -0
- vouch_protocol-4.0.0/tests/test_wave2_ratelimit.py +144 -0
- vouch_protocol-4.0.0/tests/test_wave3_mcp_server.py +316 -0
- vouch_protocol-4.0.0/tests/test_wave3_media_bridge.py +901 -0
- vouch_protocol-4.0.0/tests/test_wave3_media_c2pa.py +305 -0
- vouch_protocol-4.0.0/tests/test_wave3_media_models.py +466 -0
- vouch_protocol-4.0.0/tests/test_wave3_media_native.py +412 -0
- vouch_protocol-4.0.0/tests/test_wave3_round3_gates.py +460 -0
- vouch_protocol-4.0.0/tests/test_wave3_round4_media.py +178 -0
- vouch_protocol-4.0.0/tests/test_wave3_round4_web.py +191 -0
- vouch_protocol-4.0.0/tests/test_wave3_web_transport.py +480 -0
- vouch_protocol-4.0.0/tests/test_wave3_wrappers_core.py +418 -0
- vouch_protocol-4.0.0/tests/test_wave3_wrappers_crewai.py +134 -0
- vouch_protocol-4.0.0/tests/test_wave3_wrappers_frameworks.py +1438 -0
- vouch_protocol-4.0.0/tests/test_wave3_wrappers_misc.py +489 -0
- vouch_protocol-4.0.0/vouch/__init__.py +89 -0
- vouch_protocol-4.0.0/vouch/_extras.py +29 -0
- vouch_protocol-4.0.0/vouch/_lifetime.py +30 -0
- vouch_protocol-4.0.0/vouch/_version.py +3 -0
- vouch_protocol-4.0.0/vouch/accountability/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/accountability/audit_trail.py +891 -0
- vouch_protocol-4.0.0/vouch/accountability/outcomes.py +717 -0
- vouch_protocol-4.0.0/vouch/accountability/transparency.py +450 -0
- vouch_protocol-4.0.0/vouch/agent.py +442 -0
- vouch_protocol-4.0.0/vouch/autosign.py +1077 -0
- vouch_protocol-4.0.0/vouch/cli/__init__.py +4226 -0
- vouch_protocol-4.0.0/vouch/cli/__main__.py +6 -0
- vouch_protocol-4.0.0/vouch/credential.py +553 -0
- vouch_protocol-4.0.0/vouch/crypto/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/crypto/data_integrity.py +242 -0
- vouch_protocol-4.0.0/vouch/crypto/data_integrity_hybrid.py +452 -0
- vouch_protocol-4.0.0/vouch/crypto/multikey.py +192 -0
- vouch_protocol-4.0.0/vouch/delegation/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/delegation/attenuation.py +790 -0
- vouch_protocol-4.0.0/vouch/delegation/grants.py +688 -0
- vouch_protocol-4.0.0/vouch/delegation/replica.py +122 -0
- vouch_protocol-4.0.0/vouch/did/__init__.py +4 -0
- vouch_protocol-4.0.0/vouch/did/key.py +90 -0
- vouch_protocol-4.0.0/vouch/did/resolve.py +79 -0
- vouch_protocol-4.0.0/vouch/did/web.py +609 -0
- vouch_protocol-4.0.0/vouch/did/webvh.py +1989 -0
- vouch_protocol-4.0.0/vouch/exceptions.py +37 -0
- vouch_protocol-4.0.0/vouch/guard/__init__.py +56 -0
- vouch_protocol-4.0.0/vouch/guard/_cards.py +88 -0
- vouch_protocol-4.0.0/vouch/guard/_engine.py +1071 -0
- vouch_protocol-4.0.0/vouch/guard/_freshness.py +345 -0
- vouch_protocol-4.0.0/vouch/guard/_resource.py +140 -0
- vouch_protocol-4.0.0/vouch/guard/_tool_calls.py +55 -0
- vouch_protocol-4.0.0/vouch/guard/a2a.py +79 -0
- vouch_protocol-4.0.0/vouch/guard/fastapi.py +226 -0
- vouch_protocol-4.0.0/vouch/guard/function.py +195 -0
- vouch_protocol-4.0.0/vouch/guard/hasura.py +211 -0
- vouch_protocol-4.0.0/vouch/guard/mcp.py +950 -0
- vouch_protocol-4.0.0/vouch/guard/openai.py +53 -0
- vouch_protocol-4.0.0/vouch/heartbeat/__init__.py +10 -0
- vouch_protocol-4.0.0/vouch/heartbeat/behavioral.py +327 -0
- vouch_protocol-4.0.0/vouch/heartbeat/canary.py +353 -0
- vouch_protocol-4.0.0/vouch/heartbeat/conformance.py +499 -0
- vouch_protocol-4.0.0/vouch/heartbeat/intent.py +439 -0
- vouch_protocol-4.0.0/vouch/heartbeat/lineage.py +1138 -0
- vouch_protocol-4.0.0/vouch/heartbeat/quorum.py +330 -0
- vouch_protocol-4.0.0/vouch/heartbeat/scheduler.py +890 -0
- vouch_protocol-4.0.0/vouch/heartbeat/session.py +1222 -0
- vouch_protocol-4.0.0/vouch/heartbeat/trust.py +285 -0
- vouch_protocol-4.0.0/vouch/heartbeat/validator.py +1487 -0
- vouch_protocol-4.0.0/vouch/heartbeat/voucher.py +458 -0
- vouch_protocol-4.0.0/vouch/identity/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/identity/fleet.py +405 -0
- vouch_protocol-4.0.0/vouch/identity/recovery.py +501 -0
- vouch_protocol-4.0.0/vouch/identity/root_of_trust.py +695 -0
- vouch_protocol-4.0.0/vouch/identity/threshold.py +386 -0
- vouch_protocol-4.0.0/vouch/integrations/__init__.py +7 -0
- vouch_protocol-4.0.0/vouch/integrations/_common.py +79 -0
- vouch_protocol-4.0.0/vouch/integrations/a2a.py +76 -0
- vouch_protocol-4.0.0/vouch/integrations/adk.py +591 -0
- vouch_protocol-4.0.0/vouch/integrations/amnesia.py +183 -0
- vouch_protocol-4.0.0/vouch/integrations/autogen/__init__.py +107 -0
- vouch_protocol-4.0.0/vouch/integrations/autogpt/__init__.py +17 -0
- vouch_protocol-4.0.0/vouch/integrations/autogpt/commands.py +42 -0
- vouch_protocol-4.0.0/vouch/integrations/claude_code/README.md +91 -0
- vouch_protocol-4.0.0/vouch/integrations/claude_code/__init__.py +3 -0
- vouch_protocol-4.0.0/vouch/integrations/claude_code/settings.hooks.json +27 -0
- vouch_protocol-4.0.0/vouch/integrations/crewai/__init__.py +19 -0
- vouch_protocol-4.0.0/vouch/integrations/crewai/tool.py +143 -0
- vouch_protocol-4.0.0/vouch/integrations/google.py +24 -0
- vouch_protocol-4.0.0/vouch/integrations/goose.py +134 -0
- vouch_protocol-4.0.0/vouch/integrations/langchain/__init__.py +22 -0
- vouch_protocol-4.0.0/vouch/integrations/langchain/mcp.py +619 -0
- vouch_protocol-4.0.0/vouch/integrations/langchain/tool.py +334 -0
- vouch_protocol-4.0.0/vouch/integrations/langgraph.py +128 -0
- vouch_protocol-4.0.0/vouch/integrations/mlflow.py +567 -0
- vouch_protocol-4.0.0/vouch/integrations/n8n.py +102 -0
- vouch_protocol-4.0.0/vouch/integrations/openai.py +296 -0
- vouch_protocol-4.0.0/vouch/integrations/safetensors.py +423 -0
- vouch_protocol-4.0.0/vouch/integrations/streamlit/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/integrations/streamlit/seal.py +114 -0
- vouch_protocol-4.0.0/vouch/integrations/vertex_ai/__init__.py +22 -0
- vouch_protocol-4.0.0/vouch/keys/__init__.py +1203 -0
- vouch_protocol-4.0.0/vouch/keys/keyfile.py +319 -0
- vouch_protocol-4.0.0/vouch/keys/kms.py +782 -0
- vouch_protocol-4.0.0/vouch/keys/source.py +311 -0
- vouch_protocol-4.0.0/vouch/keys/store.py +219 -0
- vouch_protocol-4.0.0/vouch/net/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/net/fetch.py +246 -0
- vouch_protocol-4.0.0/vouch/net/ssrf.py +628 -0
- vouch_protocol-4.0.0/vouch/policy/__init__.py +1340 -0
- vouch_protocol-4.0.0/vouch/policy/_file.py +429 -0
- vouch_protocol-4.0.0/vouch/policy/personal.py +125 -0
- vouch_protocol-4.0.0/vouch/policy/rules.py +570 -0
- vouch_protocol-4.0.0/vouch/policy/vouch-policy-1.json +478 -0
- vouch_protocol-4.0.0/vouch/profiles/__init__.py +7 -0
- vouch_protocol-4.0.0/vouch/profiles/budgets/__init__.py +873 -0
- vouch_protocol-4.0.0/vouch/profiles/media/__init__.py +32 -0
- vouch_protocol-4.0.0/vouch/profiles/media/_manifest_store.py +531 -0
- vouch_protocol-4.0.0/vouch/profiles/media/attribution.py +858 -0
- vouch_protocol-4.0.0/vouch/profiles/media/attribution_cli.py +441 -0
- vouch_protocol-4.0.0/vouch/profiles/media/audio.py +1448 -0
- vouch_protocol-4.0.0/vouch/profiles/media/badge.py +205 -0
- vouch_protocol-4.0.0/vouch/profiles/media/c2pa.py +1515 -0
- vouch_protocol-4.0.0/vouch/profiles/media/config.py +102 -0
- vouch_protocol-4.0.0/vouch/profiles/media/native.py +1110 -0
- vouch_protocol-4.0.0/vouch/profiles/media/provenance.py +292 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/__init__.py +362 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/_common.py +230 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/_pedersen.py +171 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/census.py +329 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/custody.py +504 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/disclosure.py +567 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/dissent.py +415 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/fuse.py +376 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/load_auth.py +376 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/ordering.py +743 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/oversight.py +416 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/pace.py +331 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/prereg.py +521 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/recursion.py +347 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/redline.py +623 -0
- vouch_protocol-4.0.0/vouch/profiles/pacing/restraint.py +1319 -0
- vouch_protocol-4.0.0/vouch/profiles/reasoning/__init__.py +614 -0
- vouch_protocol-4.0.0/vouch/profiles/reasoning/caveats.py +716 -0
- vouch_protocol-4.0.0/vouch/profiles/reasoning/deliberation.py +459 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/__init__.py +7 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/aggregate.py +185 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/auditor.py +132 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/disputes.py +155 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/engine.py +719 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/grade.py +727 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/ledger.py +303 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/policy.py +217 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/portability.py +181 -0
- vouch_protocol-4.0.0/vouch/profiles/reputation/receipts.py +279 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/__init__.py +678 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/_signing.py +37 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/_verify.py +623 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/access.py +306 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/accumulator.py +147 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/blackbox.py +416 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/bundle.py +230 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/capability.py +320 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/conformance.py +593 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/consent.py +317 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/custody.py +380 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/dtn_revocation.py +430 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/edge_trust.py +556 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/embodiment.py +275 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/freshness.py +267 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/fusion.py +240 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/geoscope.py +210 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/halos.py +236 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/handover.py +217 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/handshake.py +408 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/hardware.py +377 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/identity.py +294 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/lease.py +259 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/lifecycle.py +471 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/liveness.py +394 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/localization.py +365 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/odd.py +338 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/orbital.py +164 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/passport.py +178 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/perception.py +295 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/perception_consensus.py +285 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/physical_quorum.py +210 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/pq.py +259 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/presence.py +243 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/provenance.py +204 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/quorum_trust.py +574 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/revocation.py +149 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/root_identity.py +235 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/safety_record.py +298 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/swarm.py +237 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/teleop.py +289 -0
- vouch_protocol-4.0.0/vouch/profiles/robotics/wear.py +227 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/__init__.py +141 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/_pinned.py +156 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/base.py +146 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/envelope.py +210 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/http_rendezvous.py +471 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/http_transport.py +150 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/manager.py +191 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/rendezvous.py +629 -0
- vouch_protocol-4.0.0/vouch/profiles/transport/udna.py +455 -0
- vouch_protocol-4.0.0/vouch/replay.py +493 -0
- vouch_protocol-4.0.0/vouch/servers/__init__.py +6 -0
- vouch_protocol-4.0.0/vouch/servers/common.py +388 -0
- vouch_protocol-4.0.0/vouch/servers/mcp_signer.py +2875 -0
- vouch_protocol-4.0.0/vouch/servers/media/Dockerfile +27 -0
- vouch_protocol-4.0.0/vouch/servers/media/__init__.py +18 -0
- vouch_protocol-4.0.0/vouch/servers/media/audio_routes.py +572 -0
- vouch_protocol-4.0.0/vouch/servers/media/auth.py +148 -0
- vouch_protocol-4.0.0/vouch/servers/media/config.py +420 -0
- vouch_protocol-4.0.0/vouch/servers/media/server.py +787 -0
- vouch_protocol-4.0.0/vouch/servers/sidecar/__init__.py +21 -0
- vouch_protocol-4.0.0/vouch/servers/sidecar/client.py +153 -0
- vouch_protocol-4.0.0/vouch/servers/sidecar/launcher.py +98 -0
- vouch_protocol-4.0.0/vouch/servers/validator/__init__.py +8 -0
- vouch_protocol-4.0.0/vouch/servers/validator/flags.py +130 -0
- vouch_protocol-4.0.0/vouch/servers/validator/server.py +2077 -0
- vouch_protocol-4.0.0/vouch/signer.py +938 -0
- vouch_protocol-4.0.0/vouch/status/__init__.py +5 -0
- vouch_protocol-4.0.0/vouch/status/authority.py +914 -0
- vouch_protocol-4.0.0/vouch/status/list.py +1341 -0
- vouch_protocol-4.0.0/vouch/status/registry.py +662 -0
- vouch_protocol-4.0.0/vouch/tools/__init__.py +9 -0
- vouch_protocol-4.0.0/vouch/tools/conformance.py +686 -0
- vouch_protocol-4.0.0/vouch/tools/fence.py +973 -0
- vouch_protocol-4.0.0/vouch/tools/git_verify.py +664 -0
- vouch_protocol-4.0.0/vouch/tools/onboard.py +1433 -0
- vouch_protocol-4.0.0/vouch/tools/proof_of_integration.py +338 -0
- vouch_protocol-4.0.0/vouch/tools/ratelimit.py +382 -0
- vouch_protocol-4.0.0/vouch/tools/scan/__init__.py +41 -0
- vouch_protocol-4.0.0/vouch/tools/scan/detector.py +348 -0
- vouch_protocol-4.0.0/vouch/tools/tool_registry.py +149 -0
- vouch_protocol-4.0.0/vouch/trusted_roots.py +76 -0
- vouch_protocol-4.0.0/vouch/verifier.py +2503 -0
- vouch_protocol-4.0.0/vouch_protocol.egg-info/PKG-INFO +1236 -0
- vouch_protocol-4.0.0/vouch_protocol.egg-info/SOURCES.txt +494 -0
- vouch_protocol-4.0.0/vouch_protocol.egg-info/entry_points.txt +3 -0
- vouch_protocol-4.0.0/vouch_protocol.egg-info/requires.txt +130 -0
- vouch_protocol-3.2.0/PKG-INFO +0 -857
- vouch_protocol-3.2.0/README.md +0 -569
- vouch_protocol-3.2.0/pyproject.toml +0 -181
- vouch_protocol-3.2.0/tests/test_accountability.py +0 -371
- vouch_protocol-3.2.0/tests/test_agent_enroll.py +0 -302
- vouch_protocol-3.2.0/tests/test_ati_core.py +0 -122
- vouch_protocol-3.2.0/tests/test_attribution.py +0 -152
- vouch_protocol-3.2.0/tests/test_audio_bridge.py +0 -312
- vouch_protocol-3.2.0/tests/test_audit_trail.py +0 -158
- vouch_protocol-3.2.0/tests/test_auditor.py +0 -168
- vouch_protocol-3.2.0/tests/test_authority_state.py +0 -483
- vouch_protocol-3.2.0/tests/test_authority_state_vectors.py +0 -77
- vouch_protocol-3.2.0/tests/test_autosign.py +0 -470
- vouch_protocol-3.2.0/tests/test_behavioral_attestation.py +0 -209
- vouch_protocol-3.2.0/tests/test_bridge.py +0 -248
- vouch_protocol-3.2.0/tests/test_budget.py +0 -102
- vouch_protocol-3.2.0/tests/test_c2pa_formats.py +0 -153
- vouch_protocol-3.2.0/tests/test_cache.py +0 -234
- vouch_protocol-3.2.0/tests/test_canary.py +0 -211
- vouch_protocol-3.2.0/tests/test_caveats.py +0 -315
- vouch_protocol-3.2.0/tests/test_cli_init.py +0 -88
- vouch_protocol-3.2.0/tests/test_cli_verify.py +0 -239
- vouch_protocol-3.2.0/tests/test_cli_without_server_extra.py +0 -38
- vouch_protocol-3.2.0/tests/test_conformance.py +0 -99
- vouch_protocol-3.2.0/tests/test_context_v1.py +0 -298
- vouch_protocol-3.2.0/tests/test_credential_gate.py +0 -131
- vouch_protocol-3.2.0/tests/test_data_integrity.py +0 -258
- vouch_protocol-3.2.0/tests/test_delegate_parent.py +0 -104
- vouch_protocol-3.2.0/tests/test_delegation_attenuation.py +0 -51
- vouch_protocol-3.2.0/tests/test_delegation_chain_vectors.py +0 -71
- vouch_protocol-3.2.0/tests/test_delegation_hardening.py +0 -858
- vouch_protocol-3.2.0/tests/test_delegation_size_guard.py +0 -138
- vouch_protocol-3.2.0/tests/test_delegation_verify.py +0 -589
- vouch_protocol-3.2.0/tests/test_deliberation.py +0 -179
- vouch_protocol-3.2.0/tests/test_disconnected_edge.py +0 -239
- vouch_protocol-3.2.0/tests/test_dtn_pads.py +0 -429
- vouch_protocol-3.2.0/tests/test_dx_sugar.py +0 -547
- vouch_protocol-3.2.0/tests/test_ed25519_check.py +0 -98
- vouch_protocol-3.2.0/tests/test_ed25519_strict_vector.py +0 -82
- vouch_protocol-3.2.0/tests/test_examples_robotics.py +0 -397
- vouch_protocol-3.2.0/tests/test_fastapi_credential_gate.py +0 -106
- vouch_protocol-3.2.0/tests/test_fence.py +0 -945
- vouch_protocol-3.2.0/tests/test_fetch_hostile_documents.py +0 -235
- vouch_protocol-3.2.0/tests/test_flat_delegation.py +0 -792
- vouch_protocol-3.2.0/tests/test_flat_delegation_vectors.py +0 -134
- vouch_protocol-3.2.0/tests/test_fleet.py +0 -345
- vouch_protocol-3.2.0/tests/test_git_commit_binding.py +0 -382
- vouch_protocol-3.2.0/tests/test_git_workflow.py +0 -294
- vouch_protocol-3.2.0/tests/test_grade.py +0 -66
- vouch_protocol-3.2.0/tests/test_grade_evidence.py +0 -327
- vouch_protocol-3.2.0/tests/test_grant_chain_rules.py +0 -1110
- vouch_protocol-3.2.0/tests/test_halos_evidence.py +0 -161
- vouch_protocol-3.2.0/tests/test_hardware_seam.py +0 -183
- vouch_protocol-3.2.0/tests/test_hasura_integration.py +0 -173
- vouch_protocol-3.2.0/tests/test_heartbeat.py +0 -406
- vouch_protocol-3.2.0/tests/test_heartbeat_hardening.py +0 -207
- vouch_protocol-3.2.0/tests/test_hybrid.py +0 -714
- vouch_protocol-3.2.0/tests/test_hybrid_interop.py +0 -66
- vouch_protocol-3.2.0/tests/test_identity_file_reader.py +0 -551
- vouch_protocol-3.2.0/tests/test_intent_recheck.py +0 -179
- vouch_protocol-3.2.0/tests/test_intent_recheck_vector.py +0 -54
- vouch_protocol-3.2.0/tests/test_jcs.py +0 -111
- vouch_protocol-3.2.0/tests/test_jcs_interop.py +0 -68
- vouch_protocol-3.2.0/tests/test_keys_post_quantum.py +0 -1344
- vouch_protocol-3.2.0/tests/test_keys_ts_interop.py +0 -101
- vouch_protocol-3.2.0/tests/test_kms.py +0 -723
- vouch_protocol-3.2.0/tests/test_liveness_conformance.py +0 -361
- vouch_protocol-3.2.0/tests/test_mcp_check_trust.py +0 -81
- vouch_protocol-3.2.0/tests/test_mcp_guard_replay.py +0 -153
- vouch_protocol-3.2.0/tests/test_mcp_guard_revocation.py +0 -243
- vouch_protocol-3.2.0/tests/test_mcp_server_shield.py +0 -178
- vouch_protocol-3.2.0/tests/test_mcp_server_status_tools.py +0 -328
- vouch_protocol-3.2.0/tests/test_media_badge.py +0 -226
- vouch_protocol-3.2.0/tests/test_media_native.py +0 -380
- vouch_protocol-3.2.0/tests/test_merkle.py +0 -182
- vouch_protocol-3.2.0/tests/test_mint_delegation.py +0 -169
- vouch_protocol-3.2.0/tests/test_mldsa_check.py +0 -102
- vouch_protocol-3.2.0/tests/test_multikey.py +0 -151
- vouch_protocol-3.2.0/tests/test_nesting_and_precision.py +0 -185
- vouch_protocol-3.2.0/tests/test_nonce.py +0 -126
- vouch_protocol-3.2.0/tests/test_nonce_replay_store.py +0 -395
- vouch_protocol-3.2.0/tests/test_onboard.py +0 -503
- vouch_protocol-3.2.0/tests/test_orbital_accumulator.py +0 -192
- vouch_protocol-3.2.0/tests/test_pacing.py +0 -2010
- vouch_protocol-3.2.0/tests/test_policy_limits.py +0 -138
- vouch_protocol-3.2.0/tests/test_pq_verify.py +0 -157
- vouch_protocol-3.2.0/tests/test_proof_of_integration.py +0 -161
- vouch_protocol-3.2.0/tests/test_proof_set_vector.py +0 -68
- vouch_protocol-3.2.0/tests/test_provenance.py +0 -169
- vouch_protocol-3.2.0/tests/test_quorum.py +0 -284
- vouch_protocol-3.2.0/tests/test_reasoning.py +0 -279
- vouch_protocol-3.2.0/tests/test_reasoning_escrow_binding.py +0 -201
- vouch_protocol-3.2.0/tests/test_receipts.py +0 -122
- vouch_protocol-3.2.0/tests/test_recovery.py +0 -373
- vouch_protocol-3.2.0/tests/test_replay_key_vector.py +0 -28
- vouch_protocol-3.2.0/tests/test_reputation.py +0 -177
- vouch_protocol-3.2.0/tests/test_reputation_aggregate.py +0 -99
- vouch_protocol-3.2.0/tests/test_reputation_disputes.py +0 -93
- vouch_protocol-3.2.0/tests/test_reputation_ledger.py +0 -105
- vouch_protocol-3.2.0/tests/test_reputation_policy.py +0 -81
- vouch_protocol-3.2.0/tests/test_reputation_portability.py +0 -106
- vouch_protocol-3.2.0/tests/test_revocation.py +0 -125
- vouch_protocol-3.2.0/tests/test_revocation_fail_closed.py +0 -383
- vouch_protocol-3.2.0/tests/test_robot_access.py +0 -181
- vouch_protocol-3.2.0/tests/test_robot_conformance.py +0 -302
- vouch_protocol-3.2.0/tests/test_robot_consent.py +0 -200
- vouch_protocol-3.2.0/tests/test_robot_custody.py +0 -159
- vouch_protocol-3.2.0/tests/test_robot_embodiment.py +0 -197
- vouch_protocol-3.2.0/tests/test_robot_fusion.py +0 -121
- vouch_protocol-3.2.0/tests/test_robot_handover.py +0 -118
- vouch_protocol-3.2.0/tests/test_robot_handshake_blackbox_passport.py +0 -186
- vouch_protocol-3.2.0/tests/test_robot_identity.py +0 -78
- vouch_protocol-3.2.0/tests/test_robot_lease_quorum.py +0 -231
- vouch_protocol-3.2.0/tests/test_robot_lifecycle.py +0 -160
- vouch_protocol-3.2.0/tests/test_robot_liveness_revocation.py +0 -356
- vouch_protocol-3.2.0/tests/test_robot_odd.py +0 -128
- vouch_protocol-3.2.0/tests/test_robot_perception.py +0 -158
- vouch_protocol-3.2.0/tests/test_robot_pq.py +0 -181
- vouch_protocol-3.2.0/tests/test_robot_provenance_capability.py +0 -159
- vouch_protocol-3.2.0/tests/test_robot_root_identity.py +0 -177
- vouch_protocol-3.2.0/tests/test_robot_safety_record.py +0 -161
- vouch_protocol-3.2.0/tests/test_robot_swarm.py +0 -103
- vouch_protocol-3.2.0/tests/test_robot_teleop.py +0 -180
- vouch_protocol-3.2.0/tests/test_robot_wear.py +0 -124
- vouch_protocol-3.2.0/tests/test_root_delegation_scripts.py +0 -78
- vouch_protocol-3.2.0/tests/test_root_of_trust.py +0 -403
- vouch_protocol-3.2.0/tests/test_root_of_trust_vectors.py +0 -70
- vouch_protocol-3.2.0/tests/test_ros2_action_gate.py +0 -467
- vouch_protocol-3.2.0/tests/test_scan.py +0 -264
- vouch_protocol-3.2.0/tests/test_secure_key_custody.py +0 -187
- vouch_protocol-3.2.0/tests/test_security_hardening.py +0 -65
- vouch_protocol-3.2.0/tests/test_shield_guard.py +0 -107
- vouch_protocol-3.2.0/tests/test_shield_rules.py +0 -356
- vouch_protocol-3.2.0/tests/test_shield_vectors.py +0 -90
- vouch_protocol-3.2.0/tests/test_sidecar.py +0 -1727
- vouch_protocol-3.2.0/tests/test_signer_vc.py +0 -354
- vouch_protocol-3.2.0/tests/test_ssrf_ranges.py +0 -17
- vouch_protocol-3.2.0/tests/test_status_list.py +0 -721
- vouch_protocol-3.2.0/tests/test_status_list_strict.py +0 -646
- vouch_protocol-3.2.0/tests/test_strict_time_leftovers.py +0 -65
- vouch_protocol-3.2.0/tests/test_threshold.py +0 -168
- vouch_protocol-3.2.0/tests/test_threshold_loader.py +0 -132
- vouch_protocol-3.2.0/tests/test_tool_registry.py +0 -105
- vouch_protocol-3.2.0/tests/test_transparency.py +0 -224
- vouch_protocol-3.2.0/tests/test_transport.py +0 -247
- vouch_protocol-3.2.0/tests/test_transport_http_rendezvous.py +0 -219
- vouch_protocol-3.2.0/tests/test_transport_rendezvous.py +0 -157
- vouch_protocol-3.2.0/tests/test_transport_udna_sdk.py +0 -139
- vouch_protocol-3.2.0/tests/test_trifecta.py +0 -80
- vouch_protocol-3.2.0/tests/test_trust_check.py +0 -425
- vouch_protocol-3.2.0/tests/test_trust_entropy.py +0 -232
- vouch_protocol-3.2.0/tests/test_trusted_roots.py +0 -177
- vouch_protocol-3.2.0/tests/test_validator_cli.py +0 -1675
- vouch_protocol-3.2.0/tests/test_validator_server.py +0 -532
- vouch_protocol-3.2.0/tests/test_vc.py +0 -101
- vouch_protocol-3.2.0/tests/test_vector_runners.py +0 -135
- vouch_protocol-3.2.0/tests/test_verifier_hardening.py +0 -1035
- vouch_protocol-3.2.0/tests/test_verifier_round2.py +0 -683
- vouch_protocol-3.2.0/tests/test_verifier_round3.py +0 -155
- vouch_protocol-3.2.0/tests/test_verifier_vc.py +0 -370
- vouch_protocol-3.2.0/tests/test_verify_without_key.py +0 -213
- vouch_protocol-3.2.0/tests/test_vouch_mcp.py +0 -475
- vouch_protocol-3.2.0/vouch/__init__.py +0 -786
- vouch_protocol-3.2.0/vouch/accountability.py +0 -593
- vouch_protocol-3.2.0/vouch/agent.py +0 -398
- vouch_protocol-3.2.0/vouch/async_verifier.py +0 -441
- vouch_protocol-3.2.0/vouch/attenuation.py +0 -790
- vouch_protocol-3.2.0/vouch/attribution.py +0 -595
- vouch_protocol-3.2.0/vouch/attribution_cli.py +0 -292
- vouch_protocol-3.2.0/vouch/audio.py +0 -1194
- vouch_protocol-3.2.0/vouch/audit_trail.py +0 -310
- vouch_protocol-3.2.0/vouch/auditor.py +0 -121
- vouch_protocol-3.2.0/vouch/authority_state.py +0 -694
- vouch_protocol-3.2.0/vouch/autosign.py +0 -601
- vouch_protocol-3.2.0/vouch/behavioral_attestation.py +0 -291
- vouch_protocol-3.2.0/vouch/bridge/__init__.py +0 -12
- vouch_protocol-3.2.0/vouch/bridge/audio_routes.py +0 -519
- vouch_protocol-3.2.0/vouch/bridge/config.py +0 -51
- vouch_protocol-3.2.0/vouch/bridge/server.py +0 -568
- vouch_protocol-3.2.0/vouch/budget.py +0 -211
- vouch_protocol-3.2.0/vouch/canary.py +0 -285
- vouch_protocol-3.2.0/vouch/caveats.py +0 -715
- vouch_protocol-3.2.0/vouch/cli.py +0 -2683
- vouch_protocol-3.2.0/vouch/config.py +0 -108
- vouch_protocol-3.2.0/vouch/conformance.py +0 -656
- vouch_protocol-3.2.0/vouch/credential.py +0 -221
- vouch_protocol-3.2.0/vouch/data_integrity.py +0 -223
- vouch_protocol-3.2.0/vouch/data_integrity_hybrid.py +0 -451
- vouch_protocol-3.2.0/vouch/deliberation.py +0 -458
- vouch_protocol-3.2.0/vouch/did_web.py +0 -607
- vouch_protocol-3.2.0/vouch/fence.py +0 -968
- vouch_protocol-3.2.0/vouch/fleet.py +0 -388
- vouch_protocol-3.2.0/vouch/gate.py +0 -158
- vouch_protocol-3.2.0/vouch/grade.py +0 -726
- vouch_protocol-3.2.0/vouch/grant_chain.py +0 -614
- vouch_protocol-3.2.0/vouch/heartbeat.py +0 -773
- vouch_protocol-3.2.0/vouch/integrations/_common.py +0 -61
- vouch_protocol-3.2.0/vouch/integrations/a2a.py +0 -151
- vouch_protocol-3.2.0/vouch/integrations/adk.py +0 -509
- vouch_protocol-3.2.0/vouch/integrations/amnesia.py +0 -182
- vouch_protocol-3.2.0/vouch/integrations/autogen/__init__.py +0 -50
- vouch_protocol-3.2.0/vouch/integrations/autogpt/__init__.py +0 -17
- vouch_protocol-3.2.0/vouch/integrations/autogpt/commands.py +0 -42
- vouch_protocol-3.2.0/vouch/integrations/claude-code/settings.hooks.json +0 -16
- vouch_protocol-3.2.0/vouch/integrations/crewai/__init__.py +0 -17
- vouch_protocol-3.2.0/vouch/integrations/crewai/tool.py +0 -90
- vouch_protocol-3.2.0/vouch/integrations/fastapi.py +0 -78
- vouch_protocol-3.2.0/vouch/integrations/google.py +0 -24
- vouch_protocol-3.2.0/vouch/integrations/goose.py +0 -132
- vouch_protocol-3.2.0/vouch/integrations/hasura/__init__.py +0 -9
- vouch_protocol-3.2.0/vouch/integrations/hasura/webhook.py +0 -470
- vouch_protocol-3.2.0/vouch/integrations/langchain/__init__.py +0 -17
- vouch_protocol-3.2.0/vouch/integrations/langchain/tool.py +0 -95
- vouch_protocol-3.2.0/vouch/integrations/langgraph.py +0 -87
- vouch_protocol-3.2.0/vouch/integrations/mcp/__init__.py +0 -5
- vouch_protocol-3.2.0/vouch/integrations/mcp/server.py +0 -1625
- vouch_protocol-3.2.0/vouch/integrations/mlflow.py +0 -126
- vouch_protocol-3.2.0/vouch/integrations/n8n.py +0 -78
- vouch_protocol-3.2.0/vouch/integrations/openai.py +0 -198
- vouch_protocol-3.2.0/vouch/integrations/safetensors.py +0 -156
- vouch_protocol-3.2.0/vouch/integrations/streamlit/__init__.py +0 -5
- vouch_protocol-3.2.0/vouch/integrations/streamlit/seal.py +0 -93
- vouch_protocol-3.2.0/vouch/integrations/vertex_ai/__init__.py +0 -22
- vouch_protocol-3.2.0/vouch/intent_recheck.py +0 -347
- vouch_protocol-3.2.0/vouch/keys.py +0 -1136
- vouch_protocol-3.2.0/vouch/keystore.py +0 -217
- vouch_protocol-3.2.0/vouch/kms.py +0 -782
- vouch_protocol-3.2.0/vouch/liveness_conformance.py +0 -497
- vouch_protocol-3.2.0/vouch/mcp/__init__.py +0 -269
- vouch_protocol-3.2.0/vouch/mcp/_guard.py +0 -539
- vouch_protocol-3.2.0/vouch/mcp_guard.py +0 -327
- vouch_protocol-3.2.0/vouch/media/__init__.py +0 -32
- vouch_protocol-3.2.0/vouch/media/badge.py +0 -205
- vouch_protocol-3.2.0/vouch/media/c2pa.py +0 -552
- vouch_protocol-3.2.0/vouch/media/native.py +0 -744
- vouch_protocol-3.2.0/vouch/multikey.py +0 -192
- vouch_protocol-3.2.0/vouch/nonce.py +0 -493
- vouch_protocol-3.2.0/vouch/onboard.py +0 -1184
- vouch_protocol-3.2.0/vouch/pacing/__init__.py +0 -288
- vouch_protocol-3.2.0/vouch/pacing/_common.py +0 -183
- vouch_protocol-3.2.0/vouch/pacing/_pedersen.py +0 -126
- vouch_protocol-3.2.0/vouch/pacing/census.py +0 -265
- vouch_protocol-3.2.0/vouch/pacing/custody.py +0 -384
- vouch_protocol-3.2.0/vouch/pacing/disclosure.py +0 -373
- vouch_protocol-3.2.0/vouch/pacing/dissent.py +0 -344
- vouch_protocol-3.2.0/vouch/pacing/fuse.py +0 -298
- vouch_protocol-3.2.0/vouch/pacing/load_auth.py +0 -332
- vouch_protocol-3.2.0/vouch/pacing/oversight.py +0 -324
- vouch_protocol-3.2.0/vouch/pacing/pace.py +0 -297
- vouch_protocol-3.2.0/vouch/pacing/prereg.py +0 -318
- vouch_protocol-3.2.0/vouch/pacing/recursion.py +0 -339
- vouch_protocol-3.2.0/vouch/pacing/redline.py +0 -347
- vouch_protocol-3.2.0/vouch/pacing/restraint.py +0 -582
- vouch_protocol-3.2.0/vouch/proof_of_integration.py +0 -337
- vouch_protocol-3.2.0/vouch/provenance.py +0 -291
- vouch_protocol-3.2.0/vouch/quorum.py +0 -280
- vouch_protocol-3.2.0/vouch/ratelimit.py +0 -303
- vouch_protocol-3.2.0/vouch/reasoning.py +0 -631
- vouch_protocol-3.2.0/vouch/receipts.py +0 -278
- vouch_protocol-3.2.0/vouch/recovery.py +0 -501
- vouch_protocol-3.2.0/vouch/reputation.py +0 -719
- vouch_protocol-3.2.0/vouch/reputation_aggregate.py +0 -161
- vouch_protocol-3.2.0/vouch/reputation_disputes.py +0 -150
- vouch_protocol-3.2.0/vouch/reputation_ledger.py +0 -209
- vouch_protocol-3.2.0/vouch/reputation_policy.py +0 -154
- vouch_protocol-3.2.0/vouch/reputation_portability.py +0 -178
- vouch_protocol-3.2.0/vouch/revocation.py +0 -650
- vouch_protocol-3.2.0/vouch/robotics/__init__.py +0 -634
- vouch_protocol-3.2.0/vouch/robotics/_signing.py +0 -37
- vouch_protocol-3.2.0/vouch/robotics/_verify.py +0 -43
- vouch_protocol-3.2.0/vouch/robotics/access.py +0 -268
- vouch_protocol-3.2.0/vouch/robotics/accumulator.py +0 -147
- vouch_protocol-3.2.0/vouch/robotics/blackbox.py +0 -228
- vouch_protocol-3.2.0/vouch/robotics/bundle.py +0 -128
- vouch_protocol-3.2.0/vouch/robotics/capability.py +0 -170
- vouch_protocol-3.2.0/vouch/robotics/conformance.py +0 -545
- vouch_protocol-3.2.0/vouch/robotics/consent.py +0 -309
- vouch_protocol-3.2.0/vouch/robotics/custody.py +0 -231
- vouch_protocol-3.2.0/vouch/robotics/dtn_revocation.py +0 -265
- vouch_protocol-3.2.0/vouch/robotics/edge_trust.py +0 -255
- vouch_protocol-3.2.0/vouch/robotics/embodiment.py +0 -221
- vouch_protocol-3.2.0/vouch/robotics/freshness.py +0 -173
- vouch_protocol-3.2.0/vouch/robotics/fusion.py +0 -200
- vouch_protocol-3.2.0/vouch/robotics/geoscope.py +0 -214
- vouch_protocol-3.2.0/vouch/robotics/halos.py +0 -231
- vouch_protocol-3.2.0/vouch/robotics/handover.py +0 -194
- vouch_protocol-3.2.0/vouch/robotics/handshake.py +0 -215
- vouch_protocol-3.2.0/vouch/robotics/hardware.py +0 -352
- vouch_protocol-3.2.0/vouch/robotics/identity.py +0 -260
- vouch_protocol-3.2.0/vouch/robotics/lease.py +0 -169
- vouch_protocol-3.2.0/vouch/robotics/lifecycle.py +0 -312
- vouch_protocol-3.2.0/vouch/robotics/liveness.py +0 -369
- vouch_protocol-3.2.0/vouch/robotics/localization.py +0 -284
- vouch_protocol-3.2.0/vouch/robotics/odd.py +0 -241
- vouch_protocol-3.2.0/vouch/robotics/orbital.py +0 -164
- vouch_protocol-3.2.0/vouch/robotics/passport.py +0 -174
- vouch_protocol-3.2.0/vouch/robotics/perception.py +0 -232
- vouch_protocol-3.2.0/vouch/robotics/perception_consensus.py +0 -182
- vouch_protocol-3.2.0/vouch/robotics/physical_quorum.py +0 -159
- vouch_protocol-3.2.0/vouch/robotics/pq.py +0 -182
- vouch_protocol-3.2.0/vouch/robotics/presence.py +0 -206
- vouch_protocol-3.2.0/vouch/robotics/provenance.py +0 -130
- vouch_protocol-3.2.0/vouch/robotics/quorum_trust.py +0 -269
- vouch_protocol-3.2.0/vouch/robotics/revocation.py +0 -126
- vouch_protocol-3.2.0/vouch/robotics/root_identity.py +0 -201
- vouch_protocol-3.2.0/vouch/robotics/safety_record.py +0 -259
- vouch_protocol-3.2.0/vouch/robotics/swarm.py +0 -201
- vouch_protocol-3.2.0/vouch/robotics/teleop.py +0 -233
- vouch_protocol-3.2.0/vouch/robotics/wear.py +0 -191
- vouch_protocol-3.2.0/vouch/root_of_trust.py +0 -684
- vouch_protocol-3.2.0/vouch/scan/__init__.py +0 -41
- vouch_protocol-3.2.0/vouch/scan/detector.py +0 -348
- vouch_protocol-3.2.0/vouch/seal.py +0 -26
- vouch_protocol-3.2.0/vouch/shield/__init__.py +0 -55
- vouch_protocol-3.2.0/vouch/shield/demo.py +0 -174
- vouch_protocol-3.2.0/vouch/shield/rules.py +0 -413
- vouch_protocol-3.2.0/vouch/shield/shield.py +0 -393
- vouch_protocol-3.2.0/vouch/shield/trust_registry.py +0 -204
- vouch_protocol-3.2.0/vouch/sidecar.py +0 -1571
- vouch_protocol-3.2.0/vouch/signer.py +0 -871
- vouch_protocol-3.2.0/vouch/ssrf.py +0 -628
- vouch_protocol-3.2.0/vouch/status_list.py +0 -1262
- vouch_protocol-3.2.0/vouch/status_list_fetcher.py +0 -245
- vouch_protocol-3.2.0/vouch/threshold.py +0 -386
- vouch_protocol-3.2.0/vouch/tool_registry.py +0 -149
- vouch_protocol-3.2.0/vouch/transparency.py +0 -432
- vouch_protocol-3.2.0/vouch/transport/__init__.py +0 -137
- vouch_protocol-3.2.0/vouch/transport/base.py +0 -146
- vouch_protocol-3.2.0/vouch/transport/did_key.py +0 -90
- vouch_protocol-3.2.0/vouch/transport/envelope.py +0 -194
- vouch_protocol-3.2.0/vouch/transport/http_rendezvous.py +0 -332
- vouch_protocol-3.2.0/vouch/transport/http_transport.py +0 -160
- vouch_protocol-3.2.0/vouch/transport/manager.py +0 -188
- vouch_protocol-3.2.0/vouch/transport/rendezvous.py +0 -278
- vouch_protocol-3.2.0/vouch/transport/udna.py +0 -441
- vouch_protocol-3.2.0/vouch/trust_check.py +0 -546
- vouch_protocol-3.2.0/vouch/trust_entropy.py +0 -366
- vouch_protocol-3.2.0/vouch/trusted_roots.py +0 -237
- vouch_protocol-3.2.0/vouch/validator_flags.py +0 -93
- vouch_protocol-3.2.0/vouch/validator_server.py +0 -1235
- vouch_protocol-3.2.0/vouch/vc.py +0 -213
- vouch_protocol-3.2.0/vouch/verification.py +0 -664
- vouch_protocol-3.2.0/vouch/verifier.py +0 -2039
- vouch_protocol-3.2.0/vouch_protocol.egg-info/PKG-INFO +0 -857
- vouch_protocol-3.2.0/vouch_protocol.egg-info/SOURCES.txt +0 -369
- vouch_protocol-3.2.0/vouch_protocol.egg-info/entry_points.txt +0 -4
- vouch_protocol-3.2.0/vouch_protocol.egg-info/requires.txt +0 -84
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/LICENSE +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/MANIFEST.in +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/setup.cfg +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_ccg_demo.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_cli_root.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_mint_contributor_credential.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_runtime_vectors.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_timefmt.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/tests/test_trusted_roots_vector.py +0 -0
- /vouch_protocol-3.2.0/vouch/nesting.py → /vouch_protocol-4.0.0/vouch/_limits.py +0 -0
- {vouch_protocol-3.2.0/vouch/shield → vouch_protocol-4.0.0/vouch/accountability}/flight_recorder.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/crypto}/ed25519_check.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/crypto}/jcs.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/crypto}/merkle.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/crypto}/mldsa_check.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/vouch/timefmt.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/tools}/cache.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/tools}/conformance_jcs_vectors.json +0 -0
- /vouch_protocol-3.2.0/vouch/registry.py → /vouch_protocol-4.0.0/vouch/tools/key_registry.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/tools}/metrics.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/tools}/scan/patterns.py +0 -0
- {vouch_protocol-3.2.0/vouch → vouch_protocol-4.0.0/vouch/tools}/trifecta.py +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/vouch_protocol.egg-info/dependency_links.txt +0 -0
- {vouch_protocol-3.2.0 → vouch_protocol-4.0.0}/vouch_protocol.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,1236 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vouch-protocol
|
|
3
|
+
Version: 4.0.0
|
|
4
|
+
Summary: The Identity & Reputation Standard for AI Agents
|
|
5
|
+
Author-email: Vouch Protocol Contributors <hello@vouch-protocol.com>
|
|
6
|
+
License: Apache License 2.0
|
|
7
|
+
==================
|
|
8
|
+
|
|
9
|
+
Copyright 2025 Vouch Protocol Contributors
|
|
10
|
+
|
|
11
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
you may not use this file except in compliance with the License.
|
|
13
|
+
You may obtain a copy of the License at
|
|
14
|
+
|
|
15
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
|
|
17
|
+
Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
See the License for the specific language governing permissions and
|
|
21
|
+
limitations under the License.
|
|
22
|
+
|
|
23
|
+
NOTE: The Vouch Protocol specification may be contributed to W3C
|
|
24
|
+
Verifiable Credentials Working Group as a separate standards track.
|
|
25
|
+
|
|
26
|
+
================================================================================
|
|
27
|
+
|
|
28
|
+
Apache License
|
|
29
|
+
Version 2.0, January 2004
|
|
30
|
+
http://www.apache.org/licenses/
|
|
31
|
+
|
|
32
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
33
|
+
|
|
34
|
+
1. Definitions.
|
|
35
|
+
|
|
36
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
37
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
38
|
+
|
|
39
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
40
|
+
the copyright owner that is granting the License.
|
|
41
|
+
|
|
42
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
43
|
+
other entities that control, are controlled by, or are under common
|
|
44
|
+
control with that entity. For the purposes of this definition,
|
|
45
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
46
|
+
direction or management of such entity, whether by contract or
|
|
47
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
48
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
49
|
+
|
|
50
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
51
|
+
exercising permissions granted by this License.
|
|
52
|
+
|
|
53
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
54
|
+
including but not limited to software source code, documentation
|
|
55
|
+
source, and configuration files.
|
|
56
|
+
|
|
57
|
+
"Object" form shall mean any form resulting from mechanical
|
|
58
|
+
transformation or translation of a Source form, including but
|
|
59
|
+
not limited to compiled object code, generated documentation,
|
|
60
|
+
and conversions to other media types.
|
|
61
|
+
|
|
62
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
63
|
+
Object form, made available under the License, as indicated by a
|
|
64
|
+
copyright notice that is included in or attached to the work
|
|
65
|
+
(an example is provided in the Appendix below).
|
|
66
|
+
|
|
67
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
68
|
+
form, that is based on (or derived from) the Work and for which the
|
|
69
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
70
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
71
|
+
of this License, Derivative Works shall not include works that remain
|
|
72
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
73
|
+
the Work and Derivative Works thereof.
|
|
74
|
+
|
|
75
|
+
"Contribution" shall mean any work of authorship, including
|
|
76
|
+
the original version of the Work and any modifications or additions
|
|
77
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
78
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
79
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
80
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
81
|
+
means any form of electronic, verbal, or written communication sent
|
|
82
|
+
to the Licensor or its representatives, including but not limited to
|
|
83
|
+
communication on electronic mailing lists, source code control systems,
|
|
84
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
85
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
86
|
+
excluding communication that is conspicuously marked or otherwise
|
|
87
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
88
|
+
|
|
89
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
90
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
91
|
+
subsequently incorporated within the Work.
|
|
92
|
+
|
|
93
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
94
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
95
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
96
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
97
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
98
|
+
Work and such Derivative Works in Source or Object form.
|
|
99
|
+
|
|
100
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
101
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
102
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
103
|
+
(except as stated in this section) patent license to make, have made,
|
|
104
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
105
|
+
where such license applies only to those patent claims licensable
|
|
106
|
+
by such Contributor that are necessarily infringed by their
|
|
107
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
108
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
109
|
+
institute patent litigation against any entity (including a
|
|
110
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
111
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
112
|
+
or contributory patent infringement, then any patent licenses
|
|
113
|
+
granted to You under this License for that Work shall terminate
|
|
114
|
+
as of the date such litigation is filed.
|
|
115
|
+
|
|
116
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
117
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
118
|
+
modifications, and in Source or Object form, provided that You
|
|
119
|
+
meet the following conditions:
|
|
120
|
+
|
|
121
|
+
(a) You must give any other recipients of the Work or
|
|
122
|
+
Derivative Works a copy of this License; and
|
|
123
|
+
|
|
124
|
+
(b) You must cause any modified files to carry prominent notices
|
|
125
|
+
stating that You changed the files; and
|
|
126
|
+
|
|
127
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
128
|
+
that You distribute, all copyright, patent, trademark, and
|
|
129
|
+
attribution notices from the Source form of the Work,
|
|
130
|
+
excluding those notices that do not pertain to any part of
|
|
131
|
+
the Derivative Works; and
|
|
132
|
+
|
|
133
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
134
|
+
distribution, then any Derivative Works that You distribute must
|
|
135
|
+
include a readable copy of the attribution notices contained
|
|
136
|
+
within such NOTICE file, excluding those notices that do not
|
|
137
|
+
pertain to any part of the Derivative Works, in at least one
|
|
138
|
+
of the following places: within a NOTICE text file distributed
|
|
139
|
+
as part of the Derivative Works; within the Source form or
|
|
140
|
+
documentation, if provided along with the Derivative Works; or,
|
|
141
|
+
within a display generated by the Derivative Works, if and
|
|
142
|
+
wherever such third-party notices normally appear. The contents
|
|
143
|
+
of the NOTICE file are for informational purposes only and
|
|
144
|
+
do not modify the License. You may add Your own attribution
|
|
145
|
+
notices within Derivative Works that You distribute, alongside
|
|
146
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
147
|
+
that such additional attribution notices cannot be construed
|
|
148
|
+
as modifying the License.
|
|
149
|
+
|
|
150
|
+
You may add Your own copyright statement to Your modifications and
|
|
151
|
+
may provide additional or different license terms and conditions
|
|
152
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
153
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
154
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
155
|
+
the conditions stated in this License.
|
|
156
|
+
|
|
157
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
158
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
159
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
160
|
+
this License, without any additional terms or conditions.
|
|
161
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
162
|
+
the terms of any separate license agreement you may have executed
|
|
163
|
+
with Licensor regarding such Contributions.
|
|
164
|
+
|
|
165
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
166
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
167
|
+
except as required for reasonable and customary use in describing the
|
|
168
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
169
|
+
|
|
170
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
171
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
172
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
173
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
174
|
+
implied, including, without limitation, any warranties or conditions
|
|
175
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
176
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
177
|
+
appropriateness of using or redistributing the Work and assume any
|
|
178
|
+
risks associated with Your exercise of permissions under this License.
|
|
179
|
+
|
|
180
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
181
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
182
|
+
unless required by applicable law (such as deliberate and grossly
|
|
183
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
184
|
+
liable to You for damages, including any direct, indirect, special,
|
|
185
|
+
incidental, or consequential damages of any character arising as a
|
|
186
|
+
result of this License or out of the use or inability to use the
|
|
187
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
188
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
189
|
+
other commercial damages or losses), even if such Contributor
|
|
190
|
+
has been advised of the possibility of such damages.
|
|
191
|
+
|
|
192
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
193
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
194
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
195
|
+
or other liability obligations and/or rights consistent with this
|
|
196
|
+
License. However, in accepting such obligations, You may act only
|
|
197
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
198
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
199
|
+
defend, and hold each Contributor harmless for any liability
|
|
200
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
201
|
+
of your accepting any such warranty or additional liability.
|
|
202
|
+
|
|
203
|
+
END OF TERMS AND CONDITIONS
|
|
204
|
+
|
|
205
|
+
Project-URL: Homepage, https://github.com/vouch-protocol/vouch
|
|
206
|
+
Project-URL: Bug Tracker, https://github.com/vouch-protocol/vouch/issues
|
|
207
|
+
Project-URL: Documentation, https://vouch-protocol.org
|
|
208
|
+
Keywords: ai,agents,identity,cryptography,did,verifiable-credentials
|
|
209
|
+
Classifier: Development Status :: 4 - Beta
|
|
210
|
+
Classifier: Intended Audience :: Developers
|
|
211
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
212
|
+
Classifier: Programming Language :: Python :: 3
|
|
213
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
214
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
215
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
216
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
217
|
+
Classifier: Topic :: Security :: Cryptography
|
|
218
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
219
|
+
Requires-Python: >=3.9
|
|
220
|
+
Description-Content-Type: text/markdown
|
|
221
|
+
License-File: LICENSE
|
|
222
|
+
Requires-Dist: jwcrypto>=1.5.0
|
|
223
|
+
Requires-Dist: cryptography
|
|
224
|
+
Requires-Dist: httpx>=0.24.0
|
|
225
|
+
Requires-Dist: pqcrypto<2.0.0,>=0.4.0
|
|
226
|
+
Provides-Extra: robotics
|
|
227
|
+
Provides-Extra: pacing
|
|
228
|
+
Provides-Extra: budgets
|
|
229
|
+
Provides-Extra: reasoning
|
|
230
|
+
Provides-Extra: reputation
|
|
231
|
+
Provides-Extra: reputation-kafka
|
|
232
|
+
Requires-Dist: kafka-python>=2.0.0; extra == "reputation-kafka"
|
|
233
|
+
Provides-Extra: media
|
|
234
|
+
Requires-Dist: Pillow>=10.0.0; extra == "media"
|
|
235
|
+
Requires-Dist: base58>=2.1.0; extra == "media"
|
|
236
|
+
Requires-Dist: qrcode>=7.4.0; extra == "media"
|
|
237
|
+
Requires-Dist: c2pa-python<0.40,>=0.27.1; python_version >= "3.10" and extra == "media"
|
|
238
|
+
Provides-Extra: transport
|
|
239
|
+
Requires-Dist: sirraya-udna-sdk>=1.0.3; extra == "transport"
|
|
240
|
+
Provides-Extra: a2a
|
|
241
|
+
Provides-Extra: mcp
|
|
242
|
+
Requires-Dist: mcp<2,>=1.2.0; extra == "mcp"
|
|
243
|
+
Provides-Extra: fastapi
|
|
244
|
+
Requires-Dist: fastapi>=0.100.0; extra == "fastapi"
|
|
245
|
+
Provides-Extra: hasura
|
|
246
|
+
Requires-Dist: flask>=2.0.0; extra == "hasura"
|
|
247
|
+
Provides-Extra: sidecar
|
|
248
|
+
Provides-Extra: mcp-signer
|
|
249
|
+
Requires-Dist: mcp<2,>=1.2.0; extra == "mcp-signer"
|
|
250
|
+
Provides-Extra: validator
|
|
251
|
+
Requires-Dist: fastapi>=0.100.0; extra == "validator"
|
|
252
|
+
Requires-Dist: uvicorn>=0.23.0; extra == "validator"
|
|
253
|
+
Provides-Extra: media-server
|
|
254
|
+
Requires-Dist: fastapi>=0.100.0; extra == "media-server"
|
|
255
|
+
Requires-Dist: uvicorn>=0.23.0; extra == "media-server"
|
|
256
|
+
Requires-Dist: pydantic>=2.0.0; extra == "media-server"
|
|
257
|
+
Requires-Dist: vouch-protocol[media]; extra == "media-server"
|
|
258
|
+
Provides-Extra: yaml
|
|
259
|
+
Requires-Dist: pyyaml>=6.0; extra == "yaml"
|
|
260
|
+
Provides-Extra: redis
|
|
261
|
+
Requires-Dist: redis>=5.0.0; extra == "redis"
|
|
262
|
+
Provides-Extra: metrics
|
|
263
|
+
Requires-Dist: prometheus-client>=0.17.0; extra == "metrics"
|
|
264
|
+
Provides-Extra: tracing
|
|
265
|
+
Requires-Dist: opentelemetry-api>=1.20.0; extra == "tracing"
|
|
266
|
+
Requires-Dist: opentelemetry-sdk>=1.20.0; extra == "tracing"
|
|
267
|
+
Requires-Dist: opentelemetry-instrumentation-httpx>=0.40b0; extra == "tracing"
|
|
268
|
+
Provides-Extra: aws
|
|
269
|
+
Requires-Dist: boto3>=1.40.0; extra == "aws"
|
|
270
|
+
Provides-Extra: gcp
|
|
271
|
+
Requires-Dist: google-cloud-kms>=3.0.0; extra == "gcp"
|
|
272
|
+
Provides-Extra: langchain
|
|
273
|
+
Requires-Dist: langchain>=1.0; extra == "langchain"
|
|
274
|
+
Provides-Extra: langgraph
|
|
275
|
+
Requires-Dist: langgraph>=1.0; extra == "langgraph"
|
|
276
|
+
Requires-Dist: langchain>=1.0; extra == "langgraph"
|
|
277
|
+
Provides-Extra: crewai
|
|
278
|
+
Requires-Dist: crewai>=1.0; extra == "crewai"
|
|
279
|
+
Provides-Extra: autogen
|
|
280
|
+
Requires-Dist: pyautogen>=0.2.0; extra == "autogen"
|
|
281
|
+
Provides-Extra: adk
|
|
282
|
+
Provides-Extra: vertex
|
|
283
|
+
Requires-Dist: google-cloud-aiplatform>=1.0.0; extra == "vertex"
|
|
284
|
+
Provides-Extra: openai
|
|
285
|
+
Requires-Dist: openai>=1.0.0; extra == "openai"
|
|
286
|
+
Provides-Extra: goose
|
|
287
|
+
Requires-Dist: pyyaml>=6.0; extra == "goose"
|
|
288
|
+
Requires-Dist: mcp<2,>=1.2.0; extra == "goose"
|
|
289
|
+
Provides-Extra: mlflow
|
|
290
|
+
Provides-Extra: safetensors
|
|
291
|
+
Provides-Extra: n8n
|
|
292
|
+
Provides-Extra: streamlit
|
|
293
|
+
Requires-Dist: streamlit>=1.0.0; extra == "streamlit"
|
|
294
|
+
Provides-Extra: openvla
|
|
295
|
+
Requires-Dist: torch>=2.2.0; extra == "openvla"
|
|
296
|
+
Requires-Dist: transformers==4.40.1; extra == "openvla"
|
|
297
|
+
Requires-Dist: tokenizers==0.19.1; extra == "openvla"
|
|
298
|
+
Requires-Dist: timm==0.9.10; extra == "openvla"
|
|
299
|
+
Requires-Dist: accelerate>=0.25.0; extra == "openvla"
|
|
300
|
+
Requires-Dist: huggingface-hub>=0.23.0; extra == "openvla"
|
|
301
|
+
Requires-Dist: Pillow>=10.0.0; extra == "openvla"
|
|
302
|
+
Provides-Extra: dev
|
|
303
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
304
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
305
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
306
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
307
|
+
Requires-Dist: mypy>=1.0.0; extra == "dev"
|
|
308
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
309
|
+
Requires-Dist: pydantic>=2.0.0; extra == "dev"
|
|
310
|
+
Requires-Dist: vouch-protocol[fastapi,media,validator,yaml]; extra == "dev"
|
|
311
|
+
Provides-Extra: all
|
|
312
|
+
Requires-Dist: vouch-protocol[a2a,adk,autogen,aws,budgets,crewai,fastapi,gcp,goose,hasura,langchain,langgraph,mcp,mcp-signer,media,media-server,metrics,mlflow,n8n,openai,pacing,reasoning,redis,reputation,reputation-kafka,robotics,safetensors,sidecar,streamlit,tracing,transport,validator,vertex,yaml]; extra == "all"
|
|
313
|
+
Dynamic: license-file
|
|
314
|
+
|
|
315
|
+
# Vouch Protocol™
|
|
316
|
+
|
|
317
|
+
<p align="center">
|
|
318
|
+
<img src="docs/assets/vouch-wordmark.png" alt="Vouch Protocol" width="400">
|
|
319
|
+
</p>
|
|
320
|
+
|
|
321
|
+
<sub><em>Vouch Protocol™ is a common-law trademark.</em></sub>
|
|
322
|
+
|
|
323
|
+
<p align="center"><strong>The Open Standard for Identity & Provenance of AI Agents</strong>
|
|
324
|
+
</p>
|
|
325
|
+
|
|
326
|
+
<p align="center">
|
|
327
|
+
<a href="https://c2pa.org"><img src="https://img.shields.io/badge/C2PA-Member-0891b2?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyek0xMCAMTdsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=" alt="C2PA Member"></a>
|
|
328
|
+
<a href="https://contentauthenticity.org"><img src="https://img.shields.io/badge/CAI-Member-f97316?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xMiAxTDMgNXY2YzAgNS41NSAzLjg0IDEwLjc0IDkgMTIgNS4xNi0xLjI2IDktNi40NSA5LTEyVjVsLTktNHptMCAyLjE4bDcgMy4xMnY1LjdjMCA0LjgzLTMuMjMgOS4zNi03IDEwLjU4VjMuMTh6Ii8+PC9zdmc+" alt="CAI Member"></a>
|
|
329
|
+
<a href="https://identity.foundation"><img src="https://img.shields.io/badge/DIF-Member-6F2DA8?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0tMiAxNWwtNS01IDEuNDEtMS40MUwxMCAxNC4xN2w3LjU5LTcuNTlMMTkgOGwtOSA5eiIvPjwvc3ZnPg==" alt="DIF Member"></a>
|
|
330
|
+
<a href="https://lfaidata.foundation"><img src="https://img.shields.io/badge/Linux_Foundation-Member-333333?style=for-the-badge&logo=linux-foundation&logoColor=white" alt="Linux Foundation Member"></a>
|
|
331
|
+
</p>
|
|
332
|
+
|
|
333
|
+
<p align="center">
|
|
334
|
+
<a href="https://github.com/vouch-protocol/vouch"><img src="https://img.shields.io/badge/Protected_by-Vouch_Protocol-00C853?style=flat&labelColor=333&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBmaWxsPSIjMDBDODUzIiBkPSJNMTIgMjBMMiA0aDRsNiAxMC41TDE4IDRoNEwxMiAyMHoiLz48L3N2Zz4=" alt="Protected by Vouch"></a>
|
|
335
|
+
<a href="https://www.bestpractices.dev/projects/11688"><img src="https://www.bestpractices.dev/projects/11688/badge" alt="OpenSSF Silver"></a>
|
|
336
|
+
<a href="https://codecov.io/gh/vouch-protocol/vouch"><img src="https://codecov.io/gh/vouch-protocol/vouch/branch/main/graph/badge.svg" alt="Code Coverage"></a>
|
|
337
|
+
<a href="https://discord.gg/mMqx5cG9Y"><img src="https://img.shields.io/badge/Discord-Join_Community-7289da?logo=discord&logoColor=white" alt="Discord"></a>
|
|
338
|
+
</p>
|
|
339
|
+
|
|
340
|
+
<p align="center">
|
|
341
|
+
<a href="https://codespaces.new/vouch-protocol/vouch"><img src="https://github.com/codespaces/badge.svg" alt="Open in GitHub Codespaces" height="28"></a>
|
|
342
|
+
</p>
|
|
343
|
+
|
|
344
|
+
<p align="center">
|
|
345
|
+
<a href="https://github.com/vouch-protocol/vouch/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="Apache 2.0 License"></a>
|
|
346
|
+
</p>
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
## Quick Start
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# Install (Linux and macOS). On Windows, use: pip install vouch-protocol
|
|
354
|
+
curl -fsSL https://vouch-protocol.org/install.sh | sh
|
|
355
|
+
|
|
356
|
+
# Run vouch with no arguments and pick what you want to do
|
|
357
|
+
vouch
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
Prefer to do it by hand? It is three commands:
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
pip install vouch-protocol
|
|
364
|
+
|
|
365
|
+
# One command to configure SSH signing + Vouch Protocol branding
|
|
366
|
+
vouch git init
|
|
367
|
+
|
|
368
|
+
# All future commits are now signed. GitHub shows ✅ Verified once the signing key
|
|
369
|
+
# is uploaded to your account (the command does it with the gh CLI when you have
|
|
370
|
+
# it, otherwise it opens the page and shows the key to paste)
|
|
371
|
+
git commit -m "Secure commit"
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
Setting up an agent instead of git signing? `vouch onboard --quick` makes a working identity, a `vouch-policy.json`, a verifier and a heartbeat setup in one command.
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## What Vouch Protocol is
|
|
379
|
+
|
|
380
|
+
> **The Open Standard for AI Agent Identity & Accountability**
|
|
381
|
+
>
|
|
382
|
+
> When Anthropic launched MCP, they solved "how agents call tools."
|
|
383
|
+
> They didn't solve "how we TRUST those agents."
|
|
384
|
+
>
|
|
385
|
+
> **Vouch Protocol is the SSL certificate for AI agents.**
|
|
386
|
+
|
|
387
|
+
Vouch Protocol is not one tool, it is a set of them. Here is the whole map.
|
|
388
|
+
|
|
389
|
+
### On the command line
|
|
390
|
+
- **`vouch init`** makes an agent identity (a DID, an Ed25519 key and a post-quantum key). On its own it makes a did:key, which needs nothing hosted. `--domain` makes a did:web, whose DID document `vouch did-document` prints. `vouch whoami` prints the saved DID.
|
|
391
|
+
- **`vouch sign` / `vouch verify`** sign a payload and verify it.
|
|
392
|
+
- **`vouch policy init` / `vouch policy check`** write a starter `vouch-policy.json` and tell you every problem in one.
|
|
393
|
+
- **`vouch sidecar`** runs the signing sidecar, which holds your agent's key so the model never has it. See [the sidecar](#the-signing-sidecar).
|
|
394
|
+
- **`vouch validator`** runs a heartbeat validator: agents send a signed heartbeat at every interval and get back a short-lived session voucher.
|
|
395
|
+
- **`vouch git`** signs every git commit cryptographically, set up in one command, with a verified badge for your README.
|
|
396
|
+
- **`vouch run`** starts an agent inside a file-access fence on Linux: `vouch run -- python agent.py`. The kernel lets it reach its workspace and the paths you list, and keeps your keys out of its reach. See [Fenced runs](docs/fenced-run.md).
|
|
397
|
+
- **`vouch scan`** finds leaked key material in your code before it ships (a private key in a file, a seed in an env var, a DID document that accidentally carries a private key).
|
|
398
|
+
- **`vouch attribute`** separates who wrote which line. When an AI assistant and a human both edit a file, this records the AI's lines under the AI's own key and your lines under yours, so when a line causes an incident you can prove which of you wrote it. See [the Claude Code integration](vouch/integrations/claude_code/README.md).
|
|
399
|
+
- **`vouch media`** signs images (with C2PA support) and runs the media server (`vouch media serve`).
|
|
400
|
+
|
|
401
|
+
### For your agents
|
|
402
|
+
- **One guard for every receiving side.** `vouch.guard.Guard` decides whether a call may run, and the MCP, FastAPI, Hasura, A2A, OpenAI and plain-function adapters are thin layers over it. It reads one [policy file](#one-policy-file).
|
|
403
|
+
- **MCP signer (`vouch-mcp-signer`)** a Model Context Protocol server so any MCP client (Claude Desktop, Cursor, any agent) can create an identity, sign and verify credentials, scan for leaked keys and decode DIDs, out of the box.
|
|
404
|
+
- **Signing sidecar** keeps signing keys out of the model's context, so a prompt injection cannot read them.
|
|
405
|
+
- **Continuous trust** heartbeats and session vouchers, so trust is a live signal that has to be renewed, not a badge that is issued once and trusted forever.
|
|
406
|
+
- **Authority freshness** a signed authority state with a counter that only goes up, so a state change (a fraud signal, a suspended mandate) collapses the acceptable freshness window to now for a high-consequence action, even when time-decay trust still passes. See [docs/authority-freshness.md](docs/authority-freshness.md).
|
|
407
|
+
|
|
408
|
+
### Framework integrations
|
|
409
|
+
Each framework has an extra of the same name on the one package. Each one issues a credential for a tool call, with optional delegation back to a human principal.
|
|
410
|
+
- **`vouch-protocol[langchain]`** signs each LangChain tool call, sync or async, before the tool runs.
|
|
411
|
+
- **`vouch-protocol[langgraph]`** signs LangGraph tool calls and graph nodes, so a signed trail runs across the whole graph.
|
|
412
|
+
- **`vouch-protocol[crewai]`** a CrewAI tool, with supervisor-to-worker delegation that can only narrow authority, never widen it.
|
|
413
|
+
- **`vouch-protocol[a2a]`** binds an A2A (Agent2Agent) Agent Card to an identity, so two agents can verify each other before they collaborate.
|
|
414
|
+
- **`vouch-protocol[openai]`** signs OpenAI function calls and checks them on the other side.
|
|
415
|
+
- **`vouch-protocol[goose]`** registers the MCP signer as an extension for Block's Goose agent, so a Goose session can sign and verify out of the box.
|
|
416
|
+
- **`vouch-protocol[mlflow]`** signs an MLflow model artifact at registration time, bound to a content digest so any change to the weights breaks the signature.
|
|
417
|
+
- **`vouch-protocol[safetensors]`** embeds a credential in a `.safetensors` header, complementary to OpenSSF Model Signing, so a model carries who produced it.
|
|
418
|
+
|
|
419
|
+
### SDKs, in the language you use
|
|
420
|
+
Python, TypeScript, and Go are the full reference implementations. A Rust core with idiomatic Swift, JVM (Java and Kotlin), .NET, and C wrappers shares one codebase, so every language produces byte-identical output, verified against shared test vectors. A WebAssembly build is included for the browser and the edge.
|
|
421
|
+
|
|
422
|
+
| Language | Where | What it is |
|
|
423
|
+
|---|---|---|
|
|
424
|
+
| Python | `pip install vouch-protocol` | The reference implementation, the command line, the guards, the servers |
|
|
425
|
+
| TypeScript | `@vouch-protocol-official/sdk` | The SDK, the guard engine, robotics, and the sidecar launcher |
|
|
426
|
+
| Go | `go-sidecar/` | The signing sidecar, the signer and robotics packages |
|
|
427
|
+
| Rust | `core/vouch-core` | The canonical crypto and decision code the bindings share |
|
|
428
|
+
| Swift, JVM, .NET, C++, WebAssembly | `sdks/`, `core/wasm` | Wrappers over the Rust core |
|
|
429
|
+
|
|
430
|
+
### Robots and embodied agents
|
|
431
|
+
A robot is an agent with a body, so identity and accountability matter even more once it can cause physical harm. See [Robots](#robots-across-languages) below.
|
|
432
|
+
|
|
433
|
+
### Inside your AI tools
|
|
434
|
+
- **Claude Skill**, **OpenAI Custom GPT**, and **Gemini Gem** packages that teach your AI assistant how to add Vouch Protocol to your code, running on your own AI subscription.
|
|
435
|
+
|
|
436
|
+
### Media and the web
|
|
437
|
+
- **C2PA Content Credentials** for images, with trust anchors you choose. See [C2PA](#c2pa-content-credentials).
|
|
438
|
+
- **Vouch Sonic** an audio watermark that carries provenance through sound.
|
|
439
|
+
- **Browser extension** for Chrome and Edge that signs and verifies content on the page, through the signing sidecar.
|
|
440
|
+
|
|
441
|
+
### For your repositories
|
|
442
|
+
- **Gatekeeper GitHub App** verifies commit signatures on every pull request and blocks leaked keys before they merge.
|
|
443
|
+
|
|
444
|
+
### For the ecosystem
|
|
445
|
+
- **Agent Trust Index** an open benchmark that scans agents in the wild and measures how many can actually prove who they are. (Spoiler: today, almost none.)
|
|
446
|
+
|
|
447
|
+
[Read the spec →](https://github.com/vouch-protocol/vouch/blob/main/docs/vouch_guide.md) | [Join Discord →](https://discord.gg/mMqx5cG9Y)
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
451
|
+
## The Problem
|
|
452
|
+
|
|
453
|
+
AI agents are making real-world API calls with **ZERO cryptographic proof** of:
|
|
454
|
+
- **WHO** they are
|
|
455
|
+
- **WHAT** they intended to do
|
|
456
|
+
- **WHEN** they did it
|
|
457
|
+
|
|
458
|
+
**Examples of the risk:**
|
|
459
|
+
- Healthcare AI accesses patient data → HIPAA violation risk
|
|
460
|
+
- Financial AI makes unauthorized trades → Liability nightmare
|
|
461
|
+
- Customer service AI leaks data → Compliance failure
|
|
462
|
+
|
|
463
|
+
**Current solutions:**
|
|
464
|
+
- **DIY JWT signing** → No agent-specific features, security mistakes easy
|
|
465
|
+
- **Nothing** → Most people just YOLO it and hope for the best
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
469
|
+
## The Solution
|
|
470
|
+
|
|
471
|
+
**Vouch Protocol** provides cryptographic identity for AI agents, modeled after SSL/TLS:
|
|
472
|
+
|
|
473
|
+
- **Verifiable Credentials** (VC Data Model 2.0)
|
|
474
|
+
- **Data Integrity proofs** (`eddsa-jcs-2022` cryptosuite, no JOSE/JWS dependency)
|
|
475
|
+
- **Decentralized Identifiers** (`did:web`, `did:webvh`, `did:key`)
|
|
476
|
+
- **Multikey verification methods** (algorithm-agnostic, post-quantum ready)
|
|
477
|
+
- **Post-quantum profile** (optional proof set: `eddsa-jcs-2022` + `mldsa44-jcs-2024`)
|
|
478
|
+
- **Human-readable JSON** (proof attaches as a sibling object, no Base64-wrapped opaque payload)
|
|
479
|
+
- **Framework-agnostic** (works with MCP, LangChain, CrewAI, AutoGPT, AutoGen, Vertex AI)
|
|
480
|
+
- **Cross-language interop** (Python, TypeScript, Go, byte-identical canonical form)
|
|
481
|
+
- **Open source** (Apache 2.0 license, with a public portfolio of defensive prior-art disclosures)
|
|
482
|
+
|
|
483
|
+
**Think of it as:**
|
|
484
|
+
- SSL certificate = Proves website identity
|
|
485
|
+
- **Vouch Protocol = Proves AI agent identity**
|
|
486
|
+
|
|
487
|
+
---
|
|
488
|
+
|
|
489
|
+
## How It Works
|
|
490
|
+
|
|
491
|
+
### The Workflow
|
|
492
|
+
|
|
493
|
+
```mermaid
|
|
494
|
+
flowchart LR
|
|
495
|
+
P["👤 Principal<br/>did:web:user.example.com"]
|
|
496
|
+
A["🤖 AI Agent<br/>did:web:agent.example.com<br/>+ Signing Sidecar"]
|
|
497
|
+
C["📄 Vouch Protocol credential<br/>VC + Data Integrity<br/>(eddsa-jcs-2022)"]
|
|
498
|
+
API["🔐 API Endpoint<br/>Guard + vouch-policy.json"]
|
|
499
|
+
V{"✅ Allowed"}
|
|
500
|
+
|
|
501
|
+
P -->|"Delegation VC"| A
|
|
502
|
+
A -->|"sign(intent)"| C
|
|
503
|
+
C -->|"Vouch-Credential<br/>header"| API
|
|
504
|
+
API -->|"guard.check()"| V
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
**4 Simple Steps:**
|
|
508
|
+
1. **Generate Identity**: `vouch init` makes an Ed25519 keypair and a DID. A did:key needs nothing hosted. For a did:web, publish a DID Document listing the key (`#key-1` for Ed25519, plus `#key-2` as a Multikey for ML-DSA-44 when you add the post-quantum key).
|
|
509
|
+
2. **Sign Action**: The agent (or its sidecar) issues a Verifiable Credential carrying `action`, `target`, and `resource`, secured by an `eddsa-jcs-2022` Data Integrity proof.
|
|
510
|
+
3. **Send to API**: Send the credential in the `Vouch-Credential` request header (or in the `_meta` of an MCP call).
|
|
511
|
+
4. **Guard**: The API resolves the issuer's DID, validates the proof, checks the time window, that the credential names exactly this call, that the issuer is trusted and that the policy's rules allow it, and marks the credential used so it cannot be replayed.
|
|
512
|
+
|
|
513
|
+
### The Trust Model
|
|
514
|
+
|
|
515
|
+
```mermaid
|
|
516
|
+
flowchart TB
|
|
517
|
+
subgraph IDENTITY["Identity Layer"]
|
|
518
|
+
DID["DID<br/>did:web / did:webvh / did:key"]
|
|
519
|
+
MK["Multikey<br/>algorithm-agnostic key encoding"]
|
|
520
|
+
end
|
|
521
|
+
subgraph FORMAT["Credential Layer"]
|
|
522
|
+
VC["Verifiable Credential<br/>(VC Data Model 2.0)"]
|
|
523
|
+
INTENT["Intent payload<br/>action · target · resource"]
|
|
524
|
+
end
|
|
525
|
+
subgraph CRYPTO["Cryptographic Proof"]
|
|
526
|
+
JCS["JCS canonicalization (RFC 8785)"]
|
|
527
|
+
DEFAULT["eddsa-jcs-2022<br/>(Ed25519, default)"]
|
|
528
|
+
PQ["mldsa44-jcs-2024<br/>(ML-DSA-44, optional second proof)"]
|
|
529
|
+
end
|
|
530
|
+
IDENTITY --> FORMAT
|
|
531
|
+
FORMAT --> CRYPTO
|
|
532
|
+
JCS --> DEFAULT
|
|
533
|
+
JCS --> PQ
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
**Trust = Verifiable Credentials + Data Integrity + Decentralized Identifiers + Multikey, with an optional post-quantum proof set.** The same math that secures SSL/TLS, plus the standardized primitives that secure verifiable credentials elsewhere on the web, applied to AI agents.
|
|
537
|
+
|
|
538
|
+
---
|
|
539
|
+
|
|
540
|
+
## Why Vouch Protocol?
|
|
541
|
+
|
|
542
|
+
### vs. DIY JWT
|
|
543
|
+
|
|
544
|
+
| Feature | Vouch Protocol | DIY JWT |
|
|
545
|
+
|---------|---------------|---------|
|
|
546
|
+
| **Agent-specific** | ✅ (designed for agents) | ❌ (generic) |
|
|
547
|
+
| **MCP integration** | ✅ (native) | ❌ (manual) |
|
|
548
|
+
| **Framework integrations** | ✅ (LangChain, CrewAI, etc.) | ❌ |
|
|
549
|
+
| **Audit trail format** | ✅ (VC standardized) | ❌ (custom) |
|
|
550
|
+
| **standards-aligned** | ✅ (`eddsa-jcs-2022` Data Integrity) | ❌ |
|
|
551
|
+
| **Multikey verification methods** | ✅ (algorithm-agnostic) | ❌ |
|
|
552
|
+
| **Post-quantum signatures** | ✅ (`mldsa44-jcs-2024` proof set) | ❌ |
|
|
553
|
+
| **Cross-implementation interop tests** | ✅ (Python, TypeScript, Go) | ❌ |
|
|
554
|
+
| **Security best practices** | ✅ (built-in) | ⚠️ (easy to mess up) |
|
|
555
|
+
|
|
556
|
+
---
|
|
557
|
+
|
|
558
|
+
## Install
|
|
559
|
+
|
|
560
|
+
One package, with an extra for each thing you want on top:
|
|
561
|
+
|
|
562
|
+
```bash
|
|
563
|
+
pip install vouch-protocol # the core: identity, signing, verifying, guards, heartbeats
|
|
564
|
+
pip install "vouch-protocol[mcp,fastapi]" # more than one extra at once
|
|
565
|
+
pip install "vouch-protocol[all]" # every extra except openvla and dev
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
`import vouch` loads in a few milliseconds and pulls in only the names most programs need. Everything else is at its full module path (`vouch.heartbeat.canary`, `vouch.profiles.robotics`), and loads when you import it.
|
|
569
|
+
|
|
570
|
+
| Extra | Adds |
|
|
571
|
+
|---|---|
|
|
572
|
+
| `mcp`, `fastapi`, `hasura` | The guard for MCP servers, FastAPI and Starlette routes, and the Hasura auth webhook |
|
|
573
|
+
| `mcp-signer` | The MCP signer server (`vouch mcp-signer`, `vouch-mcp-signer`) |
|
|
574
|
+
| `validator` | The heartbeat validator service (`vouch validator`) |
|
|
575
|
+
| `sidecar` | The Python launcher and client for the Go sidecar (no extra packages) |
|
|
576
|
+
| `media`, `media-server` | C2PA and native image signing, and the media server (`vouch media serve`) |
|
|
577
|
+
| `robotics`, `pacing`, `budgets`, `reputation`, `reasoning`, `transport` | The opt-in profiles under `vouch.profiles` |
|
|
578
|
+
| `langchain`, `langgraph`, `crewai`, `autogen`, `openai`, `a2a`, `goose`, `adk`, `vertex`, `n8n`, `mlflow`, `safetensors`, `streamlit` | The framework signers under `vouch.integrations` |
|
|
579
|
+
| `yaml`, `redis`, `metrics`, `tracing`, `aws`, `gcp` | YAML policy files, a shared replay store, Prometheus and OpenTelemetry, and cloud keys |
|
|
580
|
+
|
|
581
|
+
A guard or server that needs an extra you have not installed stops with the exact `pip install "vouch-protocol[<extra>]"` line.
|
|
582
|
+
|
|
583
|
+
---
|
|
584
|
+
|
|
585
|
+
## Sign, verify and guard
|
|
586
|
+
|
|
587
|
+
### 1. Make an identity
|
|
588
|
+
|
|
589
|
+
```bash
|
|
590
|
+
vouch init -y # makes a did:key: nothing to host, anyone can verify it offline
|
|
591
|
+
vouch whoami # prints its DID
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
The identity is saved in `~/.vouch/keys`, and the commands below find it there. For an identity on your own domain, run `vouch init --domain agent.example.org`, then host the file that `vouch did-document --out did.json` writes at `https://agent.example.org/.well-known/did.json`.
|
|
595
|
+
|
|
596
|
+
`vouch init` also writes the identity as a key file in `~/.vouch/keyfiles` and prints its path, so `VOUCH_KEY=<that file>` signs as the same identity on another machine or in a container (an identity locked with a passphrase gets no key file). Older key files convert once with `vouch keys convert <file> --out <new file>`.
|
|
597
|
+
|
|
598
|
+
On a server, name the key with `VOUCH_KEY` instead: a key file, `keyring:<did>`, `kms:aws:<key>` or `kms:gcp:<key version>`, the key itself, or `ephemeral` for a throwaway key while you try things out. `VOUCH_DID` picks the identity when more than one is saved, and `VOUCH_KEY_PASSPHRASE` unlocks an encrypted key file.
|
|
599
|
+
|
|
600
|
+
### 2. Sign an action (agent side)
|
|
601
|
+
|
|
602
|
+
From the command line:
|
|
603
|
+
```bash
|
|
604
|
+
vouch sign '{"action":"read_database","target":"users_table","resource":"https://api.example.org/v1/users"}' --json > credential.json
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
Or from Python, with the identity you just saved:
|
|
608
|
+
```python
|
|
609
|
+
import json
|
|
610
|
+
from vouch.autosign import resolve_signer
|
|
611
|
+
|
|
612
|
+
signer = resolve_signer() # the identity `vouch init` saved, or the one VOUCH_KEY names
|
|
613
|
+
|
|
614
|
+
credential = signer.sign(
|
|
615
|
+
action='read_database',
|
|
616
|
+
target='users_table',
|
|
617
|
+
resource='https://api.example.org/v1/users',
|
|
618
|
+
)
|
|
619
|
+
print(json.dumps(credential)[:80])
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
To sign every tool call an agent makes, with no wiring and nothing for the model to remember:
|
|
623
|
+
```python
|
|
624
|
+
from vouch import sign_tools, current_credential
|
|
625
|
+
|
|
626
|
+
def search(query: str) -> str:
|
|
627
|
+
return "results for " + query
|
|
628
|
+
|
|
629
|
+
tools = sign_tools([search]) # each call is signed before the tool runs
|
|
630
|
+
tools[0]("vouch protocol")
|
|
631
|
+
print(current_credential()["issuer"])
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
### 3. Check it (service side)
|
|
635
|
+
|
|
636
|
+
From the command line:
|
|
637
|
+
```bash
|
|
638
|
+
vouch verify credential.json
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
From Python:
|
|
642
|
+
```python
|
|
643
|
+
import vouch
|
|
644
|
+
|
|
645
|
+
is_valid, passport = vouch.verify(credential)
|
|
646
|
+
# A did:key issuer needs no lookup. A did:web issuer is resolved from its
|
|
647
|
+
# DID document. Pass public_key=... to check against a key you already hold.
|
|
648
|
+
print(is_valid, passport.intent)
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
A verifier accepts each credential once, so that a copied credential cannot be replayed. Verifying the same credential a second time in a demo returns `(False, None)`. To check it again while you experiment, pass `replay_store=False`: `vouch.verify(credential, replay_store=False)`. The `vouch verify` command checks one credential and does not remember it from one run to the next, so it accepts the same credential again. `vouch.verify` remembers each credential it accepted for as long as the process runs, and a guard can share its memory across processes and replicas (`VOUCH_REPLAY_STORE`).
|
|
652
|
+
|
|
653
|
+
### 4. Guard a service with a policy
|
|
654
|
+
|
|
655
|
+
A service that acts on credentials reads one file, `vouch-policy.json`: who may call, how long a credential may live, and what each caller may do.
|
|
656
|
+
|
|
657
|
+
```bash
|
|
658
|
+
vouch policy init # writes a starter vouch-policy.json
|
|
659
|
+
vouch policy check # prints every problem in it, one per line, each with its place in the file
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
A small one, with the DID from `vouch whoami` in place of the placeholder:
|
|
663
|
+
|
|
664
|
+
```json
|
|
665
|
+
{
|
|
666
|
+
"version": 1,
|
|
667
|
+
"target": "payments",
|
|
668
|
+
"trust": { "issuers": ["did:key:z6Mk..."] },
|
|
669
|
+
"rules": [
|
|
670
|
+
{
|
|
671
|
+
"did": "did:key:z6Mk...",
|
|
672
|
+
"allow": [{ "action": "pay", "resource": "invoice/*" }]
|
|
673
|
+
}
|
|
674
|
+
]
|
|
675
|
+
}
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
Then one guard decides every call, and a thin adapter puts it in front of your framework. Each credential must name exactly this call (its action, this service as the target, and the call's resource), come from a trusted issuer, live no longer than the policy allows, and be unused. It is marked used only after every other check passes.
|
|
679
|
+
|
|
680
|
+
```python
|
|
681
|
+
import vouch
|
|
682
|
+
from vouch.guard import Guard, Refused, require
|
|
683
|
+
|
|
684
|
+
guard = Guard(vouch.load_policy()) # ./vouch-policy.json, or the file VOUCH_POLICY names
|
|
685
|
+
|
|
686
|
+
@require(guard, resource=lambda args: args["invoice"])
|
|
687
|
+
def pay(invoice: str) -> str:
|
|
688
|
+
return "paid " + invoice
|
|
689
|
+
|
|
690
|
+
pay("invoice/42", credential=credential_for_this_call) # runs
|
|
691
|
+
```
|
|
692
|
+
|
|
693
|
+
A refusal raises `Refused`, whose `.decision` says why (`credential already used`, `no matching rule`, `untrusted issuer`, and so on), and the function body never runs.
|
|
694
|
+
|
|
695
|
+
Every receiving side has the same shape:
|
|
696
|
+
|
|
697
|
+
```python
|
|
698
|
+
# FastAPI and Starlette routes (pip install "vouch-protocol[fastapi]")
|
|
699
|
+
from typing import Annotated, Any
|
|
700
|
+
from fastapi import Depends, FastAPI
|
|
701
|
+
from vouch.guard.fastapi import RouteGuard
|
|
702
|
+
|
|
703
|
+
app = FastAPI()
|
|
704
|
+
route_guard = RouteGuard(guard)
|
|
705
|
+
|
|
706
|
+
@app.get("/reports")
|
|
707
|
+
async def reports(passport: Annotated[Any, Depends(route_guard(action="read"))]):
|
|
708
|
+
return {"agent": passport.sub}
|
|
709
|
+
# The credential comes in the Vouch-Credential header. Its resource is the request:
|
|
710
|
+
# what vouch.guard.http_resource returns for it (the method and the URL, and for a
|
|
711
|
+
# method with a body, a hash of the body), so the agent signs that same string.
|
|
712
|
+
```
|
|
713
|
+
|
|
714
|
+
```python
|
|
715
|
+
# MCP servers (pip install "vouch-protocol[mcp]"): every tool is guarded by default
|
|
716
|
+
from vouch.guard.mcp import FastMCP
|
|
717
|
+
|
|
718
|
+
mcp = FastMCP("payments") # reads vouch-policy.json, or takes policy= or guard=
|
|
719
|
+
|
|
720
|
+
@mcp.tool(resource=lambda args: args["invoice"])
|
|
721
|
+
def pay_invoice(invoice: str) -> str:
|
|
722
|
+
return "paid " + invoice
|
|
723
|
+
# The credential travels in the call's _meta. A client that cannot set _meta passes it in
|
|
724
|
+
# the tool's `credential` argument instead, as the credential's JSON in a string.
|
|
725
|
+
# Already have a server? vouch.guard.mcp.guard_server(server, guard=guard) guards its tool calls.
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
```python
|
|
729
|
+
# The Hasura auth webhook (pip install "vouch-protocol[hasura]")
|
|
730
|
+
from vouch.guard.hasura import HasuraWebhook
|
|
731
|
+
|
|
732
|
+
webhook = HasuraWebhook(guard, resource="https://hasura.example.com/v1/graphql")
|
|
733
|
+
allowed, session_variables = webhook.authenticate({"Vouch-Credential": credential_json})
|
|
734
|
+
```
|
|
735
|
+
|
|
736
|
+
```python
|
|
737
|
+
# OpenAI tool calls
|
|
738
|
+
from vouch.guard.openai import check_tool_call
|
|
739
|
+
|
|
740
|
+
decision = check_tool_call(guard, tool_call, credential)
|
|
741
|
+
if not decision.allowed:
|
|
742
|
+
print(decision.reason)
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
```python
|
|
746
|
+
# A2A Agent Cards
|
|
747
|
+
from vouch.guard.a2a import check_agent_card
|
|
748
|
+
|
|
749
|
+
decision = check_agent_card(guard, signed_card)
|
|
750
|
+
```
|
|
751
|
+
|
|
752
|
+
For TypeScript, the same engine ships in the SDK (`Guard`, `checkRequest`, `requireGuard`), and `@vouch-protocol-official/mcp-guard` is the thin adapter for MCP servers.
|
|
753
|
+
|
|
754
|
+
### 5. Keep trust live with a heartbeat validator
|
|
755
|
+
|
|
756
|
+
A validator takes a signed heartbeat from an agent at every interval and answers with a short-lived session voucher. It reads the `heartbeat.validator` section of its policy: `agents` lists the agents it accepts, and `requireAudience` (on by default) means a heartbeat must name this validator. Put your agent's DID from `vouch whoami` in `validator-policy.json`:
|
|
757
|
+
|
|
758
|
+
```json
|
|
759
|
+
{
|
|
760
|
+
"version": 1,
|
|
761
|
+
"heartbeat": {
|
|
762
|
+
"validator": {
|
|
763
|
+
"agents": ["did:key:z6Mk..."],
|
|
764
|
+
"requireAudience": true
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
```bash
|
|
771
|
+
pip install "vouch-protocol[validator]"
|
|
772
|
+
vouch validator --dev --did did:web:localhost --policy validator-policy.json # a local trial on 127.0.0.1:8088
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
The agent sends its heartbeat over HTTP:
|
|
776
|
+
|
|
777
|
+
```python
|
|
778
|
+
import httpx
|
|
779
|
+
from vouch.autosign import resolve_signer
|
|
780
|
+
from vouch.heartbeat.session import HeartbeatSession
|
|
781
|
+
|
|
782
|
+
agent = resolve_signer() # the identity `vouch init` saved
|
|
783
|
+
session = HeartbeatSession(
|
|
784
|
+
subject_did=agent.did,
|
|
785
|
+
signer=agent,
|
|
786
|
+
audience="did:web:localhost", # the validator's DID: GET /healthz names it
|
|
787
|
+
)
|
|
788
|
+
beat = session.build_request()
|
|
789
|
+
answer = httpx.post("http://127.0.0.1:8088/heartbeat", json=beat.to_dict())
|
|
790
|
+
print(answer.status_code, answer.json()["ok"]) # 200 True, with a signed session voucher
|
|
791
|
+
```
|
|
792
|
+
|
|
793
|
+
`vouch.heartbeat.scheduler.HeartbeatScheduler` sends one at every interval and resends when a send fails.
|
|
794
|
+
|
|
795
|
+
---
|
|
796
|
+
|
|
797
|
+
## One policy file
|
|
798
|
+
|
|
799
|
+
`vouch-policy.json` is the one place a guard, the MCP signer, the validator and the sidecar read their settings. Each section is optional, and each component checks that the sections it needs are there.
|
|
800
|
+
|
|
801
|
+
| Section | What it holds |
|
|
802
|
+
|---|---|
|
|
803
|
+
| `target` | The service name a credential must carry |
|
|
804
|
+
| `trust` | Who may call: `issuers`, pinned `keys`, delegation `roots`, `acceptDelegates` |
|
|
805
|
+
| `credential` | How long a credential may live (`maxLifetime`, 1 hour by default), its size, clock skew, post-quantum requirement |
|
|
806
|
+
| `checks` | Revocation, delegation chains, and whether a resource is required |
|
|
807
|
+
| `rules` | What each caller (a DID, or `"*"`) may do: action, target and resource patterns, with an optional consequence tier |
|
|
808
|
+
| `freshness` | How live trust must be per tier: a session voucher, a trust threshold, authority freshness |
|
|
809
|
+
| `network` | The replay store, the hosts and origins a server answers, and DID resolution |
|
|
810
|
+
| `heartbeat` | The validators a guard trusts, and the validator's own settings |
|
|
811
|
+
| `signing` | What the signers will sign: default and maximum validity, the post-quantum proof, consent |
|
|
812
|
+
|
|
813
|
+
A policy that does not load stops the component, and it prints every problem, one per line, with the file and the place in it. A JSON Schema ships in the package and at `schemas/vouch-policy-1.json`. JSON is read everywhere. YAML is read too in Python and TypeScript (`pip install "vouch-protocol[yaml]"`).
|
|
814
|
+
|
|
815
|
+
The environment names only the things a file should not hold:
|
|
816
|
+
|
|
817
|
+
| Setting | Meaning |
|
|
818
|
+
|---|---|
|
|
819
|
+
| `VOUCH_POLICY` | The policy file |
|
|
820
|
+
| `VOUCH_KEY`, `VOUCH_KEY_PASSPHRASE`, `VOUCH_DID` | The signing key, its passphrase and which identity to use |
|
|
821
|
+
| `VOUCH_DIR` | Vouch Protocol's own folder (default `~/.vouch`) |
|
|
822
|
+
| `VOUCH_REPLAY_STORE` | A shared store for used credentials, such as `redis://...` |
|
|
823
|
+
| `VOUCH_SIDECAR_HOST`, `VOUCH_SIDECAR_PORT`, `VOUCH_SIDECAR_TOKEN` | The sidecar's address and the token its callers send |
|
|
824
|
+
| `VOUCH_MCP_TRANSPORT`, `VOUCH_MCP_HOST`, `VOUCH_MCP_PORT` | The MCP signer server's transport and address |
|
|
825
|
+
| `VOUCH_VALIDATOR_HOST`, `VOUCH_VALIDATOR_PORT`, `VOUCH_VALIDATOR_REVOKE_TOKEN`, `VOUCH_VALIDATOR_DATA_DIR` | The validator's address, its `/revoke` credential and its data folder |
|
|
826
|
+
| `VOUCH_MEDIA_HOST`, `VOUCH_MEDIA_PORT`, `VOUCH_MEDIA_TOKEN` | The media server's address and token |
|
|
827
|
+
|
|
828
|
+
The command-line tools also keep a personal policy in `$VOUCH_DIR/policy.json`. `vouch trust <did or domain>` adds a delegation starting point to it, and only the command-line tools read it. A guard or library verifier never reads anything it was not handed.
|
|
829
|
+
|
|
830
|
+
---
|
|
831
|
+
|
|
832
|
+
## Heartbeats and session chains
|
|
833
|
+
|
|
834
|
+
A credential says who an agent was when it signed. A heartbeat says it is still there. The agent sends a small signed heartbeat at every interval. A validator checks its signature, its place in the sequence and a chain of commit-and-reveal canary values, and answers with a short-lived session voucher. Trust decays with time and is renewed only by a live, in-order agent.
|
|
835
|
+
|
|
836
|
+
```python
|
|
837
|
+
import base64
|
|
838
|
+
import json
|
|
839
|
+
from datetime import datetime, timezone
|
|
840
|
+
|
|
841
|
+
import vouch
|
|
842
|
+
from vouch.autosign import resolve_signer
|
|
843
|
+
from vouch.credential import sign_session_voucher
|
|
844
|
+
from vouch.crypto import multikey
|
|
845
|
+
from vouch.heartbeat.lineage import AgentLineageStore
|
|
846
|
+
from vouch.heartbeat.session import HeartbeatSession
|
|
847
|
+
from vouch.heartbeat.trust import compute_trust_at
|
|
848
|
+
from vouch.heartbeat.validator import HeartbeatValidator
|
|
849
|
+
|
|
850
|
+
agent = resolve_signer()
|
|
851
|
+
|
|
852
|
+
# A validator is an identity of its own. For a local trial, make a throwaway did:key.
|
|
853
|
+
keys = vouch.generate_identity()
|
|
854
|
+
raw = base64.urlsafe_b64decode(json.loads(keys.public_key_jwk)["x"] + "==")
|
|
855
|
+
validator_signer = vouch.Signer(
|
|
856
|
+
private_key=keys.private_key_jwk, did="did:key:" + multikey.encode_ed25519_public(raw)
|
|
857
|
+
)
|
|
858
|
+
validator = HeartbeatValidator(
|
|
859
|
+
validator_did=validator_signer.did, interval_seconds=60, max_missed_intervals=2
|
|
860
|
+
)
|
|
861
|
+
|
|
862
|
+
# The agent keeps its session chain on disk, so a restart continues where it left off.
|
|
863
|
+
session = HeartbeatSession(
|
|
864
|
+
subject_did=agent.did, signer=agent, lineage_store=AgentLineageStore(agent.did)
|
|
865
|
+
)
|
|
866
|
+
|
|
867
|
+
now = datetime.now(timezone.utc)
|
|
868
|
+
session.record_action(b"read:calendar") # what the agent did since the last beat
|
|
869
|
+
beat = session.build_request(now=now)
|
|
870
|
+
result = validator.validate(beat.to_dict())
|
|
871
|
+
voucher = sign_session_voucher(result.session_voucher, validator_signer)
|
|
872
|
+
print(result.ok, round(compute_trust_at(voucher, now), 2))
|
|
873
|
+
```
|
|
874
|
+
|
|
875
|
+
In production the agent sends `beat.to_dict()` to a validator over HTTPS (`HeartbeatScheduler` calls your send function at every interval, resends a lost heartbeat and keeps the latest voucher), and the validator is `vouch validator --policy vouch-policy.json` (`pip install "vouch-protocol[validator]"`). It reads what it accepts from `heartbeat.validator` in the policy. For a local trial, set `"heartbeat": {"validator": {"acceptAnyDidKey": true}}` and run `vouch validator --policy vouch-policy.json --dev --did did:web:localhost`. A guard that wants a live session for a consequence tier names its validators and the tier in the same file:
|
|
876
|
+
|
|
877
|
+
```json
|
|
878
|
+
{
|
|
879
|
+
"heartbeat": { "trustedValidators": ["did:web:validator.example.com"] },
|
|
880
|
+
"freshness": { "tiers": { "sensitive": { "requireSession": true, "trustThreshold": 0.8 } } }
|
|
881
|
+
}
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
Each new session names the one it follows, so a validator holds a chain per agent. Two sessions that follow the same session prove that a key was copied, and the validator freezes that key and shows a proof anyone can check. `vouch init` starts the chain at `genesis` when it makes an identity, `AgentLineageStore` keeps it on disk, and `session.start_new_session()` continues it. Running copies of one agent use replica identities, so each has its own chain under one grant.
|
|
885
|
+
|
|
886
|
+
---
|
|
887
|
+
|
|
888
|
+
## The signing sidecar
|
|
889
|
+
|
|
890
|
+
The sidecar is one Go program. It holds the agent's key and signs what the agent is about to do, so a prompt-injected model has no key to leak. The agent asks it over HTTP on localhost, and the sidecar signs only what the policy's `rules` allow for its own DID.
|
|
891
|
+
|
|
892
|
+
```bash
|
|
893
|
+
vouch policy init # then add rules for the DID from `vouch whoami`
|
|
894
|
+
vouch sidecar --policy vouch-policy.json # listens on 127.0.0.1:8877
|
|
895
|
+
```
|
|
896
|
+
|
|
897
|
+
`vouch sidecar` finds the Go binary and starts it with the flags you gave. The TypeScript SDK ships the same launcher (`vouch-sidecar-ts`). To get the binary:
|
|
898
|
+
|
|
899
|
+
```bash
|
|
900
|
+
go install github.com/vouch-protocol/vouch/go-sidecar/cmd/vouch-sidecar@latest
|
|
901
|
+
docker run ghcr.io/vouch-protocol/sidecar:latest # or the container image
|
|
902
|
+
```
|
|
903
|
+
|
|
904
|
+
The sidecar will not start without a policy file. The policy's `signing` section sets the validity window, the post-quantum proof and consent, and its `network` section sets the browser origins and host names it answers. `--key` (or `VOUCH_KEY`) picks the key (a key file, `keyring:<did>`, `kms:aws:<key>`, `kms:gcp:<key version>`, or `ephemeral`), and `VOUCH_SIDECAR_TOKEN` is the bearer token callers send.
|
|
905
|
+
|
|
906
|
+
From Python:
|
|
907
|
+
|
|
908
|
+
```python
|
|
909
|
+
import vouch
|
|
910
|
+
from vouch.servers.sidecar import SidecarClient
|
|
911
|
+
|
|
912
|
+
sidecar = SidecarClient() # http://127.0.0.1:8877
|
|
913
|
+
credential = sidecar.sign({"action": "transfer", "target": "payments", "resource": "invoice/42"})
|
|
914
|
+
print(vouch.verify(credential, replay_store=False)[0])
|
|
915
|
+
```
|
|
916
|
+
|
|
917
|
+
An agent that holds a grant from a person or another agent passes it as `parent_credential`. The sidecar builds the delegation links itself and refuses anything outside the grant. The browser extension signs page content through the same sidecar, asking the person first when `signing.consent` says so.
|
|
918
|
+
|
|
919
|
+
---
|
|
920
|
+
|
|
921
|
+
## Robots across languages
|
|
922
|
+
|
|
923
|
+
A robot is an agent with a body. The robotics profile ships capabilities on the same `eddsa-jcs-2022` credentials as the rest of Vouch Protocol: hardware-rooted identity, model and config provenance, physical capability scopes, robot-to-robot trust handshakes, a black box and kill switch, perception provenance, and more, with disconnected-edge support for robots that cannot reach the network. A robot credential signed in any language verifies in every other, pinned by the shared vectors in `test-vectors/robotics/`.
|
|
924
|
+
|
|
925
|
+
| Language | Where |
|
|
926
|
+
|---|---|
|
|
927
|
+
| Python | `vouch.profiles.robotics` (`pip install "vouch-protocol[robotics]"`) |
|
|
928
|
+
| TypeScript | `packages/sdk-ts/src/robotics` |
|
|
929
|
+
| Go | `go-sidecar/robotics` |
|
|
930
|
+
| Rust, and through it Swift, JVM, .NET, C++, WebAssembly | `core/vouch-core` (`robotics`), wrapped in `sdks/` and `core/wasm` |
|
|
931
|
+
|
|
932
|
+
```python
|
|
933
|
+
from vouch.autosign import resolve_signer
|
|
934
|
+
from vouch.profiles.robotics import PhysicalAction, build_physical_scope_credential, check_physical_action
|
|
935
|
+
|
|
936
|
+
operator = resolve_signer()
|
|
937
|
+
|
|
938
|
+
credential = build_physical_scope_credential(
|
|
939
|
+
operator,
|
|
940
|
+
subject_did="did:web:robot-7.example.com",
|
|
941
|
+
max_force_n=100,
|
|
942
|
+
max_speed_mps=2.0,
|
|
943
|
+
max_speed_near_humans_mps=0.5,
|
|
944
|
+
allowed_zones=["zone-A"],
|
|
945
|
+
shift_windows=[{"start": "08:00", "end": "18:00"}],
|
|
946
|
+
)
|
|
947
|
+
scope = credential["credentialSubject"]["physicalScope"]
|
|
948
|
+
|
|
949
|
+
near_a_person = PhysicalAction(force_n=50, speed_mps=1.5, near_humans=True, zone="zone-A", time_hm="10:00")
|
|
950
|
+
print(check_physical_action(scope, near_a_person).reasons) # ['near_humans speed_exceeded: 1.5 m/s > 0.5 m/s']
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
A robotics verifier trusts a did:key issuer only when you tell it which key or issuer to trust: pass the key, name the issuer in the verifier's trusted set, or pin the subject of a self-attestation. A handshake trust policy that names a domain trusts that domain only; name the path to trust a DID under it. See [docs/robotics.md](docs/robotics.md) and the [ROS 2 package](integrations/ros2/README.md).
|
|
954
|
+
|
|
955
|
+
---
|
|
956
|
+
|
|
957
|
+
## C2PA Content Credentials
|
|
958
|
+
|
|
959
|
+
`vouch media sign --c2pa` signs an image with a C2PA manifest that also carries the signer's Vouch Protocol identity. Verification trusts only the certificate authorities you give it:
|
|
960
|
+
|
|
961
|
+
```bash
|
|
962
|
+
pip install "vouch-protocol[media]"
|
|
963
|
+
|
|
964
|
+
# Sign with a throwaway test certificate (development only) and keep its CA
|
|
965
|
+
vouch media sign photo.jpg --c2pa --save-test-ca test-ca.pem -o photo_signed.jpg -n "Demo Signer"
|
|
966
|
+
|
|
967
|
+
vouch media verify photo_signed.jpg --c2pa # refused: the certificate chains to no trusted CA
|
|
968
|
+
vouch media verify photo_signed.jpg --c2pa --trust-anchors test-ca.pem # trusted
|
|
969
|
+
```
|
|
970
|
+
|
|
971
|
+
In Python:
|
|
972
|
+
|
|
973
|
+
```python
|
|
974
|
+
from vouch.profiles.media.c2pa import MediaVerifier
|
|
975
|
+
|
|
976
|
+
verifier = MediaVerifier(trust_anchors=open("test-ca.pem").read())
|
|
977
|
+
result = verifier.verify_image("photo_signed.jpg")
|
|
978
|
+
print(result.is_valid, result.signer_identity.display_name)
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
Nothing is trusted by default. To check manifests from real cameras and editing tools, pass the PEM file of the C2PA trust list as `trust_anchors`. The DID in the manifest counts as the signer only when a credential issued by that DID ties it to this file. A file whose manifest is stored somewhere else is refused, and nothing is fetched. For production signing, use a certificate from a CA on the C2PA trust list and run the media server (`vouch media serve`, `pip install "vouch-protocol[media-server]"`). See [examples/c2pa](examples/c2pa/README.md).
|
|
982
|
+
|
|
983
|
+
---
|
|
984
|
+
|
|
985
|
+
## Integrations
|
|
986
|
+
|
|
987
|
+
Works with all major AI frameworks out-of-the-box:
|
|
988
|
+
|
|
989
|
+
- **Model Context Protocol (MCP)**: a signer for Claude Desktop and Cursor, and a guard for MCP servers
|
|
990
|
+
- **LangChain**: sign tool calls automatically
|
|
991
|
+
- **CrewAI**: multi-agent identity management
|
|
992
|
+
- **AutoGPT**: autonomous agent signing
|
|
993
|
+
- **AutoGen**: Microsoft multi-agent framework
|
|
994
|
+
- **Google Vertex AI**: sign function calls
|
|
995
|
+
- **Google ADK**: native ADK tool integration
|
|
996
|
+
- **n8n**: low-code agent workflows
|
|
997
|
+
|
|
998
|
+
[See all integrations →](https://github.com/vouch-protocol/vouch/tree/main/vouch/integrations)
|
|
999
|
+
|
|
1000
|
+
---
|
|
1001
|
+
|
|
1002
|
+
## Enterprise Features
|
|
1003
|
+
|
|
1004
|
+
- **Key Rotation**: automatic rotating keys for production
|
|
1005
|
+
- **Voice AI Signing**: sign audio frames in real-time
|
|
1006
|
+
- **Cloud keys**: Ed25519 keys in AWS KMS and Google Cloud KMS sign credentials, and the private key never leaves the service (`VOUCH_KEY=kms:aws:<key>` or `kms:gcp:<key version>`, for the sidecar and the Python signer). Azure Key Vault does not offer Ed25519 keys
|
|
1007
|
+
- **Heartbeat validator service**: `vouch validator` runs a heartbeat validator that renews agent sessions, with a container image and a Kubernetes manifest
|
|
1008
|
+
- **Reputation Scoring**: track agent behavior over time
|
|
1009
|
+
- **Revocation Registry**: revoke a single credential with a status list, or a whole DID with the registry
|
|
1010
|
+
- **Redis Caching**: production-scale verification, and one replay store shared by every replica (`VOUCH_REPLAY_STORE=redis://...`)
|
|
1011
|
+
- **Post-Quantum Profile**: an optional proof set carrying an `eddsa-jcs-2022` proof and an `mldsa44-jcs-2024` proof for regulated deployments aligning with NIST CNSA 2.0 / NSM-10 migration timelines
|
|
1012
|
+
|
|
1013
|
+
### Post-Quantum Example
|
|
1014
|
+
|
|
1015
|
+
```python
|
|
1016
|
+
# Optional profile, bundled with `pip install vouch-protocol`
|
|
1017
|
+
credential = signer.sign_hybrid(
|
|
1018
|
+
action='submit_clinical_finding',
|
|
1019
|
+
target='trial:NCT00000001',
|
|
1020
|
+
resource='https://fda-submissions.example.com/api/findings',
|
|
1021
|
+
)
|
|
1022
|
+
# The credential's `proof` is an array of two independent Data Integrity proofs,
|
|
1023
|
+
# eddsa-jcs-2022 and mldsa44-jcs-2024, over the same document.
|
|
1024
|
+
# Verification REQUIRES both to validate.
|
|
1025
|
+
|
|
1026
|
+
# A did:key carries only the Ed25519 key, so hand the verifier the ML-DSA-44
|
|
1027
|
+
# key too. A did:web DID lists it in its DID document instead
|
|
1028
|
+
# (`vouch did-document --post-quantum`).
|
|
1029
|
+
ok, passport = vouch.verify(credential, mldsa44_public_key=signer.public_key_mldsa44())
|
|
1030
|
+
```
|
|
1031
|
+
|
|
1032
|
+
---
|
|
1033
|
+
|
|
1034
|
+
## What changed in 4.0
|
|
1035
|
+
|
|
1036
|
+
Release 4.0 is a simplification. The same protocol, with fewer ways to do each thing:
|
|
1037
|
+
|
|
1038
|
+
- One guard engine (`vouch.guard.Guard`) behind every receiving side, instead of one per framework.
|
|
1039
|
+
- One policy file (`vouch-policy.json`) instead of a pile of environment variables and rule files.
|
|
1040
|
+
- One signing sidecar (the Go program), and one key variable (`VOUCH_KEY`).
|
|
1041
|
+
- One package with extras. `import vouch` gives 42 names, and everything else is at its full module path.
|
|
1042
|
+
|
|
1043
|
+
The [CHANGELOG](CHANGELOG.md) has the full list and an "Upgrading to 4.0" guide that maps every removed name to its replacement.
|
|
1044
|
+
|
|
1045
|
+
---
|
|
1046
|
+
|
|
1047
|
+
## Use cases
|
|
1048
|
+
|
|
1049
|
+
- **Financial services.** A signed, accountable record of every trade or transfer an agent makes.
|
|
1050
|
+
- **Healthcare.** An auditable trail for every access to patient data.
|
|
1051
|
+
- **Customer service.** Proof of which agent touched which customer record, and on whose authority.
|
|
1052
|
+
- **Agent to agent.** When one organization's agent calls another's, each can verify the other before acting.
|
|
1053
|
+
|
|
1054
|
+
[See full examples →](https://github.com/vouch-protocol/vouch/tree/main/examples)
|
|
1055
|
+
|
|
1056
|
+
---
|
|
1057
|
+
|
|
1058
|
+
## Documentation
|
|
1059
|
+
|
|
1060
|
+
- [Quick Start](https://github.com/vouch-protocol/vouch#quick-start)
|
|
1061
|
+
- [Vouch Specification (v1.6 normative)](https://vouch-protocol.com/specs/)
|
|
1062
|
+
- [Post-Quantum Implementation Guide](https://github.com/vouch-protocol/vouch/blob/main/docs/hybrid-pq-implementation-guide.md)
|
|
1063
|
+
- [Protocol Specification (developer guide)](https://github.com/vouch-protocol/vouch/blob/main/docs/vouch_guide.md)
|
|
1064
|
+
- [Integration Guides](https://github.com/vouch-protocol/vouch/tree/main/vouch/integrations)
|
|
1065
|
+
- [Threat Model and Security Considerations](https://github.com/vouch-protocol/vouch/blob/main/docs/THREAT_MODEL.md)
|
|
1066
|
+
- [Defensive Prior Art Disclosures (more than 130 PADs)](https://github.com/vouch-protocol/vouch/tree/main/docs/disclosures)
|
|
1067
|
+
- [FAQ and Discussions](https://github.com/vouch-protocol/vouch/discussions)
|
|
1068
|
+
|
|
1069
|
+
---
|
|
1070
|
+
|
|
1071
|
+
## Community
|
|
1072
|
+
|
|
1073
|
+
- **Discord** - Ask questions, share use cases → [Join now](https://discord.gg/mMqx5cG9Y)
|
|
1074
|
+
- **GitHub Discussions** - Technical discussions → [Start a discussion](https://github.com/vouch-protocol/vouch/discussions)
|
|
1075
|
+
- **Twitter/X** - Updates and announcements → [@Vouch_Protocol](https://x.com/Vouch_Protocol)
|
|
1076
|
+
|
|
1077
|
+
---
|
|
1078
|
+
|
|
1079
|
+
## Roadmap
|
|
1080
|
+
|
|
1081
|
+
### v1.6 (current release)
|
|
1082
|
+
|
|
1083
|
+
- [x] **Verifiable Credentials + Data Integrity** (`eddsa-jcs-2022` cryptosuite)
|
|
1084
|
+
- [x] **Multikey verification methods** (algorithm-agnostic, multibase + multicodec)
|
|
1085
|
+
- [x] **Post-quantum profile** (`eddsa-jcs-2022` + `mldsa44-jcs-2024` proof set, NIST CNSA 2.0 / NSM-10 aligned)
|
|
1086
|
+
- [x] **Three-language reference implementation** (Python, TypeScript, Go) with byte-identical canonical form via RFC 8785 JCS, verified against shared test vectors
|
|
1087
|
+
- [x] **Specification drafted** and submitted to the open standards group for incubation
|
|
1088
|
+
- [x] **More than 130 Prior Art Disclosures** (defensive publications)
|
|
1089
|
+
- [x] Identity Sidecar architecture (LLM-isolated keys)
|
|
1090
|
+
- [x] Heartbeat Protocol with adaptive Trust Entropy
|
|
1091
|
+
- [x] Resource-bound delegation chains with capability narrowing
|
|
1092
|
+
- [x] MCP integration (Claude Desktop, Cursor)
|
|
1093
|
+
- [x] Framework adapters (LangChain, CrewAI, AutoGPT, AutoGen, Vertex AI, Google ADK, n8n)
|
|
1094
|
+
- [x] C2PA Content Credentials integration
|
|
1095
|
+
- [x] Audio watermarking (Vouch Sonic, sub-band steganography)
|
|
1096
|
+
- [x] DID-linked voice biometric enrollment
|
|
1097
|
+
- [x] Browser extension (Chrome / Edge content signing)
|
|
1098
|
+
- [x] GitHub App and Cloudflare Workers verification gateway
|
|
1099
|
+
|
|
1100
|
+
### Next (v1.7 and beyond)
|
|
1101
|
+
|
|
1102
|
+
- [ ] Independent third-party cryptographic security audit (Trail of Bits / NCC Group / Cure53)
|
|
1103
|
+
- [ ] Specification stabilization and external review
|
|
1104
|
+
- [ ] Algorithm Quorum verification (M-of-N cryptosuite diversity, per PAD-046)
|
|
1105
|
+
- [ ] Verifiable Delay Function rate-limiting for high-stakes agent actions (per PAD-047)
|
|
1106
|
+
- [ ] Cryptographic Weight Binding for model-intrinsic AI identity (per PAD-043)
|
|
1107
|
+
- [ ] Ephemeral ZK-State Channels for high-frequency agent-to-agent negotiation (per PAD-044)
|
|
1108
|
+
- [ ] Retrieval-anchored proof of non-hallucination (per PAD-045)
|
|
1109
|
+
- [ ] Standardized agent ledger metadata schema (per PAD-042)
|
|
1110
|
+
- [ ] Edge-first WASM + ONNX client-side processing
|
|
1111
|
+
- [ ] Hardware key support (YubiKey, TPM, Secure Enclave)
|
|
1112
|
+
- [ ] Native Rust implementation for edge and embedded deployments
|
|
1113
|
+
|
|
1114
|
+
[View full roadmap and issue tracker →](https://github.com/vouch-protocol/vouch/issues)
|
|
1115
|
+
|
|
1116
|
+
---
|
|
1117
|
+
|
|
1118
|
+
## License
|
|
1119
|
+
|
|
1120
|
+
**Apache License 2.0**: See [LICENSE](https://github.com/vouch-protocol/vouch/blob/main/LICENSE)
|
|
1121
|
+
|
|
1122
|
+
You can use this freely in commercial and open-source projects.
|
|
1123
|
+
|
|
1124
|
+
The defensive prior-art disclosures in `docs/disclosures` are published to keep these methods free from patent capture. They are dedicated to the public domain under **CC0 1.0 Universal**, so anyone may copy, quote and build on them without asking.
|
|
1125
|
+
|
|
1126
|
+
*The Vouch Protocol specification is being developed as a open standard submission via the open standards group. The implementation is also being proposed to the Linux Foundation's AI & Data Foundation.*
|
|
1127
|
+
|
|
1128
|
+
---
|
|
1129
|
+
|
|
1130
|
+
## Acknowledgments
|
|
1131
|
+
|
|
1132
|
+
Inspired by:
|
|
1133
|
+
- **SSL/TLS** (the gold standard for identity)
|
|
1134
|
+
- **OAuth 2.0** (federated identity done right)
|
|
1135
|
+
- **Verifiable Credentials** (the future of digital identity)
|
|
1136
|
+
|
|
1137
|
+
Built by [Ramprasad Gaddam](https://www.linkedin.com/in/rampy) ([Twitter/X](https://x.com/rampyg))
|
|
1138
|
+
|
|
1139
|
+
---
|
|
1140
|
+
|
|
1141
|
+
## Contributing
|
|
1142
|
+
|
|
1143
|
+
Contributions welcome. See [CONTRIBUTING.md](https://github.com/vouch-protocol/vouch/blob/main/CONTRIBUTING.md). Looking for a place to start? Browse our [good first issues](https://github.com/vouch-protocol/vouch/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), and open a ready-made dev environment with one click using the [Open in GitHub Codespaces](https://codespaces.new/vouch-protocol/vouch) badge above.
|
|
1144
|
+
|
|
1145
|
+
**Areas where help is most useful:**
|
|
1146
|
+
- [ ] Additional framework integrations (Haystack, Semantic Kernel, LlamaIndex, others)
|
|
1147
|
+
- [ ] Cross-implementation interop test vectors (additional edge cases for JCS, VC, post-quantum proof sets)
|
|
1148
|
+
- [ ] Tutorials and worked examples for regulated-sector deployments
|
|
1149
|
+
- [ ] Independent security review and audit
|
|
1150
|
+
- [ ] Wrappers for more languages (Ruby, PHP, Dart, others)
|
|
1151
|
+
|
|
1152
|
+
## Contributors
|
|
1153
|
+
|
|
1154
|
+
Thanks goes to these wonderful people. This section is maintained automatically by the [all-contributors](https://allcontributors.org/) bot.
|
|
1155
|
+
|
|
1156
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
1157
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
1158
|
+
|
|
1159
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
1160
|
+
<!-- prettier-ignore-start -->
|
|
1161
|
+
<!-- markdownlint-disable -->
|
|
1162
|
+
<!-- markdownlint-restore -->
|
|
1163
|
+
<!-- prettier-ignore-end -->
|
|
1164
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
1165
|
+
|
|
1166
|
+
---
|
|
1167
|
+
|
|
1168
|
+
**Star this repo if you find it useful.**
|
|
1169
|
+
|
|
1170
|
+
[Star on GitHub](https://github.com/vouch-protocol/vouch) | [Join Discord](https://discord.gg/mMqx5cG9Y) | [Follow on X](https://x.com/Vouch_Protocol)
|
|
1171
|
+
|
|
1172
|
+
---
|
|
1173
|
+
|
|
1174
|
+
## Prior Art Disclosures
|
|
1175
|
+
|
|
1176
|
+
To ensure ecosystem freedom, we publish **more than 130 defensive prior art disclosures** covering novel methods across cryptographic identity, media provenance, voice biometrics, AI safety, post-quantum cryptography, AI coding assistant governance, and content authenticity. The first 55 are listed below. The full list is in [docs/disclosures](docs/disclosures/README.md):
|
|
1177
|
+
|
|
1178
|
+
| ID | Title | Category |
|
|
1179
|
+
|----|-------|----------|
|
|
1180
|
+
| [PAD-001](docs/disclosures/PAD-001-cryptographic-agent-identity.md) | Cryptographic Agent Identity | Identity |
|
|
1181
|
+
| [PAD-002](docs/disclosures/PAD-002-chain-of-custody.md) | Chain of Custody Delegation | Identity |
|
|
1182
|
+
| [PAD-003](docs/disclosures/PAD-003-identity-sidecar.md) | Identity Sidecar Pattern | Architecture |
|
|
1183
|
+
| [PAD-004](docs/disclosures/PAD-004-smart-scan-verification.md) | DOM-Traversing Signature Matching | Verification |
|
|
1184
|
+
| [PAD-005](docs/disclosures/PAD-005-reverse-lookup-registry.md) | Detached Signature Recovery | Verification |
|
|
1185
|
+
| [PAD-006](docs/disclosures/PAD-006-trust-graph-url-chaining.md) | URL-Based Credential Chaining | Trust |
|
|
1186
|
+
| [PAD-007](docs/disclosures/PAD-007-ghost-signature-telemetry.md) | Automated Provenance via Input Telemetry | Provenance |
|
|
1187
|
+
| [PAD-008](docs/disclosures/PAD-008-hybrid-ssh-verification.md) | Hybrid Identity Bootstrapping | Identity |
|
|
1188
|
+
| [PAD-009](docs/disclosures/PAD-009-localhost-identity-bridge.md) | Unified Local Identity via Localhost Bridge | Architecture |
|
|
1189
|
+
| [PAD-010](docs/disclosures/PAD-010-semantic-consent-signing.md) | Context-Adaptive Semantic Consent | Privacy |
|
|
1190
|
+
| [PAD-011](docs/disclosures/PAD-011-hierarchical-discovery-protocol.md) | Hierarchical Discovery Protocol | Discovery |
|
|
1191
|
+
| [PAD-012](docs/disclosures/PAD-012-vouch-covenant.md) | Executable Usage Covenants in Media Manifests | Media / Rights |
|
|
1192
|
+
| [PAD-013](docs/disclosures/PAD-013-vouch-airgap.md) | Air-Gapped Identity via Psychoacoustic Steganography | Audio |
|
|
1193
|
+
| [PAD-014](docs/disclosures/PAD-014-vouch-sonic.md) | Robust Acoustic Provenance via Steganography | Audio |
|
|
1194
|
+
| [PAD-015](docs/disclosures/PAD-015-ambient-witness-protocol.md) | Ambient Witness Protocol (BLE Crowdsourcing) | IoT / Provenance |
|
|
1195
|
+
| [PAD-016](docs/disclosures/PAD-016-dynamic-credential-renewal.md) | Dynamic Credential Renewal ("Heartbeat Protocol") | Identity |
|
|
1196
|
+
| [PAD-017](docs/disclosures/PAD-017-cryptographic-proof-of-reasoning.md) | Cryptographic Proof of Reasoning | AI Safety |
|
|
1197
|
+
| [PAD-018](docs/disclosures/PAD-018-model-lineage-provenance.md) | Model Lineage Provenance ("Birth Certificate Protocol") | AI Safety |
|
|
1198
|
+
| [PAD-019](docs/disclosures/PAD-019-glass-channel-protocol.md) | Transparent Agent Communication | AI Safety |
|
|
1199
|
+
| [PAD-020](docs/disclosures/PAD-020-ratchet-lock-protocol.md) | Capability Acquisition Containment | AI Safety |
|
|
1200
|
+
| [PAD-021](docs/disclosures/PAD-021-inverse-capability-protocol.md) | Graduated Autonomy via Inverse Capability Scaling | AI Safety |
|
|
1201
|
+
| [PAD-022](docs/disclosures/PAD-022-swarm-limits-protocol.md) | Agent Population Governance | AI Safety |
|
|
1202
|
+
| [PAD-023](docs/disclosures/PAD-023-content-policy-watermarking.md) | Machine-Readable Content Usage Policies in Audio Watermarks | Audio / Rights |
|
|
1203
|
+
| [PAD-024](docs/disclosures/PAD-024-temporal-video-fingerprinting.md) | Temporal Perceptual Hashing for Video Provenance | Video |
|
|
1204
|
+
| [PAD-025](docs/disclosures/PAD-025-edge-first-content-provenance.md) | Edge-First Content Provenance via Client-Side WASM | Architecture |
|
|
1205
|
+
| [PAD-026](docs/disclosures/PAD-026-did-linked-voiceprint-enrollment.md) | DID-Linked Voice Biometric Enrollment | Voice / Biometrics |
|
|
1206
|
+
| [PAD-027](docs/disclosures/PAD-027-shamir-split-biometric-recovery.md) | Shamir Secret Sharing of Biometric Enrollment Data | Recovery / Biometrics |
|
|
1207
|
+
| [PAD-028](docs/disclosures/PAD-028-cross-modal-identity-provenance.md) | Unified Cross-Modal Identity-Bound Provenance | Multi-Modal / Identity |
|
|
1208
|
+
| [PAD-029](docs/disclosures/PAD-029-eldear-scam-protection-identity.md) | Identity-Verified Communication Shield | Elder Safety / Voice |
|
|
1209
|
+
| [PAD-030](docs/disclosures/PAD-030-zk-reputation-portability.md) | Zero-Knowledge Reputation Portability | Privacy / Trust |
|
|
1210
|
+
| [PAD-031](docs/disclosures/PAD-031-canary-provenance-honeypots.md) | Adversarial Provenance Honeypots | Adversarial Detection |
|
|
1211
|
+
| [PAD-032](docs/disclosures/PAD-032-cryptographic-mortality-protocol.md) | Cryptographic Mortality Protocol | Identity Lifecycle |
|
|
1212
|
+
| [PAD-033](docs/disclosures/PAD-033-zk-pq-signature-compression.md) | ZK Proof Compression for Post-Quantum Signatures | Post-Quantum / ZKP |
|
|
1213
|
+
| [PAD-034](docs/disclosures/PAD-034-composite-threshold-swarm-consensus.md) | Composite Threshold Aggregation for Swarm Consensus | Post-Quantum / Swarm |
|
|
1214
|
+
| [PAD-035](docs/disclosures/PAD-035-async-chunked-edge-pq-signatures.md) | Asynchronous Chunked Verification and Edge PQ Signatures | Post-Quantum / Edge |
|
|
1215
|
+
| [PAD-036](docs/disclosures/PAD-036-aggregated-reputation-scoring.md) | Aggregated Reputation Scoring via Verifiable State Receipts | Trust / Enterprise |
|
|
1216
|
+
| [PAD-037](docs/disclosures/PAD-037-credential-federation.md) | Cross-Protocol Agent Credential Federation | Identity / Enterprise |
|
|
1217
|
+
| [PAD-038](docs/disclosures/PAD-038-agent-capability-discovery.md) | Decentralized Agent Capability Discovery | Discovery / Multi-Agent |
|
|
1218
|
+
| [PAD-039](docs/disclosures/PAD-039-jcs-deterministic-multi-party-trust-state.md) | Cross-Implementation Deterministic Multi-Party Trust State via JCS | Cross-Impl Determinism |
|
|
1219
|
+
| [PAD-040](docs/disclosures/PAD-040-hybrid-composite-signature-same-canonical-bytes.md) | Hybrid Composite Signature Bound to Same Canonical Bytes (Ed25519 + ML-DSA-44) | Post-Quantum / Hybrid |
|
|
1220
|
+
| [PAD-041](docs/disclosures/PAD-041-multikey-algorithm-agnostic-verification.md) | Algorithm-Agnostic Verification Method Resolution via Multikey Multicodec | Verification / Multikey |
|
|
1221
|
+
| [PAD-042](docs/disclosures/PAD-042-standardized-metadata-schema-agent-ledger.md) | Standardized Metadata Schema for AI Agent Ledger Signatures | Metadata / Audit |
|
|
1222
|
+
| [PAD-043](docs/disclosures/PAD-043-cryptographic-weight-binding.md) | Cryptographic Weight Binding for Model-Intrinsic AI Identity | AI Identity / Model |
|
|
1223
|
+
| [PAD-044](docs/disclosures/PAD-044-ephemeral-zk-state-channels.md) | Ephemeral ZK-State Channels for Agentic Layer 2 Scalability | Scalability / ZK |
|
|
1224
|
+
| [PAD-045](docs/disclosures/PAD-045-proof-of-non-hallucination-retrieval-anchoring.md) | Proof of Non-Hallucination via Cryptographic Retrieval Anchoring | AI Safety / RAG |
|
|
1225
|
+
| [PAD-046](docs/disclosures/PAD-046-algorithm-quorum-cryptosuite-diversity.md) | Algorithm Quorum Verification via M-of-N Cryptosuite Diversity | Defense in Depth |
|
|
1226
|
+
| [PAD-047](docs/disclosures/PAD-047-vdf-rate-limited-agent-actions.md) | Verifiable Delay Functions for Cryptographic Rate-Limiting | Agent Containment |
|
|
1227
|
+
| [PAD-048](docs/disclosures/PAD-048-write-only-async-context-ledger.md) | Write-Only Async Context Ledger for LLM Coding Assistants | AI Coding / IP Protection |
|
|
1228
|
+
| [PAD-049](docs/disclosures/PAD-049-decoupled-semantic-policy-extraction.md) | Decoupled Semantic Policy Extraction via Passive Source Monitoring | AI Coding / IP Protection |
|
|
1229
|
+
| [PAD-050](docs/disclosures/PAD-050-zero-context-deterministic-egress-interception.md) | Zero-Context Deterministic Egress Interception | AI Coding / Egress Control |
|
|
1230
|
+
| [PAD-051](docs/disclosures/PAD-051-parallel-intent-extraction-shadow-models.md) | Parallel Intent Extraction via Local Shadow Models | AI Coding / Local-First |
|
|
1231
|
+
| [PAD-052](docs/disclosures/PAD-052-ui-state-sniffing-closed-box-ai-tools.md) | UI State Sniffing for Closed-Box AI Coding Tools | AI Coding / Compatibility |
|
|
1232
|
+
| [PAD-053](docs/disclosures/PAD-053-time-bounded-ephemeral-rules.md) | Time-Bounded Ephemeral Rules with Auto-Expiry | AI Coding / Lifetime |
|
|
1233
|
+
| [PAD-054](docs/disclosures/PAD-054-filesystem-hierarchy-policy-inheritance.md) | Filesystem-Hierarchy Policy Inheritance for AI Coding Workspaces | AI Coding / Composition |
|
|
1234
|
+
| [PAD-055](docs/disclosures/PAD-055-cross-session-policy-re-anchoring.md) | Cross-Session Policy Re-Anchoring via Pre-Flight Context Replay | AI Coding / Continuity |
|
|
1235
|
+
|
|
1236
|
+
[View all disclosures →](docs/disclosures/README.md)
|