vouch-protocol 3.1.0__tar.gz → 3.3.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-3.1.0/vouch_protocol.egg-info → vouch_protocol-3.3.0}/PKG-INFO +64 -35
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/README.md +63 -34
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/pyproject.toml +1 -1
- vouch_protocol-3.3.0/tests/test_cli_first_run_journey.py +574 -0
- vouch_protocol-3.3.0/tests/test_cli_init_did_key.py +794 -0
- vouch_protocol-3.3.0/tests/test_delegate_parent.py +104 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_delegation_hardening.py +12 -6
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_delegation_verify.py +23 -8
- vouch_protocol-3.3.0/tests/test_did_key_mismatch.py +185 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_dx_sugar.py +15 -1
- vouch_protocol-3.3.0/tests/test_examples_runner.py +104 -0
- vouch_protocol-3.3.0/tests/test_first_run_doc_snippets.py +120 -0
- vouch_protocol-3.3.0/tests/test_first_run_fixes.py +360 -0
- vouch_protocol-3.3.0/tests/test_flat_delegation.py +792 -0
- vouch_protocol-3.3.0/tests/test_flat_delegation_vectors.py +134 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_fleet.py +12 -1
- vouch_protocol-3.3.0/tests/test_grant_chain_rules.py +1112 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_keys_post_quantum.py +36 -4
- vouch_protocol-3.3.0/tests/test_mcp_first_run.py +175 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_onboard.py +41 -3
- vouch_protocol-3.3.0/tests/test_onboard_sidecar_e2e.py +186 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_policy_limits.py +11 -10
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_sidecar.py +17 -1
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_signer_vc.py +11 -5
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_trusted_roots.py +27 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_validator_cli.py +1 -1
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/__init__.py +9 -1
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/agent.py +63 -12
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/autosign.py +152 -45
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/cli.py +1050 -229
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/conformance.py +9 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/credential.py +54 -14
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/fleet.py +57 -5
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/gate.py +46 -1
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/grade.py +3 -2
- vouch_protocol-3.3.0/vouch/grant_chain.py +614 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/a2a.py +4 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/mcp/server.py +139 -34
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/mlflow.py +4 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/safetensors.py +4 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/keys.py +36 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/keystore.py +4 -4
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/onboard.py +211 -39
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/root_of_trust.py +3 -4
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/rules.py +1 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/sidecar.py +36 -9
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/signer.py +154 -55
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/trifecta.py +33 -24
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/trust_check.py +13 -2
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/validator_server.py +11 -5
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/vc.py +19 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/verifier.py +115 -28
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0/vouch_protocol.egg-info}/PKG-INFO +64 -35
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch_protocol.egg-info/SOURCES.txt +13 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/LICENSE +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/MANIFEST.in +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/setup.cfg +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_accountability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_agent_enroll.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ati_core.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_attribution.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_audio_bridge.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_audit_trail.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_auditor.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_authority_state.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_authority_state_vectors.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_autosign.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_behavioral_attestation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_bridge.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_budget.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_c2pa_formats.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_cache.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_canary.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_caveats.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ccg_demo.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_cli_init.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_cli_root.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_cli_verify.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_cli_without_server_extra.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_conformance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_context_v1.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_credential_gate.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_data_integrity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_delegation_attenuation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_delegation_chain_vectors.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_delegation_size_guard.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_deliberation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_disconnected_edge.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_dtn_pads.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ed25519_check.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ed25519_strict_vector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_examples_robotics.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_fastapi_credential_gate.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_fence.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_fetch_hostile_documents.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_git_commit_binding.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_git_workflow.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_grade.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_grade_evidence.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_halos_evidence.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_hardware_seam.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_hasura_integration.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_heartbeat.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_heartbeat_hardening.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_hybrid.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_hybrid_interop.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_identity_file_reader.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_intent_recheck.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_intent_recheck_vector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_jcs.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_jcs_interop.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_keys_ts_interop.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_kms.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_liveness_conformance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mcp_check_trust.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mcp_guard_replay.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mcp_guard_revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mcp_server_shield.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mcp_server_status_tools.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_media_badge.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_media_native.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_merkle.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mint_contributor_credential.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mint_delegation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_mldsa_check.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_multikey.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_nesting_and_precision.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_nonce.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_nonce_replay_store.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_orbital_accumulator.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_pacing.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_pq_verify.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_proof_of_integration.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_proof_set_vector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_provenance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_quorum.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reasoning.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reasoning_escrow_binding.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_receipts.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_recovery.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_replay_key_vector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation_aggregate.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation_disputes.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation_ledger.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation_policy.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_reputation_portability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_revocation_fail_closed.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_access.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_conformance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_consent.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_custody.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_embodiment.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_fusion.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_handover.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_handshake_blackbox_passport.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_identity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_lease_quorum.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_lifecycle.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_liveness_revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_odd.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_perception.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_pq.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_provenance_capability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_root_identity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_safety_record.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_swarm.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_teleop.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_robot_wear.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_root_delegation_scripts.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_root_of_trust.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_root_of_trust_vectors.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ros2_action_gate.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_runtime_vectors.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_scan.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_secure_key_custody.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_security_hardening.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_shield_guard.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_shield_rules.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_shield_vectors.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_ssrf_ranges.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_status_list.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_status_list_strict.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_strict_time_leftovers.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_threshold.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_threshold_loader.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_timefmt.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_tool_registry.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_transparency.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_transport.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_transport_http_rendezvous.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_transport_rendezvous.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_transport_udna_sdk.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_trifecta.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_trust_check.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_trust_entropy.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_trusted_roots_vector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_validator_server.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_vc.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_vector_runners.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_verifier_hardening.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_verifier_round2.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_verifier_round3.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_verifier_vc.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_verify_without_key.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/tests/test_vouch_mcp.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/accountability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/async_verifier.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/attenuation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/attribution.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/attribution_cli.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/audio.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/audit_trail.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/auditor.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/authority_state.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/behavioral_attestation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/bridge/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/bridge/audio_routes.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/bridge/config.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/bridge/server.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/budget.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/cache.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/canary.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/caveats.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/config.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/conformance_jcs_vectors.json +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/data_integrity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/data_integrity_hybrid.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/deliberation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/did_web.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/ed25519_check.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/fence.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/heartbeat.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/_common.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/adk.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/amnesia.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/autogen/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/autogpt/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/autogpt/commands.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/claude-code/settings.hooks.json +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/crewai/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/crewai/tool.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/fastapi.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/google.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/goose.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/hasura/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/hasura/webhook.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/langchain/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/langchain/tool.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/langgraph.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/mcp/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/n8n.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/openai.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/streamlit/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/streamlit/seal.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/integrations/vertex_ai/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/intent_recheck.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/jcs.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/kms.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/liveness_conformance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/mcp/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/mcp/_guard.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/mcp_guard.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/media/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/media/badge.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/media/c2pa.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/media/native.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/merkle.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/metrics.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/mldsa_check.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/multikey.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/nesting.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/nonce.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/_common.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/_pedersen.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/census.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/custody.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/disclosure.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/dissent.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/fuse.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/load_auth.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/oversight.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/pace.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/prereg.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/recursion.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/redline.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/pacing/restraint.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/proof_of_integration.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/provenance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/quorum.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/ratelimit.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reasoning.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/receipts.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/recovery.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/registry.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation_aggregate.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation_disputes.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation_ledger.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation_policy.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/reputation_portability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/_signing.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/_verify.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/access.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/accumulator.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/blackbox.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/bundle.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/capability.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/conformance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/consent.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/custody.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/dtn_revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/edge_trust.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/embodiment.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/freshness.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/fusion.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/geoscope.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/halos.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/handover.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/handshake.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/hardware.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/identity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/lease.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/lifecycle.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/liveness.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/localization.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/odd.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/orbital.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/passport.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/perception.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/perception_consensus.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/physical_quorum.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/pq.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/presence.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/provenance.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/quorum_trust.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/revocation.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/root_identity.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/safety_record.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/swarm.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/teleop.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/robotics/wear.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/scan/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/scan/detector.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/scan/patterns.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/seal.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/demo.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/flight_recorder.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/shield.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/shield/trust_registry.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/ssrf.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/status_list.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/status_list_fetcher.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/threshold.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/timefmt.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/tool_registry.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transparency.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/__init__.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/base.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/did_key.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/envelope.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/http_rendezvous.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/http_transport.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/manager.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/rendezvous.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/transport/udna.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/trust_entropy.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/trusted_roots.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/validator_flags.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch/verification.py +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch_protocol.egg-info/dependency_links.txt +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch_protocol.egg-info/entry_points.txt +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch_protocol.egg-info/requires.txt +0 -0
- {vouch_protocol-3.1.0 → vouch_protocol-3.3.0}/vouch_protocol.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vouch-protocol
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: The Identity & Reputation Standard for AI Agents
|
|
5
5
|
Author-email: Vouch Protocol Contributors <hello@vouch-protocol.com>
|
|
6
6
|
License: Apache License 2.0
|
|
@@ -339,7 +339,9 @@ pip install vouch-protocol
|
|
|
339
339
|
# One command to configure SSH signing + Vouch branding
|
|
340
340
|
vouch git init
|
|
341
341
|
|
|
342
|
-
# All future commits are now signed
|
|
342
|
+
# All future commits are now signed. GitHub shows ✅ Verified once the signing key
|
|
343
|
+
# is uploaded to your account (the command does it with the gh CLI when you have
|
|
344
|
+
# it, otherwise it opens the page and shows the key to paste)
|
|
343
345
|
git commit -m "Secure commit"
|
|
344
346
|
```
|
|
345
347
|
|
|
@@ -371,7 +373,7 @@ Credentials are issued with `Signer.sign()` and checked with `Verifier.verify()`
|
|
|
371
373
|
Vouch is not one tool, it is a set of them. Here is the whole map.
|
|
372
374
|
|
|
373
375
|
### On the command line
|
|
374
|
-
- **`vouch init`** generate an agent identity (a DID, an Ed25519 key and a post-quantum key).
|
|
376
|
+
- **`vouch init`** generate 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.
|
|
375
377
|
- **`vouch sign` / `vouch verify`** sign a payload and verify it.
|
|
376
378
|
- **`vouch sidecar`** run the signing sidecar, which holds your agent's key so the model never has it. The caller chooses how long each credential stays valid. It opens passphrase-locked identities, and `--kms` signs with a key in AWS KMS or Google Cloud KMS.
|
|
377
379
|
- **`vouch validator`** run a heartbeat validator: agents send a signed heartbeat at every interval and get back a short-lived session voucher.
|
|
@@ -481,7 +483,7 @@ flowchart LR
|
|
|
481
483
|
```
|
|
482
484
|
|
|
483
485
|
**4 Simple Steps:**
|
|
484
|
-
1. **Generate Identity**: Create an Ed25519 keypair and a DID, publish a DID Document
|
|
486
|
+
1. **Generate Identity**: Create an Ed25519 keypair and a DID, publish a DID Document listing the key (`#key-1` as a JsonWebKey2020 method carrying the Ed25519 JWK, plus `#key-2` as a Multikey for ML-DSA-44 when you add the post-quantum key).
|
|
485
487
|
2. **Sign Action**: Agent's sidecar issues a Verifiable Credential carrying `action`, `target`, and `resource`, secured by an `eddsa-jcs-2022` Data Integrity proof.
|
|
486
488
|
3. **Send to API**: Transmit the credential as the HTTP request body with `Content-Type: application/vc+vouch` (or via the legacy `Vouch-Token` header for v0.x compatibility; the prior `application/vouch+credential+json` Content-Type is retained as a transitional alias).
|
|
487
489
|
4. **Verify**: API resolves the issuer's DID, validates the Data Integrity proof, checks temporal claims and the resource binding, returns a `CredentialPassport`.
|
|
@@ -542,47 +544,69 @@ curl -fsSL https://vouch-protocol.org/install.sh | sh
|
|
|
542
544
|
pip install vouch-protocol
|
|
543
545
|
```
|
|
544
546
|
|
|
545
|
-
### 2. Generate
|
|
547
|
+
### 2. Generate an identity
|
|
546
548
|
```bash
|
|
547
|
-
vouch init
|
|
549
|
+
vouch init -y # makes a did:key: nothing to host, anyone can verify it offline
|
|
550
|
+
vouch whoami # prints its DID
|
|
548
551
|
```
|
|
549
552
|
|
|
550
|
-
|
|
553
|
+
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`.
|
|
551
554
|
|
|
552
|
-
|
|
555
|
+
### 3. Sign an action (agent side)
|
|
556
|
+
|
|
557
|
+
From the command line:
|
|
558
|
+
```bash
|
|
559
|
+
vouch sign '{"action":"read_database","target":"users_table","resource":"https://api.example.org/v1/users"}' --json > credential.json
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
Or from Python, with the identity you just saved:
|
|
553
563
|
```python
|
|
554
|
-
|
|
555
|
-
import
|
|
564
|
+
import json
|
|
565
|
+
import vouch
|
|
556
566
|
|
|
557
|
-
signer =
|
|
558
|
-
private_key=os.environ['VOUCH_PRIVATE_KEY'],
|
|
559
|
-
did=os.environ['VOUCH_DID']
|
|
560
|
-
)
|
|
567
|
+
signer = vouch.resolve_signer() # the identity `vouch init` saved
|
|
561
568
|
|
|
562
|
-
credential = signer.sign(
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
# Send credential as the JSON body of the API request, content-type
|
|
569
|
+
credential = signer.sign(
|
|
570
|
+
action='read_database',
|
|
571
|
+
target='users_table',
|
|
572
|
+
resource='https://api.example.org/v1/users',
|
|
573
|
+
)
|
|
574
|
+
# Send the credential as the JSON body of the API request, content-type
|
|
568
575
|
# application/vc+vouch
|
|
576
|
+
print(json.dumps(credential)[:80])
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
### 4. Verify (API side)
|
|
580
|
+
|
|
581
|
+
From the command line:
|
|
582
|
+
```bash
|
|
583
|
+
vouch verify credential.json
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
From Python:
|
|
587
|
+
```python
|
|
588
|
+
import vouch
|
|
589
|
+
|
|
590
|
+
is_valid, passport = vouch.verify(credential)
|
|
591
|
+
# A did:key issuer needs no lookup. A did:web issuer is resolved from its
|
|
592
|
+
# DID document. Pass public_key=... to check against a key you already hold.
|
|
593
|
+
print(is_valid, passport.intent)
|
|
569
594
|
```
|
|
570
595
|
|
|
571
|
-
|
|
596
|
+
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, pass `replay_store=False`: `vouch.verify(credential, replay_store=False)`.
|
|
572
597
|
|
|
573
|
-
|
|
598
|
+
In a web service, the same call guards a route:
|
|
574
599
|
```python
|
|
575
600
|
from fastapi import FastAPI, Request, HTTPException
|
|
576
|
-
|
|
601
|
+
import vouch
|
|
577
602
|
|
|
578
603
|
app = FastAPI()
|
|
579
604
|
|
|
580
605
|
@app.post("/api/resource")
|
|
581
606
|
async def protected_route(request: Request):
|
|
582
607
|
credential = await request.json()
|
|
583
|
-
public_key = '{"kty":"OKP", ...}' # Resolved from did:web or trusted root
|
|
584
608
|
|
|
585
|
-
is_valid, passport =
|
|
609
|
+
is_valid, passport = vouch.verify(credential)
|
|
586
610
|
if not is_valid:
|
|
587
611
|
raise HTTPException(status_code=401, detail="Untrusted Agent")
|
|
588
612
|
|
|
@@ -593,7 +617,7 @@ async def protected_route(request: Request):
|
|
|
593
617
|
}
|
|
594
618
|
```
|
|
595
619
|
|
|
596
|
-
|
|
620
|
+
A few lines to sign and a few to verify.
|
|
597
621
|
|
|
598
622
|
---
|
|
599
623
|
|
|
@@ -628,15 +652,20 @@ Works with all major AI frameworks out-of-the-box:
|
|
|
628
652
|
### Post-Quantum Example
|
|
629
653
|
|
|
630
654
|
```python
|
|
631
|
-
# Optional profile,
|
|
632
|
-
credential = signer.sign_hybrid(
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
655
|
+
# Optional profile, bundled with `pip install vouch-protocol`
|
|
656
|
+
credential = signer.sign_hybrid(
|
|
657
|
+
action='submit_clinical_finding',
|
|
658
|
+
target='trial:NCT00000001',
|
|
659
|
+
resource='https://fda-submissions.example.com/api/findings',
|
|
660
|
+
)
|
|
637
661
|
# The credential's `proof` is an array of two independent Data Integrity proofs,
|
|
638
662
|
# eddsa-jcs-2022 and mldsa44-jcs-2024, over the same document.
|
|
639
663
|
# Verification REQUIRES both to validate.
|
|
664
|
+
|
|
665
|
+
# A did:key carries only the Ed25519 key, so hand the verifier the ML-DSA-44
|
|
666
|
+
# key too. A did:web DID lists it in its DID document instead
|
|
667
|
+
# (`vouch did-document --post-quantum`).
|
|
668
|
+
ok, passport = vouch.verify(credential, mldsa44_public_key=signer.public_key_mldsa44())
|
|
640
669
|
```
|
|
641
670
|
|
|
642
671
|
---
|
|
@@ -646,19 +675,19 @@ credential = signer.sign_hybrid(intent={
|
|
|
646
675
|
### Financial Services
|
|
647
676
|
```python
|
|
648
677
|
# SEC-compliant trade logging
|
|
649
|
-
agent.sign(
|
|
678
|
+
agent.sign(action='execute_trade', target='AAPL', resource='https://broker.example.org/v1/orders')
|
|
650
679
|
```
|
|
651
680
|
|
|
652
681
|
### Customer Service
|
|
653
682
|
```python
|
|
654
683
|
# Data access accountability
|
|
655
|
-
agent.sign(
|
|
684
|
+
agent.sign(action='read_customer_data', target='cust_abc', resource='https://crm.example.org/v1/customers/cust_abc')
|
|
656
685
|
```
|
|
657
686
|
|
|
658
687
|
### Healthcare AI
|
|
659
688
|
```python
|
|
660
689
|
# HIPAA-compliant audit trail
|
|
661
|
-
agent.sign(
|
|
690
|
+
agent.sign(action='access_phi', target='patient:12345', resource='https://ehr.example.org/v1/patients/12345')
|
|
662
691
|
```
|
|
663
692
|
|
|
664
693
|
To keep this space free from patent capture, the project publishes **more than 130 defensive prior-art disclosures**, covering cryptographic identity, media provenance, voice biometrics, AI safety, post-quantum cryptography, AI coding governance, per-region human-or-AI code authorship, robotics, delegation, and operating system enforcement. See [docs/disclosures](docs/disclosures/README.md).
|
|
@@ -51,7 +51,9 @@ pip install vouch-protocol
|
|
|
51
51
|
# One command to configure SSH signing + Vouch branding
|
|
52
52
|
vouch git init
|
|
53
53
|
|
|
54
|
-
# All future commits are now signed
|
|
54
|
+
# All future commits are now signed. GitHub shows ✅ Verified once the signing key
|
|
55
|
+
# is uploaded to your account (the command does it with the gh CLI when you have
|
|
56
|
+
# it, otherwise it opens the page and shows the key to paste)
|
|
55
57
|
git commit -m "Secure commit"
|
|
56
58
|
```
|
|
57
59
|
|
|
@@ -83,7 +85,7 @@ Credentials are issued with `Signer.sign()` and checked with `Verifier.verify()`
|
|
|
83
85
|
Vouch is not one tool, it is a set of them. Here is the whole map.
|
|
84
86
|
|
|
85
87
|
### On the command line
|
|
86
|
-
- **`vouch init`** generate an agent identity (a DID, an Ed25519 key and a post-quantum key).
|
|
88
|
+
- **`vouch init`** generate 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.
|
|
87
89
|
- **`vouch sign` / `vouch verify`** sign a payload and verify it.
|
|
88
90
|
- **`vouch sidecar`** run the signing sidecar, which holds your agent's key so the model never has it. The caller chooses how long each credential stays valid. It opens passphrase-locked identities, and `--kms` signs with a key in AWS KMS or Google Cloud KMS.
|
|
89
91
|
- **`vouch validator`** run a heartbeat validator: agents send a signed heartbeat at every interval and get back a short-lived session voucher.
|
|
@@ -193,7 +195,7 @@ flowchart LR
|
|
|
193
195
|
```
|
|
194
196
|
|
|
195
197
|
**4 Simple Steps:**
|
|
196
|
-
1. **Generate Identity**: Create an Ed25519 keypair and a DID, publish a DID Document
|
|
198
|
+
1. **Generate Identity**: Create an Ed25519 keypair and a DID, publish a DID Document listing the key (`#key-1` as a JsonWebKey2020 method carrying the Ed25519 JWK, plus `#key-2` as a Multikey for ML-DSA-44 when you add the post-quantum key).
|
|
197
199
|
2. **Sign Action**: Agent's sidecar issues a Verifiable Credential carrying `action`, `target`, and `resource`, secured by an `eddsa-jcs-2022` Data Integrity proof.
|
|
198
200
|
3. **Send to API**: Transmit the credential as the HTTP request body with `Content-Type: application/vc+vouch` (or via the legacy `Vouch-Token` header for v0.x compatibility; the prior `application/vouch+credential+json` Content-Type is retained as a transitional alias).
|
|
199
201
|
4. **Verify**: API resolves the issuer's DID, validates the Data Integrity proof, checks temporal claims and the resource binding, returns a `CredentialPassport`.
|
|
@@ -254,47 +256,69 @@ curl -fsSL https://vouch-protocol.org/install.sh | sh
|
|
|
254
256
|
pip install vouch-protocol
|
|
255
257
|
```
|
|
256
258
|
|
|
257
|
-
### 2. Generate
|
|
259
|
+
### 2. Generate an identity
|
|
258
260
|
```bash
|
|
259
|
-
vouch init
|
|
261
|
+
vouch init -y # makes a did:key: nothing to host, anyone can verify it offline
|
|
262
|
+
vouch whoami # prints its DID
|
|
260
263
|
```
|
|
261
264
|
|
|
262
|
-
|
|
265
|
+
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`.
|
|
263
266
|
|
|
264
|
-
|
|
267
|
+
### 3. Sign an action (agent side)
|
|
268
|
+
|
|
269
|
+
From the command line:
|
|
270
|
+
```bash
|
|
271
|
+
vouch sign '{"action":"read_database","target":"users_table","resource":"https://api.example.org/v1/users"}' --json > credential.json
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
Or from Python, with the identity you just saved:
|
|
265
275
|
```python
|
|
266
|
-
|
|
267
|
-
import
|
|
276
|
+
import json
|
|
277
|
+
import vouch
|
|
268
278
|
|
|
269
|
-
signer =
|
|
270
|
-
private_key=os.environ['VOUCH_PRIVATE_KEY'],
|
|
271
|
-
did=os.environ['VOUCH_DID']
|
|
272
|
-
)
|
|
279
|
+
signer = vouch.resolve_signer() # the identity `vouch init` saved
|
|
273
280
|
|
|
274
|
-
credential = signer.sign(
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
# Send credential as the JSON body of the API request, content-type
|
|
281
|
+
credential = signer.sign(
|
|
282
|
+
action='read_database',
|
|
283
|
+
target='users_table',
|
|
284
|
+
resource='https://api.example.org/v1/users',
|
|
285
|
+
)
|
|
286
|
+
# Send the credential as the JSON body of the API request, content-type
|
|
280
287
|
# application/vc+vouch
|
|
288
|
+
print(json.dumps(credential)[:80])
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### 4. Verify (API side)
|
|
292
|
+
|
|
293
|
+
From the command line:
|
|
294
|
+
```bash
|
|
295
|
+
vouch verify credential.json
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
From Python:
|
|
299
|
+
```python
|
|
300
|
+
import vouch
|
|
301
|
+
|
|
302
|
+
is_valid, passport = vouch.verify(credential)
|
|
303
|
+
# A did:key issuer needs no lookup. A did:web issuer is resolved from its
|
|
304
|
+
# DID document. Pass public_key=... to check against a key you already hold.
|
|
305
|
+
print(is_valid, passport.intent)
|
|
281
306
|
```
|
|
282
307
|
|
|
283
|
-
|
|
308
|
+
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, pass `replay_store=False`: `vouch.verify(credential, replay_store=False)`.
|
|
284
309
|
|
|
285
|
-
|
|
310
|
+
In a web service, the same call guards a route:
|
|
286
311
|
```python
|
|
287
312
|
from fastapi import FastAPI, Request, HTTPException
|
|
288
|
-
|
|
313
|
+
import vouch
|
|
289
314
|
|
|
290
315
|
app = FastAPI()
|
|
291
316
|
|
|
292
317
|
@app.post("/api/resource")
|
|
293
318
|
async def protected_route(request: Request):
|
|
294
319
|
credential = await request.json()
|
|
295
|
-
public_key = '{"kty":"OKP", ...}' # Resolved from did:web or trusted root
|
|
296
320
|
|
|
297
|
-
is_valid, passport =
|
|
321
|
+
is_valid, passport = vouch.verify(credential)
|
|
298
322
|
if not is_valid:
|
|
299
323
|
raise HTTPException(status_code=401, detail="Untrusted Agent")
|
|
300
324
|
|
|
@@ -305,7 +329,7 @@ async def protected_route(request: Request):
|
|
|
305
329
|
}
|
|
306
330
|
```
|
|
307
331
|
|
|
308
|
-
|
|
332
|
+
A few lines to sign and a few to verify.
|
|
309
333
|
|
|
310
334
|
---
|
|
311
335
|
|
|
@@ -340,15 +364,20 @@ Works with all major AI frameworks out-of-the-box:
|
|
|
340
364
|
### Post-Quantum Example
|
|
341
365
|
|
|
342
366
|
```python
|
|
343
|
-
# Optional profile,
|
|
344
|
-
credential = signer.sign_hybrid(
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
367
|
+
# Optional profile, bundled with `pip install vouch-protocol`
|
|
368
|
+
credential = signer.sign_hybrid(
|
|
369
|
+
action='submit_clinical_finding',
|
|
370
|
+
target='trial:NCT00000001',
|
|
371
|
+
resource='https://fda-submissions.example.com/api/findings',
|
|
372
|
+
)
|
|
349
373
|
# The credential's `proof` is an array of two independent Data Integrity proofs,
|
|
350
374
|
# eddsa-jcs-2022 and mldsa44-jcs-2024, over the same document.
|
|
351
375
|
# Verification REQUIRES both to validate.
|
|
376
|
+
|
|
377
|
+
# A did:key carries only the Ed25519 key, so hand the verifier the ML-DSA-44
|
|
378
|
+
# key too. A did:web DID lists it in its DID document instead
|
|
379
|
+
# (`vouch did-document --post-quantum`).
|
|
380
|
+
ok, passport = vouch.verify(credential, mldsa44_public_key=signer.public_key_mldsa44())
|
|
352
381
|
```
|
|
353
382
|
|
|
354
383
|
---
|
|
@@ -358,19 +387,19 @@ credential = signer.sign_hybrid(intent={
|
|
|
358
387
|
### Financial Services
|
|
359
388
|
```python
|
|
360
389
|
# SEC-compliant trade logging
|
|
361
|
-
agent.sign(
|
|
390
|
+
agent.sign(action='execute_trade', target='AAPL', resource='https://broker.example.org/v1/orders')
|
|
362
391
|
```
|
|
363
392
|
|
|
364
393
|
### Customer Service
|
|
365
394
|
```python
|
|
366
395
|
# Data access accountability
|
|
367
|
-
agent.sign(
|
|
396
|
+
agent.sign(action='read_customer_data', target='cust_abc', resource='https://crm.example.org/v1/customers/cust_abc')
|
|
368
397
|
```
|
|
369
398
|
|
|
370
399
|
### Healthcare AI
|
|
371
400
|
```python
|
|
372
401
|
# HIPAA-compliant audit trail
|
|
373
|
-
agent.sign(
|
|
402
|
+
agent.sign(action='access_phi', target='patient:12345', resource='https://ehr.example.org/v1/patients/12345')
|
|
374
403
|
```
|
|
375
404
|
|
|
376
405
|
To keep this space free from patent capture, the project publishes **more than 130 defensive prior-art disclosures**, covering cryptographic identity, media provenance, voice biometrics, AI safety, post-quantum cryptography, AI coding governance, per-region human-or-AI code authorship, robotics, delegation, and operating system enforcement. See [docs/disclosures](docs/disclosures/README.md).
|