@agent-custody/receipts 0.16.8 → 0.16.10

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.
package/docs/door.md CHANGED
@@ -14,6 +14,8 @@ agent-custody check --config door.json
14
14
  agent-custody door --config door.json --port 8780
15
15
  ```
16
16
 
17
+ To run it as a service, the gateway image has a `door` mode (`docker run ... ghcr.io/svayatta/agent-custody-gateway:<version> door`, config at `/config/door.json`, key created at `/data/keys/door.key`), and [deploy/door](../../../deploy/door/README.md#as-a-reverse-proxy-from-the-gateway-image) has a compose file in front of a stand-in site, Kubernetes manifests, a systemd unit, and the smoke test that every build of the image passes.
18
+
17
19
  ## The config file
18
20
 
19
21
  `door.json`, paths relative to the file. Loaded with `loadDoorConfig(path)`.
@@ -37,7 +39,7 @@ agent-custody door --config door.json --port 8780
37
39
 
38
40
  Every field of the config, with its type and default, is in [the door reference](../../../site/reference/door.md#config).
39
41
 
40
- `agent-custody check --config door.json` reads a door config the way the door would: unknown keys, the key, the principal keys, the policy (including a permit that names an agent without requiring a verified arrival, see below), the routes, what is precommitted, the challenge provider or its absence, the partner engine and its key, the origin's scheme, every credential variable the door reads at startup (origin headers, the log, Splunk, OTel, the capture key, the challenge secret), and the paths. It exits 1 on an error.
42
+ `agent-custody check --config door.json` reads a door config the way the door would: unknown keys, the key, the principal keys, the policy (including a permit that names an agent without requiring a verified arrival, see below), the routes, what is precommitted, the challenge provider or its absence, the partner engine and its key, the revocation file, the origin's scheme, every credential variable the door reads at startup (origin headers, the log, Splunk, OTel, the capture key, the challenge secret), and the paths. It exits 1 on an error.
41
43
 
42
44
  ## What the door knows about an arrival
43
45
 
@@ -45,9 +47,9 @@ The door records one fact for every arrival, `arrival`, observed by the door its
45
47
 
46
48
  | field | values | meaning |
47
49
  | --- | --- | --- |
48
- | `class` | `verified`, `claimed`, `unknown` | `verified`: a grant signed by a trusted principal, inside its window, naming this route among its scopes; or, with no grant, a [Web Bot Auth signature](#web-bot-auth-signatures) that checked against the key its agent's directory publishes. `claimed`: something was asserted that the door could not accept: a grant from a stranger, an expired one, one for other routes, one presented under another agent's signature, a declared agent name, or a signature that did not check or was not checked. `unknown`: nothing was presented |
50
+ | `class` | `verified`, `claimed`, `unknown` | `verified`: a grant signed by a trusted principal, inside its window, naming this route among its scopes; or, with no grant, a [Web Bot Auth signature](#web-bot-auth-signatures) that checked against the key its agent's directory publishes. `claimed`: something was asserted that the door could not accept: a grant from a stranger, an expired one, a revoked one, one for other routes, one presented under another agent's signature, a declared agent name, or a signature that did not check or was not checked. `unknown`: nothing was presented |
49
51
  | `subject` | string | the agent named in a verified grant; else the signature agent of a verified signature (its https origin); else the declared name or the agent a rejected grant named; else `unknown`. Only a verified subject reaches the Cedar `principal` |
50
- | `grant` | `verified`, `out-of-scope`, `invalid`, `wrong-sender`, `absent` | what became of the grant header, with `grantError` when it was not accepted. `wrong-sender`: the grant verified, and the request is signed by a signature agent the grant does not name |
52
+ | `grant` | `verified`, `out-of-scope`, `invalid`, `revoked`, `wrong-sender`, `absent` | what became of the grant header, with `grantError` when it was not accepted. `revoked`: the grant verified, and it or a grant above it in its chain is in `revokedGrants` (see [revoking a grant](#revoking-a-grant)). `wrong-sender`: the grant verified, and the request is signed by a signature agent the grant does not name |
51
53
  | `signature` | `verified`, `invalid`, `unavailable`, `unchecked`, `absent` | what became of an RFC 9421 signature tagged `web-bot-auth`, with `signatureError` when it was not verified. `unchecked`: a `Signature-Input` arrived and the config has no `webBotAuth`, so it is a claim. See [Web Bot Auth signatures](#web-bot-auth-signatures) |
52
54
  | `signatureAgent`, `signatureKeyid` | strings | the `Signature-Agent` origin and the keyid the signature named. Checked only when `signature` is `verified` |
53
55
  | `declared` | string | the `x-agent-custody-agent` header, when sent. A claim |
@@ -65,7 +67,11 @@ There is no `human` class. The door cannot tell a person from a program that pre
65
67
 
66
68
  **A grant alone is bearer-grade; a grant under its agent's signature is bound to its sender.** The door checks the grant's signature, window, and scope. On its own, that does not show that the sender holds the agent's key. Anyone who holds the grant's bytes is that agent until the grant expires, and every verified receipt carries the grant in `delegation`, so a person who can read one receipt can replay its grant. When the request also carries a Web Bot Auth signature that the door verified, and the grant names that signature agent (`"agent": "https://crawler.example"`), the grant is bound to its sender: a thief has the grant's bytes but not the agent's signing key, and a captured signature serves one request (its nonce) for at most `maxAgeSeconds`. A grant presented under another agent's signature is `wrong-sender`, and the arrival is `claimed`. A grant with no signature, or with one that did not verify, is still verified, bearer-grade, as before, so a route that needs the binding says so in its policy: `context.facts.arrival.grant == "verified" && context.facts.arrival.signature == "verified"` holds only for a bound grant, since a mismatch makes `grant` `wrong-sender`. For bearer grants, issue door grants with short lifetimes (minutes, not days), scope them to the routes they need, bound what a route allows per call in the policy, and treat receipt files and logs as holding live credentials until those grants expire.
67
69
 
68
- **Challenging a human.** The door builds no CAPTCHA. With `challenge` configured, a page in front of a protected route renders the provider's widget (Cloudflare Turnstile or hCaptcha) with `siteKey`, and sends the token the widget produced in the `challenge.header` header of its request. The door posts the token and the secret from `secretEnv` to the provider's `siteverify` endpoint, with a timeout, and records the answer as `challenge.outcome`. It adds the arrival's address as `remoteip` only with `trustProxy`, where that address is the client's; without it the socket's address may be a proxy's, and the provider would refuse a token the client solved. It never follows a redirect, which would resend the secret and the token elsewhere. To hCaptcha it also sends `siteKey` as `sitekey`: an hCaptcha secret belongs to the account, and without it a token solved on the account's easiest widget would pass on the hardest. A Turnstile secret belongs to one widget already. `success` alone does not pass: the token must have been issued on one of `hostnames`, and for `action` when one is set, or a token solved on another site that uses this site key, or for another widget, would count. At most `maxInFlight` checks wait on the provider at once; an arrival past that is `unavailable`. The token is stripped before the request is relayed, and neither the token nor the secret is recorded. A policy admits a person on a form route with
70
+ **A did:key agent.** <a id="a-did-key-agent"></a>A grant may name its agent by a [did:key](https://w3c-ccg.github.io/did-key-spec/), the identifier of its Ed25519 key, `did:key:z6Mk...`: `agent-custody grant --agent-key agent.pub --did-key ...` issues one. The door checks the identifier after the principal's signature, on the grant and on every grant above it in its chain: it must decode to an Ed25519 key, and when that grant also carries `agentKey`, that must be the same key. A parent's `agentKey` is what verified the link below it, so a parent whose did:key and `agentKey` disagree makes the arrival `claimed` too, with `link <n>` in `grantError`. An identifier longer than 100 characters is refused before it is decoded. Either failure makes the arrival `claimed` with `grant: "invalid"` and the reason in `grantError`, because the grant says two things about who the agent is, or something that names no key. A grant that checks is `verified`, as any other, with the did:key as `subject`, the Cedar principal (`Agent::"did:key:z6Mk..."`), and the receipt's agent, attested. A did:key says which key; it does not prove that the sender holds it. Alone, a did:key grant is bearer-grade like any grant, and a Web Bot Auth signature names an https origin, not a did:key, so a did:key grant under a signature is `wrong-sender`.
71
+
72
+ **Revoking a grant.** <a id="revoking-a-grant"></a>With `revokedGrants` in the config, a grant can be withdrawn before it expires: the file is the gateway's, a JSON array of grant digests, and `agent-custody revoke --config door.json --grant grant.json` appends one. The door re-reads the file when it changes and checks every grant against it after the signature and before the window and the scope, so a running door classifies the next arrival that carries the grant as `claimed` with `grant: "revoked"`, and the Cedar principal is not the agent. Revoking a grant revokes every grant delegated from it (`grantError` says "a grant above it in its chain has been revoked"). A file that is there and cannot be read stops the door from starting; one that becomes unreadable while it runs makes every grant `revoked` until it can be read, so a broken list never lets a grant through. A missing file is an empty list. Without `revokedGrants`, a grant stands until it expires, and `check` warns when the door trusts principals.
73
+
74
+ <a id="challenging-a-human"></a>**Challenging a human.** The door builds no CAPTCHA. With `challenge` configured, a page in front of a protected route renders the provider's widget (Cloudflare Turnstile or hCaptcha) with `siteKey`, and sends the token the widget produced in the `challenge.header` header of its request. The door posts the token and the secret from `secretEnv` to the provider's `siteverify` endpoint, with a timeout, and records the answer as `challenge.outcome`. It adds the arrival's address as `remoteip` only with `trustProxy`, where that address is the client's; without it the socket's address may be a proxy's, and the provider would refuse a token the client solved. It never follows a redirect, which would resend the secret and the token elsewhere. To hCaptcha it also sends `siteKey` as `sitekey`: an hCaptcha secret belongs to the account, and without it a token solved on the account's easiest widget would pass on the hardest. A Turnstile secret belongs to one widget already. `success` alone does not pass: the token must have been issued on one of `hostnames`, and for `action` when one is set, or a token solved on another site that uses this site key, or for another widget, would count. At most `maxInFlight` checks wait on the provider at once; an arrival past that is `unavailable`. The token is stripped before the request is relayed, and neither the token nor the secret is recorded. A policy admits a person on a form route with
69
75
 
70
76
  ```cedar
