@agent-blueprint-protocol/verifier 0.8.0 → 0.8.2
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/CHANGELOG.md +152 -2
- package/README.md +45 -19
- package/dist/corpus/cases/signature-verify.json +1 -1
- package/dist/corpus/index.json +1 -1
- package/dist/release-metadata.json +1 -1
- package/dist/verifier/runner.js +29 -2
- package/dist/verifier/signature.d.ts +9 -0
- package/dist/verifier/signature.js +53 -7
- package/package.json +2 -1
- package/dist/verifier/self_checks.d.ts +0 -1
- package/dist/verifier/self_checks.js +0 -449
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,156 @@
|
|
|
2
2
|
|
|
3
3
|
All notable public changes to `agent_blueprint_protocol` are documented here.
|
|
4
4
|
|
|
5
|
+
## [0.8.2] — 2026-11-05
|
|
6
|
+
|
|
7
|
+
### Fixed — documentation
|
|
8
|
+
|
|
9
|
+
- Correction to an earlier entry: bare `npx agent-blueprint-protocol` and
|
|
10
|
+
`npx verifier` work only where `@agent-blueprint-protocol/verifier` is
|
|
11
|
+
installed. Elsewhere, npx looks the bare name up on the public registry,
|
|
12
|
+
where it is not this project's. Use `npx @agent-blueprint-protocol/verifier`.
|
|
13
|
+
- The post-publish check runs `npx --no-install verifier`, so it can never
|
|
14
|
+
fetch the unrelated npm package named `verifier`.
|
|
15
|
+
|
|
16
|
+
### Added — documentation
|
|
17
|
+
|
|
18
|
+
- A Livebook walkthrough, `docs/livebooks/abp-walkthrough.livemd`,
|
|
19
|
+
shipped in the package and on HexDocs. It installs the package from
|
|
20
|
+
Hex, composes and signs a Blueprint, negotiates extensions, binds a
|
|
21
|
+
Deployment Manifest, reconciles the pair, runs the shipped corpus, and
|
|
22
|
+
shows each denial: a tampered signature, the wrong key, an unknown
|
|
23
|
+
`key_id`, a small-order key, an edited member, non-canonical bytes,
|
|
24
|
+
and the strict R and S rule. The test suite runs every cell in order
|
|
25
|
+
and compares each result with the output printed in the notebook.
|
|
26
|
+
- The README opens with a first-verification example, and the
|
|
27
|
+
TypeScript guide with an import example; the README example runs in
|
|
28
|
+
the guide mirror test, and the TypeScript one runs against the kit
|
|
29
|
+
as npm packs it (installed from the `npm pack` tarball) in a new
|
|
30
|
+
quality step, `mix typescript.guide`, which the doc-gates workflow also
|
|
31
|
+
runs.
|
|
32
|
+
|
|
33
|
+
### Changed — documentation
|
|
34
|
+
|
|
35
|
+
- The CI workflows' GitHub Action pins move with their dependabot bumps
|
|
36
|
+
(`actions/setup-node` v7.1.0, `actions/upload-pages-artifact` v5.0.0,
|
|
37
|
+
`actions/deploy-pages` v5.0.1); the toolchain lockstep test's pinned
|
|
38
|
+
setup-node identity moves with them. No workflow inputs changed.
|
|
39
|
+
- npm kit commands in the README, the TypeScript guide, and the landing
|
|
40
|
+
page stay unpinned, with a line saying npx runs the latest published
|
|
41
|
+
kit and how to check its version (a kit release goes live after a
|
|
42
|
+
maintainer approves its staged publish). The documentation-currency
|
|
43
|
+
gate requires the README's npm commands to stay unpinned.
|
|
44
|
+
- The document-citation gate now checks the guides under
|
|
45
|
+
`documentation/` and the Livebook (it skipped directory entries
|
|
46
|
+
before), and the version gate scans the Livebook.
|
|
47
|
+
- Corrected guide statements: the Deployment binding check has six
|
|
48
|
+
ordered stages, not three; the echo example has 16 members (the table
|
|
49
|
+
has 18); the kit has four modes and two bin names; the error guide
|
|
50
|
+
lists the `{:ceiling, key}` decoder-limit family; SECURITY.md names
|
|
51
|
+
the Security tab's **Report a vulnerability** form; the battery lists
|
|
52
|
+
in the README, CONTRIBUTING.md, and the operations guide name every
|
|
53
|
+
step; the evidence-commitments guide cites the AI Act articles it
|
|
54
|
+
relies on (12, 25(4), and 26) and points to Regulation (EU) 2026/1744,
|
|
55
|
+
which moved the high-risk application dates.
|
|
56
|
+
- The release-candidate reprove turns off git's automatic maintenance in
|
|
57
|
+
its scratch repositories, as does the privacy gate's throwaway
|
|
58
|
+
repository. From git 2.54, `git commit` starts a detached repack that
|
|
59
|
+
keeps writing into `.git` after the command returns; on hosted CI
|
|
60
|
+
(git 2.55) it raced the scratch cleanup and failed the check with
|
|
61
|
+
`could not remove files and directories recursively ... file already
|
|
62
|
+
exists`. A new architecture test requires every script or test that
|
|
63
|
+
commits in a scratch repository to set `maintenance.auto` false.
|
|
64
|
+
- Removed duplicated sentences from eighteen module docs. The comments
|
|
65
|
+
on small-order keys in `Signature` and the TypeScript verifier now say
|
|
66
|
+
exactly what the backends accept: under the identity key, R = identity
|
|
67
|
+
with S = 0 verifies for every message; under the all-zero key, the
|
|
68
|
+
all-zero signature verifies for about one message in four.
|
|
69
|
+
- The errata table's release boundaries now name the recording date
|
|
70
|
+
instead of a concrete version ("every release published before
|
|
71
|
+
2026-10-13 that ships this specification"), so each row stays true and
|
|
72
|
+
gate-clean at every later release without rewording. The corrections'
|
|
73
|
+
substance is unchanged; the specification digest moves with the
|
|
74
|
+
rewording (the digest covers the whole extracted specification,
|
|
75
|
+
errata included), which is recorded in the release history;
|
|
76
|
+
`verification_semantics_version` stays 1.
|
|
77
|
+
|
|
78
|
+
This is a documentation-only release; the public API, the registry, and
|
|
79
|
+
the corpus are unchanged from 0.8.1, and `spec/protocol.md` is
|
|
80
|
+
byte-identical. The test suite is 957 tests (63 properties) at 100%
|
|
81
|
+
coverage. Corpus: 129 cases, digest
|
|
82
|
+
`sha-256:WOZcBfvCW88L6TG_66vxG1fw0QN8cCXrJxveqHgI8a4`; registry
|
|
83
|
+
`sha-256:FG2f38K0hba8tTP7iUaw7vHjgcnN_5F5Mp0v4G6UDVs`; specification
|
|
84
|
+
digest `sha-256:aBgeih79woOR7YmJ_OBhyFgKU0j2euO-eieJKxLVDeA`.
|
|
85
|
+
|
|
86
|
+
## [0.8.1] — 2026-10-14
|
|
87
|
+
|
|
88
|
+
### Fixed
|
|
89
|
+
|
|
90
|
+
- Strict Ed25519 signature checks: reject small-order or non-canonical
|
|
91
|
+
R and S >= L before verification. `Signature.verify/2` now holds the
|
|
92
|
+
signature's R to the same point rule as the trusted key (canonical
|
|
93
|
+
encoding, on the curve, not small-order) and requires S below the
|
|
94
|
+
group order, before the cryptographic backend is called, so the
|
|
95
|
+
verdict no longer depends on the backend's own checks. These
|
|
96
|
+
rejections deny with the existing `:signature_not_verified`; the
|
|
97
|
+
error vocabulary is unchanged.
|
|
98
|
+
- The npm verifier kit applies the same strict rule before
|
|
99
|
+
`node:crypto`. Its public-key check also carried a mistyped digit in
|
|
100
|
+
the curve constant d, so it rejected about half of all honest Ed25519
|
|
101
|
+
public keys with `signature_algorithm_unsupported` where the Elixir
|
|
102
|
+
verifier verifies them; the constant is corrected and re-derived from
|
|
103
|
+
the curve definition in the kit's self-checks.
|
|
104
|
+
|
|
105
|
+
- The npm verifier kit's key-object cache (one parsed key per raw
|
|
106
|
+
public key) is bounded at 256 entries, evicting the oldest; it grew
|
|
107
|
+
without limit before.
|
|
108
|
+
- The npm tarball no longer ships `dist/verifier/self_checks.*`: the
|
|
109
|
+
repo-side self-check battery reads `verifier/testdata/`, which never
|
|
110
|
+
shipped, so the packed copy could not run. The kit's documented
|
|
111
|
+
commands (the bin over the embedded corpus, `--corpus`, `--artifact`,
|
|
112
|
+
and the importable modules) are unchanged.
|
|
113
|
+
|
|
114
|
+
### Changed — corpus and specification
|
|
115
|
+
|
|
116
|
+
- The conformance corpus grows from 96 to 129 cases, all on
|
|
117
|
+
`signature.verify`. Signature-rule cases: R = the identity with
|
|
118
|
+
S = k*a under an honest key (built by the key holder), each of the
|
|
119
|
+
eight small-order R encodings, five non-canonical R encodings, S = L,
|
|
120
|
+
S = L - 1, and the honest S + L, plus a valid signature under a
|
|
121
|
+
second honest key. Key-rule cases: each of the eight small-order
|
|
122
|
+
keys, a y = p key, an off-curve key, a 31-byte key, a `key_id` with
|
|
123
|
+
no supplied key, the identity key with R = [r]B and S = r (which the
|
|
124
|
+
backend's equation alone accepts), a zero key with an all-zero
|
|
125
|
+
signature, a small-order key with a malformed two-byte signature body
|
|
126
|
+
(envelope parsing comes first: `signature_malformed`), and an unusable
|
|
127
|
+
key beside a good one. Every case whose
|
|
128
|
+
signature decodes to 64 bytes also pins `expected.strict_signature`,
|
|
129
|
+
the strict rule's verdict on those bytes, and both verifiers'
|
|
130
|
+
runners compare their own rule to it, so the agreement sees each
|
|
131
|
+
clause of the rule even where the backend rejects the same bytes.
|
|
132
|
+
Both verifiers agree on every case. The prior censuses (94 cases,
|
|
133
|
+
0.3.0 through 0.5.0; 96 cases, 0.6.0 through 0.8.0) both replay as
|
|
134
|
+
`equivalent`; `verification_semantics_version` stays 1.
|
|
135
|
+
- `spec/protocol.md` §6 states the strict R and S rule normatively and
|
|
136
|
+
the exact order of the checks (envelope parsing, then the key facts,
|
|
137
|
+
then the signature rule, then the equation) and that a matched key
|
|
138
|
+
not exactly 32 bytes long is unusable, and two statements now match
|
|
139
|
+
the implementation:
|
|
140
|
+
the signing input is the RFC 7797 input `BASE64URL(JCS(protected))
|
|
141
|
+
|| "." || JCS(signed_attributes)`, and a matched key that is not
|
|
142
|
+
usable Ed25519 (small-order included) denies
|
|
143
|
+
`signature_algorithm_unsupported` (`signature_key_unsupported` is
|
|
144
|
+
only for a `key_id` with no supplied key). Both corrections are
|
|
145
|
+
recorded in `spec/errata.md`, as is the `spec/protocol.md` §5 separator table, which
|
|
146
|
+
now lists the extension-schema and extension-registry separators. The conformance
|
|
147
|
+
mutation gate breaks the implementation at seventeen named points.
|
|
148
|
+
|
|
149
|
+
The public API and the registry are unchanged. The test suite is 951
|
|
150
|
+
tests (63 properties) at 100% coverage. Corpus: 129 cases, digest
|
|
151
|
+
`sha-256:WOZcBfvCW88L6TG_66vxG1fw0QN8cCXrJxveqHgI8a4`; registry
|
|
152
|
+
`sha-256:FG2f38K0hba8tTP7iUaw7vHjgcnN_5F5Mp0v4G6UDVs`; specification
|
|
153
|
+
digest `sha-256:CsVC7jVvA2ZP0NA6D5_h94A_ryb6F795h7ZpSo66CBA`.
|
|
154
|
+
|
|
5
155
|
## [0.8.0] — 2026-09-24
|
|
6
156
|
|
|
7
157
|
### Added — the release-identity consumer contract
|
|
@@ -58,10 +208,10 @@ All notable public changes to `agent_blueprint_protocol` are documented here.
|
|
|
58
208
|
`no-versioning-rule` axis amendment (precedence: the wire revision,
|
|
59
209
|
the semantics version, and the release identity are independent
|
|
60
210
|
axes). Answering an inbound consumer request for input
|
|
61
|
-
(
|
|
211
|
+
(an exact-pinned consumer, 2026-09-23) in full.
|
|
62
212
|
- `docs/consumer-evidence.md` (repository-level, deliberately NOT
|
|
63
213
|
shipped): the unverified third-party consumer-rehearsal lane, its
|
|
64
|
-
first entry reserved for
|
|
214
|
+
first entry reserved for an exact-pinned consumer's rehearsal.
|
|
65
215
|
|
|
66
216
|
The correction the record now states plainly: the 0.6.0 corpus change
|
|
67
217
|
was not purely additive at the byte level — the golden vectors' fixture
|
package/README.md
CHANGED
|
@@ -31,13 +31,32 @@ and evidence retention.
|
|
|
31
31
|
```elixir
|
|
32
32
|
def deps do
|
|
33
33
|
[
|
|
34
|
-
{:agent_blueprint_protocol, "~> 0.8.
|
|
34
|
+
{:agent_blueprint_protocol, "~> 0.8.2"}
|
|
35
35
|
]
|
|
36
36
|
end
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
The package has **zero production dependencies**, no application callback, and
|
|
40
|
-
no supervision tree.
|
|
40
|
+
no supervision tree. It requires Elixir 1.19 or newer on OTP 27, 28, or 29.
|
|
41
|
+
|
|
42
|
+
## A first verification
|
|
43
|
+
|
|
44
|
+
From a checkout of this repository (or with the example file fetched as
|
|
45
|
+
the [quickstart](documentation/quickstart.md) shows), decode the example
|
|
46
|
+
Blueprint, then watch a value that is not a Blueprint get a typed denial:
|
|
47
|
+
|
|
48
|
+
```elixir
|
|
49
|
+
bytes = File.read!("examples/echo-blueprint.json")
|
|
50
|
+
{:ok, blueprint} = AgentBlueprintProtocol.decode_blueprint(bytes)
|
|
51
|
+
AgentBlueprintProtocol.canonical_bytes(blueprint) == {:ok, bytes} # => true
|
|
52
|
+
{:ok, other} = AgentBlueprintProtocol.Canonicalization.encode({:object, [{"a", {:integer, 1}}]})
|
|
53
|
+
AgentBlueprintProtocol.decode_blueprint(other) # => {:error, :unknown_member}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
The quickstart runs this from a new Mix project, and the
|
|
57
|
+
[Livebook walkthrough](docs/livebooks/abp-walkthrough.livemd)
|
|
58
|
+
goes end to end: compose, sign, negotiate, reconcile, and the attacks that
|
|
59
|
+
fail closed.
|
|
41
60
|
|
|
42
61
|
## Installation (TypeScript)
|
|
43
62
|
|
|
@@ -51,6 +70,8 @@ npx @agent-blueprint-protocol/verifier # verify the embed
|
|
|
51
70
|
npx @agent-blueprint-protocol/verifier --artifact <file.json> # verify one artifact
|
|
52
71
|
```
|
|
53
72
|
|
|
73
|
+
npx runs the latest published kit; `npm view @agent-blueprint-protocol/verifier version` shows which.
|
|
74
|
+
|
|
54
75
|
See the [TypeScript quickstart](documentation/typescript.md) and the
|
|
55
76
|
[examples gallery](documentation/examples.md).
|
|
56
77
|
|
|
@@ -98,7 +119,7 @@ Semantics:
|
|
|
98
119
|
(canonical, digest, negotiation, structure, portability, signatures, bind,
|
|
99
120
|
bounds), reject-or-annotate, never repair, under host-supplied inputs.
|
|
100
121
|
|
|
101
|
-
Tooling: `mix conformance.verify` executes the shipped
|
|
122
|
+
Tooling: `mix conformance.verify` executes the shipped 129-case corpus;
|
|
102
123
|
`mix conformance.mutations` re-proves the corpus catches named implementation
|
|
103
124
|
breaks; `mix verifier.agreement` byte-agrees the Elixir runner with the
|
|
104
125
|
independent TypeScript verifier; `mix compatibility.replay` certifies the
|
|
@@ -109,9 +130,9 @@ against its tags' actual trees.
|
|
|
109
130
|
## Status
|
|
110
131
|
|
|
111
132
|
The protocol API, schemas, canonicalization profile, extension registry,
|
|
112
|
-
and conformance corpus are implemented and gated:
|
|
113
|
-
(
|
|
114
|
-
Credo clean, a
|
|
133
|
+
and conformance corpus are implemented and gated: 957 tests
|
|
134
|
+
(63 properties) at 100% coverage, zero Dialyzer errors, `--strict`
|
|
135
|
+
Credo clean, a 129-case conformance corpus with a mutation gate, and a
|
|
115
136
|
byte-agreement gate against an independent second-language verifier.
|
|
116
137
|
The normative specification, [`spec/protocol.md`](spec/protocol.md),
|
|
117
138
|
ships in the Hex archive. The full gate battery and every gate's
|
|
@@ -159,17 +180,21 @@ mix deps.get
|
|
|
159
180
|
mix quality
|
|
160
181
|
```
|
|
161
182
|
|
|
162
|
-
`mix quality` runs dependency audits
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
183
|
+
`mix quality` runs dependency audits (retirement, the unused-lock-entry
|
|
184
|
+
check `deps.unlock --check-unused`, advisories, and dependency
|
|
185
|
+
currency), formatting, warnings-as-errors compilation, Credo,
|
|
186
|
+
tests with the 100% coverage threshold, the conformance corpus and its
|
|
187
|
+
mutation gate, the npm kit build, the TypeScript guide's import example,
|
|
188
|
+
the second-language verifier agreement gate, the compatibility replay, Dialyzer, documentation with
|
|
189
|
+
warnings-as-errors, the specification-extraction, grammar-derivation,
|
|
190
|
+
registry-equality, and release-asset gates, and the release-candidate
|
|
191
|
+
check (requirement-map completeness, specification coupling, and the
|
|
192
|
+
release identity chain). Every gate carries a recorded red proof — see the requirement map at
|
|
168
193
|
`docs/design/requirement-map.md` in this repository.
|
|
169
194
|
|
|
170
195
|
### Conformance corpus
|
|
171
196
|
|
|
172
|
-
The package ships a portable conformance corpus (`priv/conformance/`) —
|
|
197
|
+
The package ships a portable conformance corpus (`priv/conformance/`) — 129
|
|
173
198
|
cases covering every required cell of the 16-surface × 31-class applicability
|
|
174
199
|
floor, full-registry golden artifacts, RFC 8785 number vectors, and
|
|
175
200
|
deterministic Ed25519 fixtures. Run it:
|
|
@@ -200,11 +225,11 @@ compatibility, and federation semantics. Run it:
|
|
|
200
225
|
```bash
|
|
201
226
|
node verifier/cli.ts --corpus priv/conformance # exit 0/1/2, report bytes on stdout
|
|
202
227
|
node verifier/self_checks.ts # RFC 8785 Appendix B, window matrix,
|
|
203
|
-
|
|
204
|
-
mix verifier.agreement
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
228
|
+
# Ed25519 keys, stored JOSE vectors
|
|
229
|
+
mix verifier.agreement # byte-agrees the TS report with the
|
|
230
|
+
# escript's (repo AND built archive),
|
|
231
|
+
# runs the self-checks, and proves its
|
|
232
|
+
# seeded reds (planted breaks) fire
|
|
208
233
|
```
|
|
209
234
|
|
|
210
235
|
The agreement gate is part of `mix quality`: the two implementations must
|
|
@@ -217,7 +242,8 @@ Every guide ships in the package and renders on HexDocs:
|
|
|
217
242
|
|
|
218
243
|
- Start here: [getting started](documentation/getting-started.md) ·
|
|
219
244
|
[quickstart](documentation/quickstart.md) ·
|
|
220
|
-
[TypeScript quickstart](documentation/typescript.md)
|
|
245
|
+
[TypeScript quickstart](documentation/typescript.md) ·
|
|
246
|
+
[Livebook walkthrough](docs/livebooks/abp-walkthrough.livemd)
|
|
221
247
|
- Concepts: [what a blueprint is](documentation/what-a-blueprint-is.md) ·
|
|
222
248
|
[what a deployment is](documentation/what-a-deployment-is.md) ·
|
|
223
249
|
[portability](documentation/portability.md) ·
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"cases":[{"class":"signature_invalid","expected":{"code":"signature_not_verified","verdict":"invalid"},"id":"signature-verify-invalid","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"A1bvuW63s-bBVKEU_hsBf6MuXXMRpem8NUVPZnOcAgdOhGcUbY1iiDaPRQ4oY5tdVEoaM5djU8t8DkgUQMEoDw\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:i00DDjOo--JV1uVfU5E5gsaot7RhnVmqyXNkOdJU2vY\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_constraint","expected":{"code":"signature_malformed","verdict":"invalid"},"id":"signature-verify-invalid-constraint","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"kid\":\"corpus-key\"},\"signature\":\"AAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_encoding","expected":{"code":"signature_malformed","verdict":"invalid"},"id":"signature-verify-invalid-encoding","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"!!!\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"tamper_meaningful_byte","expected":{"code":"signature_not_verified","verdict":"invalid"},"id":"signature-verify-tamper-byte","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AgJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify","tamper":{"base_case":"signature-verify-valid","byte_index":88,"target":"input.entry","xor":30}},{"class":"valid","expected":{"verdict":"valid","verified":true},"id":"signature-verify-valid","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"}],"format":"agent-blueprint-protocol-conformance-cases"}
|
|
1
|
+
{"cases":[{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-identity-key-forgery","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"F_-tgGjcDemTXTZjbzrRtd5t40E7EjiORTsF8qTB09sVzVsHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-invalid","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"A1bvuW63s-bBVKEU_hsBf6MuXXMRpem8NUVPZnOcAgdOhGcUbY1iiDaPRQ4oY5tdVEoaM5djU8t8DkgUQMEoDw\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:i00DDjOo--JV1uVfU5E5gsaot7RhnVmqyXNkOdJU2vY\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_constraint","expected":{"code":"signature_malformed","verdict":"invalid"},"id":"signature-verify-invalid-constraint","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"kid\":\"corpus-key\"},\"signature\":\"AAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_encoding","expected":{"code":"signature_malformed","verdict":"invalid"},"id":"signature-verify-invalid-encoding","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"!!!\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-non-canonical-key-y-equals-p","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"7f_______________________________________38","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-non-canonical-r-identity-sign-set","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICshxXE_aE55Mw7Pp962RJ1N4d6xKKiQh4JAbyendtxAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-non-canonical-r-order-2-sign-set","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"7P________________________________________-R9chBhN2G9W7w-L11GDG01UhIJVBaOZYgQGW5dJ-ICA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-non-canonical-r-y-all-ones","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_________________________________________39KrWH-7ltyCAg9ymgGZl1gN82CNIZIKWBfnR_Jri8BBg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-non-canonical-r-y-equals-p","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"7f_______________________________________3-NtBunUOODBPTBjB19bjL5I7BxkQEyXSohm15IkKDmBA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-non-canonical-r-y-equals-p-plus-1","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"7v_______________________________________3_VOnASqlJiFWNKt2WgnA2P6QNt4yqqUmjqRcizghu0AA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-off-curve-key","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"1_CYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-s-equals-l","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jft0_VcGmMSWNac96Le-d4UAAAAAAAAAAAAAAAAAAAAEA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-s-equals-l-minus-1","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jfs0_VcGmMSWNac96Le-d4UAAAAAAAAAAAAAAAAAAAAEA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-s-plus-l","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdPRj0sJqg3bSSrkVE_fLu63DjxUxRtRFFmfCaN4ffGGg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_encoding","expected":{"code":"invalid_type","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-short-key","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-identity","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-2","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"7P_______________________________________38","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-4-sign-clear","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-4-sign-set","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-8-a","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"xxdqcD1N2E-6PAt2DRBnDyogU_osOczGTsf9d5KsA3o","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-8-b","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"xxdqcD1N2E-6PAt2DRBnDyogU_osOczGTsf9d5KsA_o","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-8-c","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"JuiVj8KyJ7BFw_SJ8u-Y8NXfrAXTxjM5sTgCiG1T_AU","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-small-order-key-order-8-d","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"JuiVj8KyJ7BFw_SJ8u-Y8NXfrAXTxjM5sTgCiG1T_IU","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"invalid_encoding","expected":{"code":"signature_malformed","verdict":"invalid"},"id":"signature-verify-small-order-key-short-signature","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"valid","expected":{"strict_signature":true,"verdict":"valid","verified":true},"id":"signature-verify-small-order-key-then-good-key","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"},{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-identity","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACduZbyhlwFPDkaXd7tuTrmQZJ48z9OxrmVfphgDUB1Aw\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-2","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"7P_______________________________________3-5VDtbUfPgrC5bdQqNgRSTvloBr3In6hHtddZqBQWlBA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-4-sign-clear","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAmANTadQ9DJ5T9cQ_z4B3r1aWiB3kMn_G5FuZASMOCw\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-4-sign-set","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIDhwjmVkp1dKfTlf1iEVbRzR8zlPC-pGKpRCcrrk3gsCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-8-a","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"xxdqcD1N2E-6PAt2DRBnDyogU_osOczGTsf9d5KsA3qg0_p7MHWY15kvAE7EgcDkJQV7F7R-bhdSBunGwwhTDg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-8-b","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"xxdqcD1N2E-6PAt2DRBnDyogU_osOczGTsf9d5KsA_oEu0DJETRhQjEXItvikieGNsftp091TdhKNrYHwy1NAQ\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-8-c","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"JuiVj8KyJ7BFw_SJ8u-Y8NXfrAXTxjM5sTgCiG1T_AXz-R_ZqHYz2wbHOCh_ZfGOTUoSCU7yMINiMJxdvfPcAw\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_not_verified","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-small-order-r-order-8-d","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"JuiVj8KyJ7BFw_SJ8u-Y8NXfrAXTxjM5sTgCiG1T_IXnOaSuEV4-75QQ3Rx6Xk-BH7LfUgizqs-CS4Rb-ZFKBQ\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"tamper_meaningful_byte","expected":{"code":"signature_not_verified","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-tamper-byte","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AgJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify","tamper":{"base_case":"signature-verify-valid","byte_index":88,"target":"input.entry","xor":30}},{"class":"signature_invalid","expected":{"code":"signature_key_unsupported","strict_signature":true,"verdict":"invalid"},"id":"signature-verify-unmatched-key-id","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"other-key"}]},"surface":"signature.verify"},{"class":"valid","expected":{"strict_signature":true,"verdict":"valid","verified":true},"id":"signature-verify-valid","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"_gJua7tg97_p17RYZdSMO1VJxZWiZT5aEXrPW7RU9jdickfPC0UlFU4Omq5ggtyl3DjxUxRtRFFmfCaN4ffGCg\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"WQlgThEsdw5vUa2NVjfSdZrpBIFONIpzbSNCHMVpZKI","key_id":"corpus-key"}]},"surface":"signature.verify"},{"class":"valid","expected":{"strict_signature":true,"verdict":"valid","verified":true},"id":"signature-verify-valid-second-key","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key-3\"},\"signature\":\"uvLNNnIKxqS3SaTBP2j2zyov0Sl59LGFqOs9tY-FkrXEHEGII1aqx75XFi3AZJ-Bvf2w2cT5_b7cs9Mcv6vTDA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key-3\",\"purpose\":\"deployment\"}}","keys":[{"key":"BSsjBi9jUfomqrHmyknMFchKsLA5wMxnewJW3SHGa4U","key_id":"corpus-key-3"}]},"surface":"signature.verify"},{"class":"signature_invalid","expected":{"code":"signature_algorithm_unsupported","strict_signature":false,"verdict":"invalid"},"id":"signature-verify-zero-key-zero-signature","input":{"entry":"{\"protected\":{\"alg\":\"EdDSA\",\"b64\":false,\"crit\":[\"b64\"],\"kid\":\"corpus-key\"},\"signature\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"signed_attributes\":{\"algorithm\":\"Ed25519\",\"content_digest\":\"sha-256:lSNm0cD67wEL0uy3EFDCBe3TA5FzvO6iCL0W0Db8HMo\",\"created_at\":\"2026-08-23T00:00:00Z\",\"key_id\":\"corpus-key\",\"purpose\":\"deployment\"}}","keys":[{"key":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","key_id":"corpus-key"}]},"surface":"signature.verify"}],"format":"agent-blueprint-protocol-conformance-cases"}
|