Verify Trust Anchor Bundle
mutualAuthVerifyTrustBundleVerify a TrustAnchorBundle's signature and freshness using trusted publisher public keys, returning success or a specific failure reason.
Instructions
Verify a TrustAnchorBundle signature and freshness. Caller supplies the list of trusted publisher public keys (root configuration). Returns ok:true on success or failure reason (untrusted_publisher, signature_invalid, bundle_expired, not_yet_valid).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bundle": "<bundle>",
"trusted_publisher_pubkeys_hex": "<trusted_publisher_pubkeys_hex>"
},
"name": "mutualAuthVerifyTrustBundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | TrustAnchorBundle to verify | |
| now_ms | No | Current unix ms — defaults to Date.now() | |
| trusted_publisher_pubkeys_hex | Yes | List of Ed25519 pubkeys (hex) authorized to publish bundles |