71
77
  permit(principal, action == Action::"refund", resource)
@@ -76,6 +82,32 @@ and a refused arrival that has not passed is told how in the 403 body: `challeng
76
82
 
77
83
  **A token serves one request.** Turnstile and hCaptcha refuse a token they have seen (`timeout-or-duplicate`, `already-seen-response`), and the door keeps no pass between requests: it does not set a cookie or remember an address. So the page must take a new token for every request it sends to a challenged route, and for every retry: call `turnstile.reset()` or `hcaptcha.reset()` after each request, and wait for the new token before the next. The door checks the token before it reads the body, so a request refused for its size (413), its path (400), or by the policy has used its token too. A second request that sends the same token is `failed`, and the person sees another 403. The outcome is a signal, not a class: a `verified` agent that also passes a challenge is still the agent its grant names, and an `unknown` arrival that passes is still `unknown`, with `challenge.outcome: "passed"` beside it. What the provider's pass means, and what it does not, is in [door signals](door-signals.md). Passkeys are not a provider here: a passkey proves possession of a credential the site registered, which is a login, not a challenge, and belongs to the origin.
78
84
 
85
+ ### Protecting a form with one line
86
+
87
+ A form on a static site cannot set a header, and the door reads the challenge token from one. With `challenge` configured, the door serves a script that bridges the two, at `/.well-known/agent-custody-door/form.js`. The page adds one line:
88
+
89
+ ```html
90
+ <script src="/.well-known/agent-custody-door/form.js" defer></script>
91
+ ```
92
+
93
+ The script is built from the challenge config: the provider, the public site key, the header, and the action. The secret is never in it. In the browser it does the following:
94
+ - It loads the provider's script (`challenges.cloudflare.com` for Turnstile, `js.hcaptcha.com` for hCaptcha) and renders the widget in every form on the page whose method is POST and whose action is on the page's own origin. A GET form, or one that posts to another site, is left alone. To protect only some forms, give a selector on the tag: `<script src="..." data-forms="#contact" defer></script>`.
95
+ - On submit it sends the form with `fetch`, the widget's token in the door's challenge header and the form's fields as the browser would send them (form-encoded, or multipart when the form says `enctype="multipart/form-data"`). A submit button's `formaction`, `formmethod`, and `formenctype` override the form's, as in a native post; a button that posts with GET, or to another site, is left to the browser. It removes the widget's own copy of the token from the fields, so the token never reaches the receipt.
96
+ - It follows the answer as a form post would. A redirect is followed; an HTML page replaces the current one; a refusal leaves the page and says why under the widget. Then it resets the widget, because [a token serves one request](#challenging-a-human).
97
+
98
+ The door decides the request as any other arrival: the token is verified with the provider, the outcome is the arrival's `challenge` signal, and the policy for the form's route decides. The site's backend gets the request with `X-Agent-Custody-Receipt`, or never hears of it. A client without JavaScript, or a bot that posts the form directly, sends no token: when the route's policy requires `context.facts.arrival.challenge.outcome == "passed"`, as it should for a protected form, that arrival gets the 403 with the way in.
99
+
100
+ What to get right:
101
+ - **`hostnames`** must name the hosts the page is served on, or a passed token fails.
102
+ - **A form handler that redirects** must answer 303 (or 302) to a URL on the same site. The script follows it as a page load. A redirect to another site fails in `fetch`, because the request carried the challenge header: the door has already relayed the form, so the page says the answer did not arrive and the form may have been sent. A 307 or 308 makes the browser send the POST again with the same token, which the provider refuses as a duplicate.
103
+ - **Not covered, and refused rather than let through:** a form added to the page after the script ran; a form sent from code with `form.submit()`, which fires no submit event; and a form the script skips because its own method is GET or its own action is on another site, which gets no widget, so a button on it with `formmethod="post"` and an action on this site posts with no token. Each posts natively, and the policy refuses it with a bare 403.
104
+ - **A button that posts natively** (GET, or to another site) takes no token with it: the script disables the widget's hidden token fields first, so hCaptcha's live token does not reach another site's body or a query string.
105
+ - **A Content-Security-Policy** must allow the provider's script and frame (`script-src` and `frame-src` for the hosts above), and the script itself (`script-src 'self'` when the door serves the site).
106
+ - **In authz mode** the proxy serves the site, so route `/.well-known/agent-custody-door/form.js` to the door (`location = /.well-known/agent-custody-door/form.js { proxy_pass http://door:8780; }`).
107
+ - **In-process**, the Express middleware serves the script itself; a Next.js site adds a route that returns `guard.formScript()` ([the door in your Node app](door-middleware.md#a-form-protected-by-the-challenge)).
108
+
109
+ The tests run the script in a DOM stand-in against a real door and a stand-in provider. By hand, with Cloudflare's test keys below and a static page, the widget rendered and passed in a browser, the form reached the site with its receipt id, and a POST without the script was refused 403. The script is served with a query string as well (`form.js?v=2`), so a cache-busting habit does not break it. Tutorial: [54-door-form.ts](../examples/54-door-form.ts).
110
+
79
111
  ### A run against Turnstile's test keys
80
112
 
81
113
  The tests stub `siteverify`. This run calls the real one once. Cloudflare publishes [test keys](https://developers.cloudflare.com/turnstile/troubleshooting/testing/) that need no account: the site key `1x00000000000000000000AA`, the secret `1x0000000000000000000000000000000AA` (validation always succeeds), the secret `2x0000000000000000000000000000000AA` (validation always fails), and the dummy token `XXXX.DUMMY.TOKEN.XXXX`. The test secrets accept only the dummy token. Cloudflare answers a test key with the hostname `example.com`, so the config names that hostname. These secrets are public. A real secret still goes only into the environment, never into the config or a flag.
@@ -390,7 +422,7 @@ To record more in clear, give the route a rule of its own, as for the gateway ([
390
422
 
391
423
  A door receipt is a v0.2 receipt with `issuer.kind: "door"` and `issuer.framework: "http"` (`"authz"` when it answered a proxy's check, [below](#behind-nginx-or-envoy-authz-mode)). The route is the tool, observed. `request.args` is the arrival as the table above describes it, claimed. `facts.arrival` is the door's observation; `facts.partner`, when present, is a partner engine's signed verdict, attested ([above](#a-partner-engines-verdict)). When the arrival was verified by a grant, `principal` and `agent` are attested and `delegation` carries the grant. When it was verified by a signature alone, `principal` is `{ id: null, provenance: "claimed" }` and `agent` is the signature agent, observed. Otherwise `principal` is `{ id: null, provenance: "claimed" }` and `agent` is the subject, claimed. `execution.result` for a relayed call is `{ status, contentType?, bodyBytes, bodyDigest }`: the origin's body is never copied into the receipt, only committed to.
392
424
 
393
- The verifier runs `door receipt carries a policy decision` in place of the gateway's two checks, and otherwise the same checks: a verified arrival's receipt passes `delegation binds principal and agent` and `executed tool within delegated scope`; an unknown arrival's passes `principal is claimed, not attested`; a receipt that carries an `authorization` passes the authorization checks, including `authorization logged before execution`. Both verifiers, the Python verifier, and `policy simulate` accept door receipts; the conformance vectors `door-unknown-executed`, `door-unknown-denied`, and `door-verified-executed` pin them.
425
+ The verifier runs `door receipt carries a policy decision` in place of the gateway's two checks, and otherwise the same checks: a verified arrival's receipt passes `delegation binds principal and agent` and `executed tool within delegated scope`; an unknown arrival's passes `principal is claimed, not attested`; a receipt that carries an `authorization` passes the authorization checks, including `authorization logged before execution`. Both verifiers, the Python verifier, and `policy simulate` accept door receipts; the conformance vectors `door-unknown-executed`, `door-unknown-denied`, and `door-verified-executed` pin them. The `door-grant-*` vectors pin each passport the door may be shown: an expired grant, one signed by a key it does not trust, a revoked grant, a delegated grant (with `delegation chain to the principal`), and a delegated grant whose parent was revoked. Each one the door refuses is a claimed arrival whose receipt verifies with no delegation; the `resigned-door-grant-*` vectors paste the refused grant into the receipt as if the door had accepted it, and fail `delegation valid at receipt time` or `delegation signature (principal key)`.
394
426
 
395
427
  ## Behind nginx or Envoy: authz mode
396
428
 
@@ -426,7 +458,6 @@ A site that already runs nginx or Envoy need not send its traffic through the do
426
458
  - Check AP2 mandates.
427
459
  - Check every Web Bot Auth signature: Ed25519 only (no RSA-PSS or ECDSA), the components listed above only, no `Content-Digest`, no response signatures on the directory, and nonces in one process's memory. A signature agent must be listed in `agents`; the door does not fetch the directory of an origin it was not told about.
428
460
  - Challenge an arrival with a passkey. Turnstile and hCaptcha are the providers; see [challenging a human](#challenging-a-human).
429
- - Revoke a grant by a revocation list; a grant stands until it expires.
430
461
  - Bind a grant to its sender without a signature. A grant presented alone is bearer-grade; under its agent's Web Bot Auth signature it is bound: see [presenting a passport](#what-the-door-knows-about-an-arrival).
431
462
  - Stream a request body: the body is read whole, up to `maxBodyBytes`, so that the policy can read it and the receipt can commit to it.
432
463
  - Relay a response larger than `maxResponseBytes`, or stream one: the body is relayed whole so that its digest can be recorded. A larger one is not held: reading stops at the limit, the client gets 502, and the receipt records that the origin answered.
@@ -20,7 +20,7 @@ jobs:
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
22
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
23
- - uses: svayatta/agent-custody@<commit sha of the release> # 0.16.8
23
+ - uses: svayatta/agent-custody@<commit sha of the release> # 0.16.10
24
24
  with:
25
25
  path: .custody/receipts
26
26
  issuer-key: .custody/keys/agent.pub
@@ -37,7 +37,7 @@ Pin the action to the commit of a release, as you pin every other action. A movi
37
37
  | `principal-key` | the public key files of the principals whose grants a gateway receipt carries, one path on each line; SDK and Claude Code hook receipts need none | |
38
38
  | `log-url` | the URL of the log; the action fetches the log key from it (`verify --log-url`) | |
39
39
  | `log-id` | the id that every tree head must name (`verify --log-id`) | |
40
- | `version` | the `@agent-custody/receipts` version that `npx` runs | `0.16.8` |
40
+ | `version` | the `@agent-custody/receipts` version that `npx` runs | `0.16.10` |
41
41
  | `github-token` | a token that can write pull request comments; an empty value writes the job summary only | `github.token` |
42
42
  | `comment-author` | the login of the account that `github-token` posts as; the action edits only a comment from this account | `github-actions[bot]` |
43
43
 
@@ -53,7 +53,7 @@ Each row names the attacker, the move, the defence, and whether the defence is a
53
53
  | Rewrite a receipt after the fact | The receipt's envelope is signed by the gateway key, which the operator holds, so the signature alone does not stop this. What stops it is the log: the leaf hash of the original envelope is in a tree whose head the log signed, and a rewritten receipt has a different hash with no inclusion proof. | evidence, with a remote log; deployment, with a local log the operator can rewrite |
54
54
  | Drop a receipt | The log's tree only grows, and consistency proofs between any two heads show nothing was removed. A receipt the operator never logged never existed as evidence, which is the point of `precommit` for consequential calls: the authorization leaf goes in before the action. [Strict mode](usage.md#strict-mode) does that for every call, with a remote hash-only log and no outbox, and its receipts say so, so a verifier can require it; a modified gateway can still claim strict mode. | evidence for logged receipts; withheld calls for pre-committed tools, and for every call under strict mode |
55
55
  | Forge a receipt for an action that never happened | Nothing in the log stops the operator logging a fabricated receipt; the log commits to existence, not truth. What limits it: the upstream's signature over the result when the upstream signs, provider attestations where the provider delivers them, and the principal's signature on the grant. A forged receipt for a signing upstream fails its `upstream` checks. | evidence, where the upstream signs; otherwise the operator's word |
56
- | Act outside the gateway with the provider's own credentials | Nothing on the gateway's side sees it. `agent-custody completeness` lists the provider's objects with the auditor's own read-only key and reports each one that no verified receipt names; a forged receipt file fails verification and cannot cover for it. | evidence, for a provider that lists its objects (Stripe today) |
56
+ | Act outside the gateway with the provider's own credentials | Nothing on the gateway's side sees it. `agent-custody completeness` lists the provider's objects with the auditor's own read-only key and reports each one that no verified receipt names; a forged receipt file fails verification and cannot cover for it. | evidence, for a provider that lists its objects (Stripe and GitHub today) |
57
57
  | Replace the policy and claim a different one decided | The receipt carries the sha256 of the policy text; a verifier with the policy file can check it, and a policy change is a different digest in every later receipt. | evidence |
58
58
  | Produce a second, cleaner history | With a remote log, both histories would need heads signed by the log's key at the same size with different roots; the checkpoints host and the witness make that detectable. With a local log, a copy taken earlier by someone else is the only defence. | evidence with a witnessed remote log |
59
59
  | Erase what an agent believed | `forget` erases the value and leaves a digest keyed by a forget key held outside the ledger, so the erasure is provable without the value. A forget with `none` leaves nothing and the custody pack says so. | evidence |
package/docs/tutorials.md CHANGED
@@ -49,7 +49,7 @@ Suggested reading order is the numbering. Output lands in `examples-out/`, which
49
49
  | 37 | receipts on a pull request | [37-pr-summary.ts](../examples/37-pr-summary.ts) | two receipts from a gateway verify into one Markdown table (what `verify --markdown` and the GitHub Action post); one changed byte makes the table name the failed check; a directory with no receipt fails | `src/pr-summary.ts`, `action.yml` |
50
50
  | 38 | an incident replay | [38-incident-replay.ts](../examples/38-incident-replay.ts) | the same setup as `init claude-code --enforce`, in a temporary home; a scripted Claude Code session that runs the real hook command for each event: `terraform plan` runs and gets an executed receipt, `terraform destroy -auto-approve` and `rm -rf ~` are denied before they run, with the denial text and the receipt id; a reviewer with only the public key verifies all three receipts, and a stranger's key fails | `src/sdk/claude.ts`, `src/claude-init.ts`, `templates/claude-code.cedar` |
51
51
  | 39 | exporting receipts to a pull request | [39-export.ts](../examples/39-export.ts) | an agent works under a capture rule; `export` copies the two receipts that withhold their values, byte for byte, and refuses the one that records plain values; one changed byte makes it refuse a third | `src/export.ts`, `src/cli.ts` |
52
- | 40 | the door: a receipted reverse proxy in front of your own API | [40-door.ts](../examples/40-door.ts) | a stand-in shop behind the door; an unknown arrival reads the catalogue and is refused a refund; an agent with a grant signed by the shop's principal is verified and refunds within the policy, refused above it; a forged grant is claimed; the origin saw only what was allowed; both receipts verified | `src/door.ts`, `src/config.ts` |
52
+ | 40 | the door: a receipted reverse proxy in front of your own API | [40-door.ts](../examples/40-door.ts) | a stand-in shop behind the door; an unknown arrival reads the catalogue and is refused a refund; an agent with a grant signed by the shop's principal is verified and refunds within the policy, refused above it; a forged grant is claimed, and so is the grant once the shop revokes it, with no restart; the origin saw only what was allowed; both receipts verified | `src/door.ts`, `src/config.ts` |
53
53
  | 41 | the egress witness: a receipted forward proxy for calls around the gateway | [41-egress.ts](../examples/41-egress.ts) | a locked-down agent tries a direct call to a payment provider (CONNECT api.stripe.com:443) and the witness refuses it; an allowed tunnel to a stand-in docs mirror is relayed and recorded by destination and byte counts, never its contents; a connection with no proxy credential gets 407; the refusal's receipt verifies with the witness's key | `src/egress.ts`, `src/config.ts` |
54
54
  | 42 | a first egress policy from what the agents did in observe mode | [42-egress-draft.ts](../examples/42-egress-draft.ts) | the witness observes an agent reach a docs mirror three times and a paste site once; `egress draft-policy` verifies the receipts and drafts one permit with a count and first and last time per destination, under a warning that it permits everything the agent did; the review deletes the paste site, and the enforced policy relays the mirror and refuses the paste site | `src/egress-draft.ts` |
55
55
  | 43 | an OWASP ACS Guardian whose decisions land in a transparency log | [43-acs-guardian.ts](../examples/43-acs-guardian.ts) | a log runs under a key of its own; the ACS README's sample `steps/toolCallRequest` piped through `agent-custody acs` is allowed, its receipt carries the session's `chain_hash`, and it verifies offline with only the Guardian's and the log's public keys; in one session a read outside `/reports` is denied, a result for an allowed request passes, and a result for an unknown request is denied; a consistency proof shows the log after the deny extends the log that held the first decision (ACS issue #18, directions 1 and 3) | `src/acs.ts`, `src/config.ts` |
@@ -61,6 +61,9 @@ Suggested reading order is the numbering. Output lands in `examples-out/`, which
61
61
  | 49 | the door behind stock nginx or Envoy: authz checks instead of relaying | [49-door-authz.ts](../examples/49-door-authz.ts) | the door with `authz: true` answers checks as nginx `auth_request` sends them (`X-Original-Method`, `X-Original-URI`): a catalogue read 200 and an unknown refund 403; a verified agent's refund is committed to the log before the 200; a check that names no original request is refused 400 with no receipt; each receipt verifies and its report says it records the decision, not the origin's answer. `deploy/door/demo.sh` runs the real nginx and Envoy | `src/door.ts`, `src/config.ts` |
62
62
  | 50 | the refund pilot in one command: `init refunds`, then `--run` | [50-init-refunds.ts](../examples/50-init-refunds.ts) | keys, a grant, a refund policy and a Stripe gateway config written in one call; a test payment, an over-limit refund refused before Stripe, a refund through the gateway, a retry refused because the gateway finds the first refund, and the receipt verified, against a stand-in Stripe |
63
63
  | 52 | the door asks a partner detection engine, and the engine signs its verdict | [52-door-partner-verdict.ts](../examples/52-door-partner-verdict.ts) | a stub engine (`scripts/fake-partner.ts`) signs a verdict for each arrival's receipt and route; a browser's `human` verdict is relayed and a bot's refused by a policy on `context.facts.partner`; the receipt carries the verdict as an attested fact and verifies with the engine's key as an upstream key, and not without it; a verdict replayed from another arrival is refused with 503, and so is an arrival when the engine times out (`onFailure: "deny"`), even on a route the policy alone would allow | `src/door-partner.ts`, `src/door.ts` |
64
+ | 53 | completeness from the provider's side, for GitHub | [53-completeness-github.ts](../examples/53-completeness-github.ts) | two pull requests merged through a wrapped tool and a push made with another token; the auditor lists the repository's activity with a read-only token, matches the two merges to verified receipts, and reports the push as an action with no receipt |
65
+ | 54 | the form protector: one script tag puts the door's challenge in front of a plain HTML form | [54-door-form.ts](../examples/54-door-form.ts) | a static site's contact form behind the door; the door serves the script built from its challenge config, without the secret; a direct post with no token is refused and never reaches the site; a post with a passing token reaches it with the receipt id; both receipts verify |
66
+ | 55 | a grant that names its agent by a did:key, checked at the door | [55-did-key-grant.ts](../examples/55-did-key-grant.ts) | an agent's Ed25519 key and its did:key; a principal's grant for the did:key is verified at the door; a garbled did:key, and a grant whose agentKey is another key, are claimed; nothing presented is unknown; every receipt verifies |
64
67
 
65
68
  ## How policies are defined, in one paragraph
66
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-custody/receipts",
3
- "version": "0.16.8",
3
+ "version": "0.16.10",
4
4
  "mcpName": "io.github.svayatta/agent-custody",
5
5
  "description": "Proof of what your AI agents did. Give your agents real power, without losing control of them: signed, verifiable receipts for tool calls, an MCP gateway with Cedar or Rego policy, and a Merkle transparency log.",
6
6
  "license": "Apache-2.0",
@@ -7,26 +7,26 @@
7
7
  "description": "The tree head from the first remote receipt and the log's later head, with the proof the log served.",
8
8
  "older": {
9
9
  "payloadType": "application/vnd.agent-custody.treehead+json",
10
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMTljNGY5ZTk3ZTU3MzA0OTdkNzdiZGY3NzUxMDVjZjI0MmMzYTNiZTk0OTdhZmMxOGRlYzczNDFjY2RiNWE0ZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNjk4WiIsInRyZWVTaXplIjoxfQ==",
10
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNTk0ODY2Nzk3OWE1YTJiYjYxMWIzZmZhZmFlZWUyNjA3NzIzNmVlODllYjBiODhiZTg2NTkyZTVkYzA4NzExNiIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjM1WiIsInRyZWVTaXplIjoxfQ==",
11
11
  "signatures": [
12
12
  {
13
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
14
- "sig": "Wm2BAgvg3OyAyJHxlD7qZnacX8XvMb6jtj0xjal8FRphH4ZXGOKmXmGsx8Ht9y1sC2KzsYOL5FrROcBuFC3EDQ=="
13
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
14
+ "sig": "09rpIsaE6Yb+Tqw+NBpjdYCpbVCzxBEIooGgyL/pfW3Fr9+aH0lciEOYS9yl43xUIVcxdmR/rm5PgH9uTlQIAw=="
15
15
  }
16
16
  ]
17
17
  },
18
18
  "newer": {
19
19
  "payloadType": "application/vnd.agent-custody.treehead+json",
20
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiOTNiOWQ1YzVkZjA2MTY3NGZiYjQ4NTBjMTIzZTYyOGFkNWNlMDk2N2RiMjc1ZDJiMzcxYzEzZjVhNjAzZTRiNyIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNzAyWiIsInRyZWVTaXplIjoyfQ==",
20
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNjEyMzQ1YjYxMjQ0MGZjMTNiZWQ3YmY4ZDJlNWY1NjEwYjU0ZWM3ODc5YzU2NTM4ZjVmYjJjZTI4Y2UzMGIxOCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjQwWiIsInRyZWVTaXplIjoyfQ==",
21
21
  "signatures": [
22
22
  {
23
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
24
- "sig": "zZuXUe8k/MSWqi4NFOekkE+/1fPv3HD1ChcwO6uQJwVsb4vY+sb5TakOhwuu55gghJkjLidLs3kiyZOuH9KQBA=="
23
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
24
+ "sig": "pcFu8uYO6QbyRMiuotxyKCI/t0yP7AwCswX09liTtsxMQ41QYtc9rbCWCx297d9vhc5ra+tRwIVk8WbfxT9CAQ=="
25
25
  }
26
26
  ]
27
27
  },
28
28
  "proof": [
29
- "fc9d95a14c9864185b81ed3ec903210fd0e89fced42844373700ec3176cc1b5f"
29
+ "d4514abbe3128dbd47643fc861ee256ee890aadb9858e4e701ad9aa8101e8734"
30
30
  ],
31
31
  "keys": [
32
32
  "log"
@@ -41,26 +41,26 @@
41
41
  "description": "The same heads the wrong way round.",
42
42
  "older": {
43
43
  "payloadType": "application/vnd.agent-custody.treehead+json",
44
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiOTNiOWQ1YzVkZjA2MTY3NGZiYjQ4NTBjMTIzZTYyOGFkNWNlMDk2N2RiMjc1ZDJiMzcxYzEzZjVhNjAzZTRiNyIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNzAyWiIsInRyZWVTaXplIjoyfQ==",
44
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNjEyMzQ1YjYxMjQ0MGZjMTNiZWQ3YmY4ZDJlNWY1NjEwYjU0ZWM3ODc5YzU2NTM4ZjVmYjJjZTI4Y2UzMGIxOCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjQwWiIsInRyZWVTaXplIjoyfQ==",
45
45
  "signatures": [
46
46
  {
47
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
48
- "sig": "zZuXUe8k/MSWqi4NFOekkE+/1fPv3HD1ChcwO6uQJwVsb4vY+sb5TakOhwuu55gghJkjLidLs3kiyZOuH9KQBA=="
47
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
48
+ "sig": "pcFu8uYO6QbyRMiuotxyKCI/t0yP7AwCswX09liTtsxMQ41QYtc9rbCWCx297d9vhc5ra+tRwIVk8WbfxT9CAQ=="
49
49
  }
50
50
  ]
51
51
  },
52
52
  "newer": {
53
53
  "payloadType": "application/vnd.agent-custody.treehead+json",
54
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMTljNGY5ZTk3ZTU3MzA0OTdkNzdiZGY3NzUxMDVjZjI0MmMzYTNiZTk0OTdhZmMxOGRlYzczNDFjY2RiNWE0ZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNjk4WiIsInRyZWVTaXplIjoxfQ==",
54
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNTk0ODY2Nzk3OWE1YTJiYjYxMWIzZmZhZmFlZWUyNjA3NzIzNmVlODllYjBiODhiZTg2NTkyZTVkYzA4NzExNiIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjM1WiIsInRyZWVTaXplIjoxfQ==",
55
55
  "signatures": [
56
56
  {
57
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
58
- "sig": "Wm2BAgvg3OyAyJHxlD7qZnacX8XvMb6jtj0xjal8FRphH4ZXGOKmXmGsx8Ht9y1sC2KzsYOL5FrROcBuFC3EDQ=="
57
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
58
+ "sig": "09rpIsaE6Yb+Tqw+NBpjdYCpbVCzxBEIooGgyL/pfW3Fr9+aH0lciEOYS9yl43xUIVcxdmR/rm5PgH9uTlQIAw=="
59
59
  }
60
60
  ]
61
61
  },
62
62
  "proof": [
63
- "fc9d95a14c9864185b81ed3ec903210fd0e89fced42844373700ec3176cc1b5f"
63
+ "d4514abbe3128dbd47643fc861ee256ee890aadb9858e4e701ad9aa8101e8734"
64
64
  ],
65
65
  "keys": [
66
66
  "log"
@@ -77,26 +77,26 @@
77
77
  "description": "Tree heads checked against the app key, which did not sign them.",
78
78
  "older": {
79
79
  "payloadType": "application/vnd.agent-custody.treehead+json",
80
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMTljNGY5ZTk3ZTU3MzA0OTdkNzdiZGY3NzUxMDVjZjI0MmMzYTNiZTk0OTdhZmMxOGRlYzczNDFjY2RiNWE0ZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNjk4WiIsInRyZWVTaXplIjoxfQ==",
80
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNTk0ODY2Nzk3OWE1YTJiYjYxMWIzZmZhZmFlZWUyNjA3NzIzNmVlODllYjBiODhiZTg2NTkyZTVkYzA4NzExNiIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjM1WiIsInRyZWVTaXplIjoxfQ==",
81
81
  "signatures": [
82
82
  {
83
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
84
- "sig": "Wm2BAgvg3OyAyJHxlD7qZnacX8XvMb6jtj0xjal8FRphH4ZXGOKmXmGsx8Ht9y1sC2KzsYOL5FrROcBuFC3EDQ=="
83
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
84
+ "sig": "09rpIsaE6Yb+Tqw+NBpjdYCpbVCzxBEIooGgyL/pfW3Fr9+aH0lciEOYS9yl43xUIVcxdmR/rm5PgH9uTlQIAw=="
85
85
  }
86
86
  ]
87
87
  },
88
88
  "newer": {
89
89
  "payloadType": "application/vnd.agent-custody.treehead+json",
90
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiOTNiOWQ1YzVkZjA2MTY3NGZiYjQ4NTBjMTIzZTYyOGFkNWNlMDk2N2RiMjc1ZDJiMzcxYzEzZjVhNjAzZTRiNyIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNzAyWiIsInRyZWVTaXplIjoyfQ==",
90
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNjEyMzQ1YjYxMjQ0MGZjMTNiZWQ3YmY4ZDJlNWY1NjEwYjU0ZWM3ODc5YzU2NTM4ZjVmYjJjZTI4Y2UzMGIxOCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjQwWiIsInRyZWVTaXplIjoyfQ==",
91
91
  "signatures": [
92
92
  {
93
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
94
- "sig": "zZuXUe8k/MSWqi4NFOekkE+/1fPv3HD1ChcwO6uQJwVsb4vY+sb5TakOhwuu55gghJkjLidLs3kiyZOuH9KQBA=="
93
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
94
+ "sig": "pcFu8uYO6QbyRMiuotxyKCI/t0yP7AwCswX09liTtsxMQ41QYtc9rbCWCx297d9vhc5ra+tRwIVk8WbfxT9CAQ=="
95
95
  }
96
96
  ]
97
97
  },
98
98
  "proof": [
99
- "fc9d95a14c9864185b81ed3ec903210fd0e89fced42844373700ec3176cc1b5f"
99
+ "d4514abbe3128dbd47643fc861ee256ee890aadb9858e4e701ad9aa8101e8734"
100
100
  ],
101
101
  "keys": [
102
102
  "app"
@@ -114,21 +114,21 @@
114
114
  "description": "A proof with a hash removed.",
115
115
  "older": {
116
116
  "payloadType": "application/vnd.agent-custody.treehead+json",
117
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiMTljNGY5ZTk3ZTU3MzA0OTdkNzdiZGY3NzUxMDVjZjI0MmMzYTNiZTk0OTdhZmMxOGRlYzczNDFjY2RiNWE0ZCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNjk4WiIsInRyZWVTaXplIjoxfQ==",
117
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNTk0ODY2Nzk3OWE1YTJiYjYxMWIzZmZhZmFlZWUyNjA3NzIzNmVlODllYjBiODhiZTg2NTkyZTVkYzA4NzExNiIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjM1WiIsInRyZWVTaXplIjoxfQ==",
118
118
  "signatures": [
119
119
  {
120
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
121
- "sig": "Wm2BAgvg3OyAyJHxlD7qZnacX8XvMb6jtj0xjal8FRphH4ZXGOKmXmGsx8Ht9y1sC2KzsYOL5FrROcBuFC3EDQ=="
120
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
121
+ "sig": "09rpIsaE6Yb+Tqw+NBpjdYCpbVCzxBEIooGgyL/pfW3Fr9+aH0lciEOYS9yl43xUIVcxdmR/rm5PgH9uTlQIAw=="
122
122
  }
123
123
  ]
124
124
  },
125
125
  "newer": {
126
126
  "payloadType": "application/vnd.agent-custody.treehead+json",
127
- "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiOTNiOWQ1YzVkZjA2MTY3NGZiYjQ4NTBjMTIzZTYyOGFkNWNlMDk2N2RiMjc1ZDJiMzcxYzEzZjVhNjAzZTRiNyIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMTlUMTg6MDE6MTcuNzAyWiIsInRyZWVTaXplIjoyfQ==",
127
+ "payload": "eyJsb2ciOiJ2ZWN0b3JzLWxvZyIsInJvb3RIYXNoIjoiNjEyMzQ1YjYxMjQ0MGZjMTNiZWQ3YmY4ZDJlNWY1NjEwYjU0ZWM3ODc5YzU2NTM4ZjVmYjJjZTI4Y2UzMGIxOCIsInRpbWVzdGFtcCI6IjIwMjYtMTEtMjBUMDg6NTM6MjEuMjQwWiIsInRyZWVTaXplIjoyfQ==",
128
128
  "signatures": [
129
129
  {
130
- "keyid": "0f3bcaecd05529b2c3110da1c99a673dc55ad22a7e5d60ebdb1c42b5ce151c01",
131
- "sig": "zZuXUe8k/MSWqi4NFOekkE+/1fPv3HD1ChcwO6uQJwVsb4vY+sb5TakOhwuu55gghJkjLidLs3kiyZOuH9KQBA=="
130
+ "keyid": "ba6c99933ce63ec99027e664e231fffb2ceedbb3dfb1cf5830229975519f4e35",
131
+ "sig": "pcFu8uYO6QbyRMiuotxyKCI/t0yP7AwCswX09liTtsxMQ41QYtc9rbCWCx297d9vhc5ra+tRwIVk8WbfxT9CAQ=="
132
132
  }
133
133
  ]
134
134
  },
@@ -53,18 +53,18 @@
53
53
  }
54
54
  ],
55
55
  "keyid": {
56
- "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA+GNfC94+QIXyufaVfrMAdVSo4VC/b+/gSHMvk1VeObE=\n-----END PUBLIC KEY-----\n",
57
- "keyid": "6c6d6643bbe3cdb2a980cbefa5140855c13fcacf6de00d33d6e5c0f790d00e56"
56
+ "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKutlWxLGMibvD6QC5P3ySwdoj3dTbnnTJv6h4H9c6UM=\n-----END PUBLIC KEY-----\n",
57
+ "keyid": "8a0ddc62d79325ce14cb2364809ba26cf23aaadb43c801c08c024095641dd5ea"
58
58
  },
59
59
  "dsse": {
60
- "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA+GNfC94+QIXyufaVfrMAdVSo4VC/b+/gSHMvk1VeObE=\n-----END PUBLIC KEY-----\n",
60
+ "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKutlWxLGMibvD6QC5P3ySwdoj3dTbnnTJv6h4H9c6UM=\n-----END PUBLIC KEY-----\n",
61
61
  "envelope": {
62
62
  "payloadType": "application/vnd.example+json",
63
63
  "payload": "eyJoZWxsbyI6IndvcmxkIn0=",
64
64
  "signatures": [
65
65
  {
66
- "keyid": "6c6d6643bbe3cdb2a980cbefa5140855c13fcacf6de00d33d6e5c0f790d00e56",
67
- "sig": "KlFH/YMB4oauSD7XDte5HB+j6XubTDcE6amF5rP8V1j7thBpdBLW/ckqC13crLHm2ndXLEgqGZZv557/GlKNDQ=="
66
+ "keyid": "8a0ddc62d79325ce14cb2364809ba26cf23aaadb43c801c08c024095641dd5ea",
67
+ "sig": "koGAXdbp9D5Gtx5wRjwwqaeHgAAZ6bkDp31EWsen170aL8ojO75grgexCkxjfP0kpKha6kdNhv55cxNc2ZbKCg=="
68
68
  }
69
69
  ]
70
70
  },