Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion industrial-embodied-ai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
agentrust-trace @ git+https://github.com/agentrust-io/trace-spec.git@ae152e8baf6ba7c7443cdf73fb5d9ef1660526c0
cmcp-runtime @ git+https://github.com/agentrust-io/cmcp.git@3a7f49fea5f0c97500ffe0c3c49ec2ff68d09555
agent-manifest @ git+https://github.com/agentrust-io/agent-manifest.git@5c71a284b839b85243ef617ec6a3af91170f4152#subdirectory=python
cmcp-runtime @ git+https://github.com/agentrust-io/cmcp.git@84f5cabc6c2f947ef49b90012e6e9a1a0b9f726a
cedarpy==4.8.4
httpx>=0.27,<1
8 changes: 2 additions & 6 deletions industrial-embodied-ai/validate_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from pathlib import Path
from typing import Any

from agent_manifest import canonicalize
from cmcp_runtime.config import load_config
from cmcp_verify import ApprovedHashes, verify_audit_bundle, verify_trace_claim
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
Expand All @@ -18,12 +19,7 @@


def canonical_bytes(value: Any) -> bytes:
return json.dumps(
value,
sort_keys=True,
separators=(",", ":"),
ensure_ascii=True,
).encode()
return canonicalize(value)


def hash_bytes(value: bytes) -> str:
Expand Down
Loading