@atep/core 0.1.0-alpha.4 → 0.1.0-alpha.5
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/README.md +9 -9
- package/dist/wasm/atep_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ ATEP is a quantum-safe trust layer for robots and AI agents. Every signature and
|
|
|
4
4
|
|
|
5
5
|
> **Experimental alpha. Do not rely on this to protect anything of value.** There has been no independent security audit. The wire format may change between releases (the COSE labels are private-use values and the media types are unregistered), and the post-quantum crates underneath are young. "Quantum-safe" means finalized NIST algorithms (FIPS 203 and FIPS 204) in a hybrid construction; it does not mean audited or proven.
|
|
6
6
|
|
|
7
|
-
`@atep/core` is the ATEP reference core (Draft
|
|
7
|
+
`@atep/core` is the ATEP reference core (Draft 09, `ATEP-1` suite, including `retired`, `successor`, anchors and domain binding) for JavaScript: the Rust
|
|
8
8
|
`atep-core` crate compiled to WebAssembly, with a TypeScript API. One ESM
|
|
9
9
|
package for Node, Bun, Deno and browsers, no framework and no runtime
|
|
10
10
|
dependencies.
|
|
@@ -183,16 +183,16 @@ Types are in `dist/index.d.ts`.
|
|
|
183
183
|
|
|
184
184
|
### Runtimes
|
|
185
185
|
|
|
186
|
-
What was run
|
|
186
|
+
What was run against the built `dist/`, with the same vector checks and the roundtrip tests:
|
|
187
187
|
|
|
188
188
|
| Runtime | How | Result |
|
|
189
189
|
| --- | --- | --- |
|
|
190
|
-
| Node 25 | `npm test` |
|
|
191
|
-
| Deno 2.9.7 | `deno test -A test/` | all vector checks
|
|
192
|
-
| Bun 1.4.2 | `bun test test/` |
|
|
193
|
-
| Chromium 131 (headless shell, Playwright) | `node scripts/browser-vectors.mjs` (needs `playwright-core`, see the header of the script) | the vector checks
|
|
190
|
+
| Node 25 | `npm test` | 538 tests: 517 pass, 21 skipped by name (the 20 `log-admission` and 1 `monitor` vectors); in CI on every push |
|
|
191
|
+
| Deno 2.9.7 | `deno test -A test/` | all 441 vector checks that apply pass, 5 skipped by name, and the roundtrip tests pass; in CI on every push (pinned release binary) |
|
|
192
|
+
| Bun 1.4.2 | `bun test test/` | 451 tests: 446 pass, 5 skipped by name, 0 fail; in CI on every push (pinned release binary) |
|
|
193
|
+
| Chromium 131 (headless shell, Playwright) | `node scripts/browser-vectors.mjs` (needs `playwright-core`, see the header of the script) | the vector checks ran in the page on 3 October 2026, when the suite had 437 vectors: 432 pass, 5 skipped by name, 0 fail; manual, not in CI and not re-run on the current suite |
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
The Node, Deno and Bun results were first obtained on a Linux development machine (Ubuntu 20.04 under WSL) and are now also produced by the CI of the repository.
|
|
196
196
|
|
|
197
197
|
Notes:
|
|
198
198
|
|
|
@@ -246,12 +246,12 @@ Node 25 on the development machine (WSL2), average over 50 to 100 calls after wa
|
|
|
246
246
|
|
|
247
247
|
`npm test` (node:test) runs, under Node, through the built package:
|
|
248
248
|
|
|
249
|
-
* `test/vectors.test.mjs`: every vector listed in `../vectors/manifest.json`: **
|
|
249
|
+
* `test/vectors.test.mjs`: every vector listed in `../vectors/manifest.json`: **512 passed + 21 skipped = 533**.
|
|
250
250
|
The first 200 (identity, signing, encryption, verify-positive/negative, attestation, chain-positive/negative,
|
|
251
251
|
srl, log, atep-r-positive/negative, retired-positive/negative, successor-positive/negative, srl-context,
|
|
252
252
|
log-admission, monitor) and the 236 of Draft 05: checkpoint-hash 9, anchor-record 36, chain-id 30,
|
|
253
253
|
anchor-envelope 13, anchor-media-type 3, require-anchor 27, anchor-not-supported 9, registry-endpoint 26,
|
|
254
|
-
domain-binding
|
|
254
|
+
domain-binding 94. The 21 skipped are named and counted in the summary: `log-admission` (20) and `monitor` (1),
|
|
255
255
|
because they need a stateful log or a monitor, which this package does not have. Each vector is checked for
|
|
256
256
|
CBOR hash, JSON view equality with the vector's `.json` (a vector whose `.json` says `not_strict_cbor` has no
|
|
257
257
|
view, and the runner only accepts a failing view for those), and by category: exact bytes for identity,
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atep/core",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"description": "ATEP (Autonomy Trust Envelope Protocol) core: the Rust atep-core compiled to WebAssembly, with a TypeScript API for Node, Bun, Deno and browsers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|