@sanning/proof 0.4.0 → 0.4.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/LICENSE +0 -0
- package/README.md +1 -1
- package/dist/agent-proof.d.ts +0 -0
- package/dist/agent-proof.js +0 -0
- package/dist/cli.d.ts +0 -0
- package/dist/cli.js +1 -1
- package/dist/compose.d.ts +0 -0
- package/dist/compose.js +0 -0
- package/dist/crypto.d.ts +0 -0
- package/dist/crypto.js +0 -0
- package/dist/evidence.d.ts +0 -0
- package/dist/evidence.js +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/merkle.d.ts +0 -0
- package/dist/merkle.js +0 -0
- package/dist/types.d.ts +0 -0
- package/dist/types.js +0 -0
- package/dist/verifier.d.ts +0 -0
- package/dist/verifier.js +0 -0
- package/package.json +1 -1
- package/src/agent-proof.ts +0 -0
- package/src/cli.ts +1 -1
- package/src/compose.ts +0 -0
- package/src/crypto.ts +0 -0
- package/src/evidence.ts +1 -1
- package/src/index.ts +0 -0
- package/src/merkle.ts +0 -0
- package/src/types.ts +0 -0
- package/src/verifier.ts +0 -0
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ contentHashes(env); // all content hashes an envelope commits to, by event typ
|
|
|
53
53
|
|
|
54
54
|
## Verify a whole trace bundle — one command
|
|
55
55
|
|
|
56
|
-
The `@
|
|
56
|
+
The `@sanning/anchor` SDK hands a producer a set of `InclusionReceipt`s and can serialize them into one portable, self-verifying `sanning.evidence/v1` bundle (`body_type: sanning.anchor.trace/v1`). Verify the entire bundle — every event's signature + payload binding + Merkle inclusion, all offline — with the bundled CLI:
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
59
|
npx @sanning/proof verify trace-bundle.json
|
package/dist/agent-proof.d.ts
CHANGED
|
File without changes
|
package/dist/agent-proof.js
CHANGED
|
File without changes
|
package/dist/cli.d.ts
CHANGED
|
File without changes
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// npx @sanning/proof verify <bundle.json> [comma,sep,gateways]
|
|
3
3
|
//
|
|
4
4
|
// One turnkey verifier for both producer bundles in the stack:
|
|
5
|
-
// - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @
|
|
5
|
+
// - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @sanning/anchor SDK trace
|
|
6
6
|
// - sanning.agent.proof/v1 — the agent inclusion proof
|
|
7
7
|
// Dispatch is by sniffed spec_version; no flag tells the CLI which it is.
|
|
8
8
|
//
|
package/dist/compose.d.ts
CHANGED
|
File without changes
|
package/dist/compose.js
CHANGED
|
File without changes
|
package/dist/crypto.d.ts
CHANGED
|
File without changes
|
package/dist/crypto.js
CHANGED
|
File without changes
|
package/dist/evidence.d.ts
CHANGED
|
File without changes
|
package/dist/evidence.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// A `sanning.evidence/v1` bundle is a SIGNED wrapper around a producer-specific
|
|
4
4
|
// `body`. This module verifies the `sanning.anchor.trace/v1` body — the
|
|
5
|
-
// @
|
|
5
|
+
// @sanning/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
|
|
6
6
|
// (per-event signed envelopes + their checkpoints + RFC 9162 inclusion proofs).
|
|
7
7
|
//
|
|
8
8
|
// The algorithm is the kernel discipline applied one level up (evidence-bundle
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/merkle.d.ts
CHANGED
|
File without changes
|
package/dist/merkle.js
CHANGED
|
File without changes
|
package/dist/types.d.ts
CHANGED
|
File without changes
|
package/dist/types.js
CHANGED
|
File without changes
|
package/dist/verifier.d.ts
CHANGED
|
File without changes
|
package/dist/verifier.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanning/proof",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "TypeScript kernel of the Sanning verification stack: RFC 8785 (JCS) canonicalization, SHA-256, and Ed25519 verification for Verifiable Event Envelopes. Full-family verifier (inline + external commitment); accepts sanning.agent/v1, sanning.mlflow/v1, sanning.events/v1. Conformance-gated byte-for-byte against the test-vectors corpus.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/agent-proof.ts
CHANGED
|
File without changes
|
package/src/cli.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// npx @sanning/proof verify <bundle.json> [comma,sep,gateways]
|
|
3
3
|
//
|
|
4
4
|
// One turnkey verifier for both producer bundles in the stack:
|
|
5
|
-
// - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @
|
|
5
|
+
// - sanning.evidence/v1 (body sanning.anchor.trace/v1) — the @sanning/anchor SDK trace
|
|
6
6
|
// - sanning.agent.proof/v1 — the agent inclusion proof
|
|
7
7
|
// Dispatch is by sniffed spec_version; no flag tells the CLI which it is.
|
|
8
8
|
//
|
package/src/compose.ts
CHANGED
|
File without changes
|
package/src/crypto.ts
CHANGED
|
File without changes
|
package/src/evidence.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//
|
|
3
3
|
// A `sanning.evidence/v1` bundle is a SIGNED wrapper around a producer-specific
|
|
4
4
|
// `body`. This module verifies the `sanning.anchor.trace/v1` body — the
|
|
5
|
-
// @
|
|
5
|
+
// @sanning/anchor SDK trace: a self-verifying serialization of InclusionReceipt[]
|
|
6
6
|
// (per-event signed envelopes + their checkpoints + RFC 9162 inclusion proofs).
|
|
7
7
|
//
|
|
8
8
|
// The algorithm is the kernel discipline applied one level up (evidence-bundle
|
package/src/index.ts
CHANGED
|
File without changes
|
package/src/merkle.ts
CHANGED
|
File without changes
|
package/src/types.ts
CHANGED
|
File without changes
|
package/src/verifier.ts
CHANGED
|
File without changes
|