@agent-blueprint-protocol/verifier 0.7.1 → 0.8.1
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 +148 -0
- package/README.md +45 -8
- package/dist/corpus/cases/signature-verify.json +1 -1
- package/dist/corpus/index.json +1 -1
- package/dist/kit/cli.mjs +2 -1
- package/dist/release-metadata.json +1 -0
- package/dist/verifier/cli.js +10 -4
- package/dist/verifier/corpus.d.ts +1 -0
- package/dist/verifier/corpus.js +63 -2
- package/dist/verifier/runner.js +29 -2
- package/dist/verifier/signature.d.ts +9 -0
- package/dist/verifier/signature.js +48 -5
- package/package.json +2 -1
- package/dist/verifier/self_checks.d.ts +0 -1
- package/dist/verifier/self_checks.js +0 -316
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,154 @@
|
|
|
2
2
|
|
|
3
3
|
All notable public changes to `agent_blueprint_protocol` are documented here.
|
|
4
4
|
|
|
5
|
+
## [0.8.1] — 2026-10-14
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Strict Ed25519 signature checks: reject small-order or non-canonical
|
|
10
|
+
R and S >= L before verification. `Signature.verify/2` now holds the
|
|
11
|
+
signature's R to the same point rule as the trusted key (canonical
|
|
12
|
+
encoding, on the curve, not small-order) and requires S below the
|
|
13
|
+
group order, before the cryptographic backend is called, so the
|
|
14
|
+
verdict no longer depends on the backend's own checks. These
|
|
15
|
+
rejections deny with the existing `:signature_not_verified`; the
|
|
16
|
+
error vocabulary is unchanged.
|
|
17
|
+
- The npm verifier kit applies the same strict rule before
|
|
18
|
+
`node:crypto`. Its public-key check also carried a mistyped digit in
|
|
19
|
+
the curve constant d, so it rejected about half of all honest Ed25519
|
|
20
|
+
public keys with `signature_algorithm_unsupported` where the Elixir
|
|
21
|
+
verifier verifies them; the constant is corrected and re-derived from
|
|
22
|
+
the curve definition in the kit's self-checks.
|
|
23
|
+
|
|
24
|
+
- The npm verifier kit's key-object cache (one parsed key per raw
|
|
25
|
+
public key) is bounded at 256 entries, evicting the oldest; it grew
|
|
26
|
+
without limit before.
|
|
27
|
+
- The npm tarball no longer ships `dist/verifier/self_checks.*`: the
|
|
28
|
+
repo-side self-check battery reads `verifier/testdata/`, which never
|
|
29
|
+
shipped, so the packed copy could not run. The kit's documented
|
|
30
|
+
commands (the bin over the embedded corpus, `--corpus`, `--artifact`,
|
|
31
|
+
and the importable modules) are unchanged.
|
|
32
|
+
|
|
33
|
+
### Changed — corpus and specification
|
|
34
|
+
|
|
35
|
+
- The conformance corpus grows from 96 to 129 cases, all on
|
|
36
|
+
`signature.verify`. Signature-rule cases: R = the identity with
|
|
37
|
+
S = k*a under an honest key (built by the key holder), each of the
|
|
38
|
+
eight small-order R encodings, five non-canonical R encodings, S = L,
|
|
39
|
+
S = L - 1, and the honest S + L, plus a valid signature under a
|
|
40
|
+
second honest key. Key-rule cases: each of the eight small-order
|
|
41
|
+
keys, a y = p key, an off-curve key, a 31-byte key, a `key_id` with
|
|
42
|
+
no supplied key, the identity key with R = [r]B and S = r (which the
|
|
43
|
+
backend's equation alone accepts), a zero key with an all-zero
|
|
44
|
+
signature, a small-order key with a malformed two-byte signature body
|
|
45
|
+
(envelope parsing comes first: `signature_malformed`), and an unusable
|
|
46
|
+
key beside a good one. Every case whose
|
|
47
|
+
signature decodes to 64 bytes also pins `expected.strict_signature`,
|
|
48
|
+
the strict rule's verdict on those bytes, and both verifiers'
|
|
49
|
+
runners compare their own rule to it, so the agreement sees each
|
|
50
|
+
clause of the rule even where the backend rejects the same bytes.
|
|
51
|
+
Both verifiers agree on every case. The prior censuses (94 cases,
|
|
52
|
+
0.3.0 through 0.5.0; 96 cases, 0.6.0 through 0.8.0) both replay as
|
|
53
|
+
`equivalent`; `verification_semantics_version` stays 1.
|
|
54
|
+
- `spec/protocol.md` §6 states the strict R and S rule normatively and
|
|
55
|
+
the exact order of the checks (envelope parsing, then the key facts,
|
|
56
|
+
then the signature rule, then the equation) and that a matched key
|
|
57
|
+
not exactly 32 bytes long is unusable, and two statements now match
|
|
58
|
+
the implementation:
|
|
59
|
+
the signing input is the RFC 7797 input `BASE64URL(JCS(protected))
|
|
60
|
+
|| "." || JCS(signed_attributes)`, and a matched key that is not
|
|
61
|
+
usable Ed25519 (small-order included) denies
|
|
62
|
+
`signature_algorithm_unsupported` (`signature_key_unsupported` is
|
|
63
|
+
only for a `key_id` with no supplied key). Both corrections are
|
|
64
|
+
recorded in `spec/errata.md`, as is the `spec/protocol.md` §5 separator table, which
|
|
65
|
+
now lists the extension-schema and extension-registry separators. The conformance
|
|
66
|
+
mutation gate breaks the implementation at seventeen named points.
|
|
67
|
+
|
|
68
|
+
The public API and the registry are unchanged. The test suite is 951
|
|
69
|
+
tests (63 properties) at 100% coverage. Corpus: 129 cases, digest
|
|
70
|
+
`sha-256:WOZcBfvCW88L6TG_66vxG1fw0QN8cCXrJxveqHgI8a4`; registry
|
|
71
|
+
`sha-256:FG2f38K0hba8tTP7iUaw7vHjgcnN_5F5Mp0v4G6UDVs`; specification
|
|
72
|
+
digest `sha-256:CsVC7jVvA2ZP0NA6D5_h94A_ryb6F795h7ZpSo66CBA`.
|
|
73
|
+
|
|
74
|
+
## [0.8.0] — 2026-09-24
|
|
75
|
+
|
|
76
|
+
### Added — the release-identity consumer contract
|
|
77
|
+
|
|
78
|
+
- `priv/release-metadata.json` is now a versioned public contract
|
|
79
|
+
(`manifest_version: 2`; additive-only within a version). New fields:
|
|
80
|
+
the manifest version, `verification_semantics_version` (the
|
|
81
|
+
semantics/census split — unchanged at 1), the `digest_identity` label
|
|
82
|
+
(RFC 8785 JCS + SHA-256 + domain separation + unpadded base64url —
|
|
83
|
+
unchanged across every release), `protocol_revisions_supported`, the
|
|
84
|
+
certified compatibility matrix `prior_census_verdicts` (the prior
|
|
85
|
+
census `sha-256:sg6Fo7…` is certified `equivalent` by replay), and
|
|
86
|
+
the verifier-kit identity derived from `package.json`. The npm kit
|
|
87
|
+
embeds the manifest byte-identically (agreement-gated).
|
|
88
|
+
- `priv/release-history.json`: the append-only retroactive mapping —
|
|
89
|
+
one row per manifest-era release, every PRIOR release's row verified
|
|
90
|
+
against derived state (the corpus digest recomputed from the loaded
|
|
91
|
+
census bytes, the registry digest from the census index, the
|
|
92
|
+
specification digest recomputed over the tag's tree); the current
|
|
93
|
+
release's row is asserted against the live manifest and gains its
|
|
94
|
+
tag verification at the next release. Semantics version 1 spans the
|
|
95
|
+
whole manifest era through this release: the prior census replays
|
|
96
|
+
case-perfect (observed under the preceding package on 2026-09-23;
|
|
97
|
+
this release's gate re-establishes it mechanically on every run), so
|
|
98
|
+
exact-pinned consumers upgrading between any of these releases keep
|
|
99
|
+
historical replays green when they bind the semantics identity. The record also shows the specification
|
|
100
|
+
digest moved at 0.4.0 and 0.4.1 — movement the changelog prose of
|
|
101
|
+
those releases never stated.
|
|
102
|
+
- `mix compatibility.replay` (quality battery): certifies the
|
|
103
|
+
compatibility claims and the history from live repository state —
|
|
104
|
+
every manifest-era census loads through the new prior-census loader
|
|
105
|
+
mode and replays under the current Runner (each PRIOR census also
|
|
106
|
+
through the TS verifier, byte-compared; the current census's TS
|
|
107
|
+
agreement is the verifier.agreement gate's duty); an
|
|
108
|
+
`equivalent` claim with any disagreement reds, a registry-explained
|
|
109
|
+
divergence class is gated by the registry diff, an unclaimed census,
|
|
110
|
+
stale claim, or tampered history row reds, and a tag-less checkout
|
|
111
|
+
refuses (a named override exists and is never a green claim).
|
|
112
|
+
Self-proving seeded reds fire every run: four claim flips (including
|
|
113
|
+
a self-contradictory `not_equivalent` claim), a tampered census file,
|
|
114
|
+
a tampered history row, and both tag-absent refusal arms. The prior-census loader mode
|
|
115
|
+
(`Corpus.load_prior_census/1`, mirrored in the TS verifier's
|
|
116
|
+
`--prior-corpus`) suspends exactly the two current-state couplings —
|
|
117
|
+
the compiled registry digest and the compiled applicability floor —
|
|
118
|
+
because a released census was certified against the registry and
|
|
119
|
+
floor of its release; the ordinary loader's couplings are unchanged
|
|
120
|
+
and correct for conformance runs.
|
|
121
|
+
- The Evolution clause gains the normative semantics/census law and the
|
|
122
|
+
immutability policy (released identities are never edited in place;
|
|
123
|
+
corrections are new releases); the upgrading guide gains the
|
|
124
|
+
exact-pinned consumer partition — replay identity versus provenance
|
|
125
|
+
metadata — and the fail-closed enumeration guidance; the decision
|
|
126
|
+
record `docs/adr/release-identity-semantics.md` ships with the
|
|
127
|
+
`no-versioning-rule` axis amendment (precedence: the wire revision,
|
|
128
|
+
the semantics version, and the release identity are independent
|
|
129
|
+
axes). Answering an inbound consumer request for input
|
|
130
|
+
(an exact-pinned consumer, 2026-09-23) in full.
|
|
131
|
+
- `docs/consumer-evidence.md` (repository-level, deliberately NOT
|
|
132
|
+
shipped): the unverified third-party consumer-rehearsal lane, its
|
|
133
|
+
first entry reserved for an exact-pinned consumer's rehearsal.
|
|
134
|
+
|
|
135
|
+
The correction the record now states plainly: the 0.6.0 corpus change
|
|
136
|
+
was not purely additive at the byte level — the golden vectors' fixture
|
|
137
|
+
signature rotated on unchanged covered bytes (`content_digest`
|
|
138
|
+
identical), verdict-neutral and replay-proven, but the 0.6.0 entry's
|
|
139
|
+
"grows 94 → 96" prose under-recorded it.
|
|
140
|
+
|
|
141
|
+
The public-history privacy scan's budget grows with the repository
|
|
142
|
+
(the scan is O(tracked files × commits)); its ceiling moves 960s →
|
|
143
|
+
1920s on the same evidence as every prior raise — a borderline clip on
|
|
144
|
+
this release's tree, a timeout there being a flake, never a privacy
|
|
145
|
+
finding.
|
|
146
|
+
|
|
147
|
+
The test suite is 924 tests (59 properties) at 100% coverage. Corpus:
|
|
148
|
+
96 cases, digest
|
|
149
|
+
`sha-256:vMyREM8ggUqVvGG0y2e4Gf-KmpksJjnx2eF8UjtpVP8`; registry
|
|
150
|
+
`sha-256:FG2f38K0hba8tTP7iUaw7vHjgcnN_5F5Mp0v4G6UDVs`; specification
|
|
151
|
+
digest `sha-256:yC0gV-zIn8J8bXI5gV0dQyPmgEQgVsH6k7YOlkis37Q`.
|
|
152
|
+
|
|
5
153
|
## [0.7.1] — 2026-09-16
|
|
6
154
|
|
|
7
155
|
### Changed — the toolchain enforces itself (hygiene release)
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Agent Blueprint Protocol is a portable, non-authorizing contract for describing
|
|
|
8
8
|
an agent capability and binding one immutable release to an execution
|
|
9
9
|
environment.
|
|
10
10
|
|
|
11
|
-
The public package is the reference implementation for
|
|
11
|
+
The public package is the reference implementation for three
|
|
12
12
|
language-neutral artifacts:
|
|
13
13
|
|
|
14
14
|
- **Blueprint Core** — stable identity, typed ports, logical capability
|
|
@@ -16,6 +16,11 @@ language-neutral artifacts:
|
|
|
16
16
|
- **Deployment Manifest** — environment-local tool, principal, data,
|
|
17
17
|
authority, effect, evaluation, and exact-build bindings for one Blueprint
|
|
18
18
|
release digest.
|
|
19
|
+
- **Federation TaskEnvelope** — the cross-protocol task record: 23 members
|
|
20
|
+
carrying task identity, terminal state, and signed terminal commitments
|
|
21
|
+
over A2A and MCP transports, with receipt-equivocation denial. The
|
|
22
|
+
blueprint rides IN those transports; the envelope is how a task's
|
|
23
|
+
verifiable record travels between them.
|
|
19
24
|
|
|
20
25
|
Protocol validity never grants authority. A consuming host remains responsible
|
|
21
26
|
for identity, tenancy, policy, live authorization, effect ownership, execution,
|
|
@@ -26,7 +31,7 @@ and evidence retention.
|
|
|
26
31
|
```elixir
|
|
27
32
|
def deps do
|
|
28
33
|
[
|
|
29
|
-
{:agent_blueprint_protocol, "~> 0.
|
|
34
|
+
{:agent_blueprint_protocol, "~> 0.8.1"}
|
|
30
35
|
]
|
|
31
36
|
end
|
|
32
37
|
```
|
|
@@ -93,23 +98,33 @@ Semantics:
|
|
|
93
98
|
(canonical, digest, negotiation, structure, portability, signatures, bind,
|
|
94
99
|
bounds), reject-or-annotate, never repair, under host-supplied inputs.
|
|
95
100
|
|
|
96
|
-
Tooling: `mix conformance.verify` executes the shipped
|
|
101
|
+
Tooling: `mix conformance.verify` executes the shipped 129-case corpus;
|
|
97
102
|
`mix conformance.mutations` re-proves the corpus catches named implementation
|
|
98
103
|
breaks; `mix verifier.agreement` byte-agrees the Elixir runner with the
|
|
99
|
-
independent TypeScript verifier.
|
|
104
|
+
independent TypeScript verifier; `mix compatibility.replay` certifies the
|
|
105
|
+
release's compatibility claims — every prior release's census replays under
|
|
106
|
+
the current verifier in both languages, and the release history verifies
|
|
107
|
+
against its tags' actual trees.
|
|
100
108
|
|
|
101
109
|
## Status
|
|
102
110
|
|
|
103
111
|
The protocol API, schemas, canonicalization profile, extension registry,
|
|
104
|
-
and conformance corpus are implemented and gated:
|
|
105
|
-
(
|
|
106
|
-
Credo clean, a
|
|
112
|
+
and conformance corpus are implemented and gated: 951 tests
|
|
113
|
+
(63 properties) at 100% coverage, zero Dialyzer errors, `--strict`
|
|
114
|
+
Credo clean, a 129-case conformance corpus with a mutation gate, and a
|
|
107
115
|
byte-agreement gate against an independent second-language verifier.
|
|
108
116
|
The normative specification, [`spec/protocol.md`](spec/protocol.md),
|
|
109
117
|
ships in the Hex archive. The full gate battery and every gate's
|
|
110
118
|
recorded red proof are public in this repository under
|
|
111
119
|
[`docs/design/requirement-map.md`](https://github.com/baselabs/agent_blueprint_protocol/blob/main/docs/design/requirement-map.md).
|
|
112
120
|
|
|
121
|
+
Since 0.8.0 the release identity is a versioned public contract: the
|
|
122
|
+
manifest (`manifest_version`, additive-only) splits verification
|
|
123
|
+
semantics from census, certifies the compatibility matrix per prior
|
|
124
|
+
census, and the append-only release history maps every release — so
|
|
125
|
+
exact-pinned consumers upgrade pins without breaking historical
|
|
126
|
+
replays ([upgrading guide](documentation/upgrading.md)).
|
|
127
|
+
|
|
113
128
|
The 0.x series is the public pre-1.0 line: shipped contracts may
|
|
114
129
|
change within 0.x under pre-1.0 conventions, and every contract change
|
|
115
130
|
lands with a red-capable test.
|
|
@@ -154,7 +169,7 @@ coupling). Every gate carries a recorded red proof — see the requirement map a
|
|
|
154
169
|
|
|
155
170
|
### Conformance corpus
|
|
156
171
|
|
|
157
|
-
The package ships a portable conformance corpus (`priv/conformance/`) —
|
|
172
|
+
The package ships a portable conformance corpus (`priv/conformance/`) — 129
|
|
158
173
|
cases covering every required cell of the 16-surface × 31-class applicability
|
|
159
174
|
floor, full-registry golden artifacts, RFC 8785 number vectors, and
|
|
160
175
|
deterministic Ed25519 fixtures. Run it:
|
|
@@ -196,6 +211,28 @@ The agreement gate is part of `mix quality`: the two implementations must
|
|
|
196
211
|
produce byte-identical JCS reports over the same corpus, and node ≥ 24 is a
|
|
197
212
|
hard prerequisite of the gate.
|
|
198
213
|
|
|
214
|
+
## Documentation
|
|
215
|
+
|
|
216
|
+
Every guide ships in the package and renders on HexDocs:
|
|
217
|
+
|
|
218
|
+
- Start here: [getting started](documentation/getting-started.md) ·
|
|
219
|
+
[quickstart](documentation/quickstart.md) ·
|
|
220
|
+
[TypeScript quickstart](documentation/typescript.md)
|
|
221
|
+
- Concepts: [what a blueprint is](documentation/what-a-blueprint-is.md) ·
|
|
222
|
+
[what a deployment is](documentation/what-a-deployment-is.md) ·
|
|
223
|
+
[portability](documentation/portability.md) ·
|
|
224
|
+
[federation](documentation/federation.md)
|
|
225
|
+
- By role: [producing artifacts](documentation/producer.md) ·
|
|
226
|
+
[authoring extensions](documentation/extension-author.md) ·
|
|
227
|
+
[host integration](documentation/host-integration.md) ·
|
|
228
|
+
[operations](documentation/operations.md)
|
|
229
|
+
- Reference: [the 74-code error guide](documentation/errors.md) ·
|
|
230
|
+
[evidence commitments](documentation/evidence-commitments.md) ·
|
|
231
|
+
[the extension registry](documentation/registry.md) ·
|
|
232
|
+
[upgrading and stability](documentation/upgrading.md) ·
|
|
233
|
+
[FAQ](documentation/faq.md) · [examples](documentation/examples.md)
|
|
234
|
+
- The normative contract: [`spec/protocol.md`](spec/protocol.md)
|
|
235
|
+
|
|
199
236
|
## Security
|
|
200
237
|
|
|
201
238
|
See [`SECURITY.md`](SECURITY.md). A successful verifier result is
|
|
@@ -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"}
|